i try to get a 1:1 copy of a tree (using xsl:copy-of) without
having the
xmlns attribute set in the root node of the result tree.
xsl:copy-of can only be used if you want an exact copy.
If you want to make any changes at all, use a recursive descent using
xsl:apply-templates, defining an identity template rule using xsl:copy,
plus specific template rules to define the changes you want to make.
To remove namespace nodes from an element, use
<xsl:element name="local-name()">
in place of <xsl:copy>
Michael Kay
Software AG
home: Michael(_dot_)H(_dot_)Kay(_at_)ntlworld(_dot_)com
work: Michael(_dot_)Kay(_at_)softwareag(_dot_)com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list