Re: [xsl] passing parameter to template

Subject: Re: [xsl] passing parameter to template
From: Oleg Tkachenko <olegt@xxxxxxxxxxxxx>
Date: Wed, 29 May 2002 17:33:34 +0200
ChivaBaba@xxxxxxx wrote:

I'm facing a problem while trying to pass a parameter to a template. The corresponding xsl-code is the following:

++++++++++++++++++++++++++++++++++++++++++++++++++++++++
<xsl:apply-templates select="exsl:node-set($tools)">
Here you get a root node, not tool element as you expected, so template for / is instantiated and that one (probably biult-in one) applies templates on children with no parameters. Use exsl:node-set($tools)/* instead.

--
Oleg Tkachenko
Multiconn International, Israel


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



Current Thread