I receive Source.XML from a supplier ... let;s assume it is write protected, read only. I want to apply an XLST and CSS to the file.
Normally, I'd do this:
In Source.xml:
<?xml-stylesheet type="text/xsl" href="myXLST.xsl" ?>
In myXLST.xsl I reference the style sheet...
<link href="Style.css" rel="stylesheet" type="text/css" />
The file myXLST.xls generates the HTML code I need and it displays fine.
I can make it work perfectly in this scenario. However, how do I accomplish this same thing (apply myXLST.xsl) to Source.xml when I am not allowed to modify Source.xml to include myXLST.xls reference???
Seems like all I would need to do is create a third XML file that pulls in myXLST.xls and Source.xml
Your ideas?
Normally, I'd do this:
In Source.xml:
<?xml-stylesheet type="text/xsl" href="myXLST.xsl" ?>
In myXLST.xsl I reference the style sheet...
<link href="Style.css" rel="stylesheet" type="text/css" />
The file myXLST.xls generates the HTML code I need and it displays fine.
I can make it work perfectly in this scenario. However, how do I accomplish this same thing (apply myXLST.xsl) to Source.xml when I am not allowed to modify Source.xml to include myXLST.xls reference???
Seems like all I would need to do is create a third XML file that pulls in myXLST.xls and Source.xml
Your ideas?