How to reference XSL style sheet into XML file in VB.NET?
I am trying to declare the “XSL style sheet reference" to XML file that My VB.NET application is creating at run time.
This is the XSL reference which should go to the header of the XML file
<?xml-stylesheet type=text/xsl href=filename.xsl?>
ds.writexml(filename)
Will produce something like this
="1.0" encoding="ISO-8859-1"?>
<catalog>
<cd>
<title>Empire Burlesque</title>
<artist>Bob Dylan</artist>
<country>USA</country>
<company>Columbia</company>
<price>10.90</price>
<year>1985</year>
</cd>
.
..
</catalog>
I want to reference the XSL file into the header of the previous file.
Something looks like this
="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet type="text/xsl" href="cdcatalog.xsl"?>
<catalog>
<cd>
<title>Empire Burlesque</title>
<artist>Bob Dylan</artist>
<country>USA</country>
<company>Columbia</company>
<price>10.90</price>
<year>1985</year>
</cd>
.
..
</catalog>

