Does namespace-alias work in Xalan? 2003-01-29 - By Mark H
Hi there,
I can't seem to get the <xsl:namespace-alias> tag to work with Xalan-J (2.4.1), it seems to work in Microsoft's XML parser. Is this a known limitation or am I doing something wrong.
Thx in advance, Mark
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:xslout="x"> <xsl:namespace-alias stylesheet-prefix="xslout" result-prefix="xsl"/> <xsl:template match="document"> <xslout:element> <xsl:copy-of select="@*"/> <xsl:apply-templates/> </xslout:element> </xsl:template> <xsl:template match="*"> <xslout:element> <xsl:copy-of select="@*"/> <xsl:apply-templates/> </xslout:element> </xsl:template> <xsl:template match="text()"> <xsl:value-of select="."/> </xsl:template> </xsl:stylesheet>
|
|