This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: passing parameter to template
- From: Oleg Tkachenko <olegt at multiconn dot com>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Wed, 29 May 2002 17:33:34 +0200
- Subject: Re: [xsl] passing parameter to template
- Organization: Multiconn International
- References: <138.efd5687.2a2639a7@aol.com>
- Reply-to: xsl-list at lists dot mulberrytech dot com
ChivaBaba@aol.com 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