Is it possible for the XML output of one CGI script to make use of XSLT output generated by another script? I ask mainly because I can't test it right now. Basically, I'd like to know if it's possible or valid for some page.cgi
to produce:
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="style.cgi?"?>
<root>
...
</root>
And some style.cgi
to produce:
<?xml version="1.0"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
...
</xsl:template>