If the "attributes" which are not being consistently copied are namespace declarations, then that's expected -- the processor takes care of copying all necessary namespaces nodes to the result tree. If attributes which are not namespace declarations are not being copied, then that's a bug.
Dave
Raber Chris
<[EMAIL PROTECTED] To: [EMAIL PROTECTED]
om> cc:
Subject: Copy elements and
attributes question
02/11/2002 05:22
AM
I am trying to write a block of XSL to copy elements
and their attributes. The code is:
<xsl:template match="*">
<xsl:copy>
<xsl:copy-of select="@*"/>
<xsl:apply-templates/>
</xsl:copy>
</xsl:template>
It kind of works but not all attributes are
consistently copied. Is this a Xalan bug or is there
something wrong with this XSL code?
TIA,
-Chris.
__________________________________________________
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com
