This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

xsl:variable and match


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]