I have a XML file and I am going to write a XSLT; say, xxx.xsl, to render the XML file. To my undertanding, if I add a line of reference to the xxx.xsl in the XML document like this: <?xml-stylesheet type="text/xsl" href="xxx.xsl"?> when I double click on the xxx.xsl file icon, the browser will transform the XML document into HTML, and I will see the HTML output. But the XML file I have does not have a line of reference to any XSL file, and it is not in my control to add a line of reference to the xxx.xsl in the XML file. Do we prepare the following code:
Should we save the above code as a .html file and click on the file icon to see the HTML output of the XML document? [ December 13, 2002: Message edited by: JiaPei Jen ]
posted 14 years ago
Let me answer my own question. The answer is "YES". This is the way to do it. I have tested it out. It works.
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads