Subject: Retraction: I've modified my parser to copy attributes.
From: Dan Morrison <dman@xxxxxxxx>
Date: Thu, 13 Apr 2000 00:55:31 +1200
|
I've been directed to the spec 7.5:
-----------------------------------
For example, the identity transformation can be written using xsl:copy
as follows:
<xsl:template match="@*|node()">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>
------------------------------------
... which implies my construct is fine ( s/@/@*/ ) so apologies all.
I'd referred to only xsl:copy-of & xsl:attribute.
Isn't 'xsl:copy' a bit redundant?
.dan.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|