This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Ommitting value of a copied id-Attribute
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] Ommitting value of a copied id-Attribute
- From: David Carlisle <davidc at nag dot co dot uk>
- Date: Wed, 20 Dec 2000 12:43:39 GMT
- References: <3A40A29A.C83601B1@gmx.net>
- Reply-To: xsl-list at lists dot mulberrytech dot com
<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