Subject: Re: Ommitting value of a copied id-Attribute
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 20 Dec 2000 12:43:39 GMT
|
<xsl:template match="element">
<xsl:copy>
<xsl:copy-of select="@*[not(name()='attr')]"/>
<xsl:attribute name="attr">
<.... whatever you want ....>
</xsl:attribute>
<.... whatever you want ....>
</xsl:copy>
</xsl:template>
David
_____________________________________________________________________
This message has been checked for all known viruses by Star Internet delivered
through the MessageLabs Virus Control Centre. For further information visit
http://www.star.net.uk/stats.asp
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|