Subject: Re: transformation does happen after copy-of?
From: Joerg Heinicke <joerg.heinicke@xxxxxx>
Date: Tue, 23 Jul 2002 13:41:25 +0200
|
Try
<xsl:template match="node()">
<xsl:copy>
<xsl:copy-of select="@*"/>
<xsl:apply-templates select="node()"/>
</xsl:copy>
</xsl:template>
in stead of
<xsl:template match="node()">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>
Cheers
RH
or
<xsl:template match="@*|node()">
^^^^
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>
Regards,
Joerg
--
System Development
VIRBUS AG
Fon +49(0)341-979-7419
Fax +49(0)341-979-7409
joerg.heinicke@xxxxxxxxx
www.virbus.de
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|
Andrew Welch - Tue, 23 Jul 2002 08:01:38 -0400 (EDT)
|
|