Toby Newman
Usenet Archive
- Joined
- Jul 8, 2003
- Messages
- 16
- Reaction score
- 0
I started learning XML on Monday.
I have an XML file and have written an XSL file to render it to HTML for formatted viewing in a browser. I'd like to create a second alternative view of the same data. I am confused how:
If the following line, which dictates which XSL file should be used to transform my XML document for me, is found *in the XML file itself* then how can you use more than one XSL to present multiple views of the same XML document?
<?xml-stylesheet type="text/xsl" href="myXSL.xsl"?>
Am I approaching this the wrong way?
I have an XML file and have written an XSL file to render it to HTML for formatted viewing in a browser. I'd like to create a second alternative view of the same data. I am confused how:
If the following line, which dictates which XSL file should be used to transform my XML document for me, is found *in the XML file itself* then how can you use more than one XSL to present multiple views of the same XML document?
<?xml-stylesheet type="text/xsl" href="myXSL.xsl"?>
Am I approaching this the wrong way?