xsl-list
[Top] [All Lists]

passing external parameter to template match

2003-07-29 16:11:02
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



<Prev in Thread] Current Thread [Next in Thread>