Question re Beginning XML book pages 94-95
In the section subtitled "Associating stylesheets with XML documents using Processing Instructions", I am given the impression that I can add the <?xml-stylesheet> tag to the top of my XML document and reference my xsl stylesheet. Further, the book seems to indicate that if I use IE5 or higher (I am using IE 6), I can simply open the XML file and the browser will use the xsl transformation and display the results.
My question is: I tried this and the result in IE6 is correct (ie, the transformation changed the data), but the result is in plain text only. I cannot seem to get it to show formatted as XML. Is there a way to do this? Or am I supposed to use msxsl first, and then open the result in IE6?
|