You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by De...@mpower.com on 2000/07/10 22:54:27 UTC
Using XSLT to build XSLT stylesheets
Hi everybody,
I'd like use Xalan to build stylesheets from XML input specs. I'm having a
(trivial?) problem generating the root XSLT transform element in the
output document.
I want to output
<xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
.....
</xsl:transform>
using
<xsl:element name="xsl:transform">
<xsl:attribute name="xmlns:xsl">
<xsl:text>http://wwww.w3.org/1999/XSL/Transform</xsl:text>
</xsl:attribute>
<xsl:attribute name="version">
<xsl:text>1.0</xsl:text>
</xsl:attribute>
......
</xsl:element>
But I'm failing to generate the xmlns:xsl attribute in the output. I'm
quite sure its an issue with the namespace of the attribute name, but I
have no solution.
Any assist appreciated.
Dean