This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: passing parameter to template


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]