Hi
The Transform engine seams to fool me, first it says:
'xsl' is an undeclared namespace.
but if i change it to
<stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
this error message appears:
The wrong namespace was used for XSL. Use
'http://www.w3.org/1999/XSL/Transform'
Which I actually do!
This is my XSL File:
====
<?xml version="1.0" encoding="UTF-8" ?>
<stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" version="1.0"
encoding="UTF-8" indent="yes" omit-xml-declaration="yes"/>
<xsl:template match="/">
<html>
<body>Test</body>
</html>
</xsl:template>
</stylesheet>
===
This is the way i transform it:
====
XmlDocument doc = new XmlDocument();
doc.Load("C:\\index.xml");
XslTransform xslT = new XslTransform();
xslT.Load("C:\\Standard.xslt");
XsltArgumentList args = new XsltArgumentList();
xslT.Transform(doc, args, Response.OutputStream);
====
Whats wrong?
best regards,
dominik