Hi guys,
Let's say that I have an XML document that does not specify a stylesheet with <?xml-stylesheet ?>. I don't want to modify this file to include such a directive, since it is to be automatically generated by some other system.
I've written a stylesheet to format it ("layout.xsl"). How is it possible for me to instruct a browser (ie/firefox) to render the XML document, transformed with layout.xsl, without putting a <?xml-stylesheet ?> directive in the document?
Perhaps I could import the contents of the document into the stylesheet somehow (client-side)? Would something like that work?
Any suggestions are appreciated.
Let's say that I have an XML document that does not specify a stylesheet with <?xml-stylesheet ?>. I don't want to modify this file to include such a directive, since it is to be automatically generated by some other system.
I've written a stylesheet to format it ("layout.xsl"). How is it possible for me to instruct a browser (ie/firefox) to render the XML document, transformed with layout.xsl, without putting a <?xml-stylesheet ?> directive in the document?
Perhaps I could import the contents of the document into the stylesheet somehow (client-side)? Would something like that work?
Any suggestions are appreciated.