[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] sending a parameter from cmd line to template match


Subject: [xsl] sending a parameter from cmd line to template match
From: Adriaan Woerléé <ade@xxxxxxx>
Date: Tue, 29 Jul 2003 02:50:30 -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