This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
xsl:variable and match
- To: xsl-list at mulberrytech dot com
- Subject: xsl:variable and match
- From: Ross Cormier <merex at home dot com>
- Date: Thu, 11 May 2000 18:48:58 -0500
- Reply-To: xsl-list at mulberrytech dot com
Can I use a variable in the match part of xsl:template?
<xsl:variable name="x" select="/ROWSET/REPLACE/@EL"/>
<xsl:template match="/ROWSET/{$x}">
<NEWELEMENT><xsl:apply-templates/></NEWELEMENT>
</xsl:template>
Thanks in advance,
Ross Cormier
Structure Consulting Group
225-772-4973
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list