Hi everyone, I try to convert an XML file to a HTML page but nothing is displayed. in the following, i put the XML code, the xslt code and the HTML page. Thank you for your help.
the XML code
<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="fg.xsl"?><cuimodel><windowid='window1'><div><labelid='label1'> searchPreference </label><labelid='label12'> seeFirst </label><comboboxid='CB1'name='criteriaCB'><item>promotions</item><item>BestRated </item></combobox></div><div><labelid='label2'> mon </label><labelid='label21'> second </label><comboboxid='CB2'name='DispLayout'><item>GridLayout</item><item>listlayout</item></combobox></div><div><labelid='label13'> Preference </label><labelid='label122'> see </label><comboboxid='CB3'name='CT'><item>HighContrast</item><item>LowContrast</item></combobox></div><button>cancel</button><button>ok</button></window></cuimodel>
transform an XML file into a HTML page
in XSLT/XSL-FO
Posted
Hi everyone, I try to convert an XML file to a HTML page but nothing is displayed. in the following, i put the XML code, the xslt code and the HTML page. Thank you for your help.
the XML code
the XSLT code
and the HTML page