Hi
I have an xml file and an xsl file, and am creating the transformation on the server using ASP. My problem is that even though there is nothing wrong with the asp code, the xml file and the xsl file, when browsed the page loads the resulting html without the data called in by the xsl commands. So basically the xsl style sheet isn't being interpreted
This is the xsl code that doesn't work:
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl=" version="1.0">
<xsl:template match="/">
... CONTENT with html and xsl tags
</xsl:template>
</xsl:stylesheet>
But this code does work:
<?xml version="1.0"?>
<html xmlns:xsl="
... CONTENT with html and xsl tags
</html>
This is driving me absolutely bananas because all examples of xsl transformations on the net and any literature use the code in my first example, which doesn't work.
Your comments are greatly appreciated ...
Dayo
I have an xml file and an xsl file, and am creating the transformation on the server using ASP. My problem is that even though there is nothing wrong with the asp code, the xml file and the xsl file, when browsed the page loads the resulting html without the data called in by the xsl commands. So basically the xsl style sheet isn't being interpreted
This is the xsl code that doesn't work:
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl=" version="1.0">
<xsl:template match="/">
... CONTENT with html and xsl tags
</xsl:template>
</xsl:stylesheet>
But this code does work:
<?xml version="1.0"?>
<html xmlns:xsl="
... CONTENT with html and xsl tags
</html>
This is driving me absolutely bananas because all examples of xsl transformations on the net and any literature use the code in my first example, which doesn't work.
Your comments are greatly appreciated ...
Dayo