xsl-list
[Top] [All Lists]

sending a parameter from cmd line to template match

2003-07-28 23:50:30
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>