[xsl] passing external parameter to template match

Subject: [xsl] passing external parameter to template match
From: Adriaan Woerléé <ade@xxxxxxx>
Date: Tue, 29 Jul 2003 19:11:02 -0400 (EDT)
Hi,
    I wanted to send an external paramater to the the template to create
dynamic matching

        <xsl:param name="element" select="'default'"/>
        <xsl:template match="{$element}">

but I get a TransformerException Error : illegal tokens $

is there a better way to dynamically populate the 'match' attribute of
template??

cheers

-Ade


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread