This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Retraction: I've modified my parser to copy attributes.
- To: xsl-list at mulberrytech dot com
- Subject: Retraction: I've modified my parser to copy attributes.
- From: Dan Morrison <dman at es dot co dot nz>
- Date: Thu, 13 Apr 2000 00:55:31 +1200
- Organization: Disorganised
- References: <38F45D78.6798@es.co.nz>
- Reply-To: xsl-list at mulberrytech dot com
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