On 8/14/06, Henry Zongaro (JIRA) <[email protected]> wrote:
Henry Zongaro commented on XALANJ-2305:
---------------------------------------
It looks like you can work around the problem by using the combination of
xsl:for-each to select the namespace nodes and xsl:copy to copy them:
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" indent="yes" />
<xsl:template match="/author">
<test>
<xsl:for-each select="namespace::*">
<xsl:copy/>
</xsl:for-each>
</test>
</xsl:template>
</xsl:stylesheet>
Thanks for telling the workaround to this problem. It'll certainly
help people who will be looking for this feature.
But I think, there is still a bug with xsl:copy-of instruction while
copying namespace nodes. Xalan team might like to solve it..
--
Regards,
Mukul Gandhi
http://gandhimukul.tripod.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]