This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Copying Groups of Attributes
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] Copying Groups of Attributes
- From: David Carlisle <davidc at nag dot co dot uk>
- Date: Mon, 12 Feb 2001 18:13:51 GMT
- References: <NEBBIEMMKMAEPLDEIMPEGEEBCEAA.ciaran.byrne@3tl.com>
- Reply-To: xsl-list at lists dot mulberrytech dot com
But I was more thinking along the lines of
<xsl:copy-of select="coreattrs"/>
where coreattrs has been defined elsewhere in the XSL.
<xsl:call-template name="coreattrs"/>
....
<xsl:template name="coresttrs">
<xsl:copy-of select="@id|@class|@this|@that"/>
</xsl:template>
David
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list