Subject: RE: [xsl] sending a parameter from cmd line to template match From: "Jim Fuller" <jim.fuller@xxxxxxxxxxxxxxxxxx> Date: Tue, 29 Jul 2003 09:41:24 +0100 |
> -----Original Message----- > From: Adriaan Woerléé [mailto:ade@xxxxxxx] > Sent: 29 July 2003 07:51 > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Subject: [xsl] sending a parameter from cmd line to template match > > > 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}"> no need for curly brackets here ? though depending on your element ( I assume just a qname... ) this should be fine. cheers, jim fuller > > 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 > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] sending a parameter from , r . devries | Thread | [xsl] xsl:key not working on some m, Leena Kulkarni |
RE: [xsl] problem running EXSL exte, Jim Fuller | Date | RE: [xsl] xsl:key not working on so, Jim Fuller |
Month |