[xsl] Parameters in XPath

Subject: [xsl] Parameters in XPath
From: Juan Carlos Gonzalez <jcgonz@xxxxxxxxx>
Date: Mon, 6 Jan 2003 14:23:49 -0800 (PST)
Hi:

I have defined a "Filter" paramater to be used in a
Xpath. It's going to be an expression using any
attribute within the element "Prod" but it's not
working, any suggestions?

<xsl:param name="Filter" select="@rebate>0"/>

<xsl:apply-templates
select="/Cat[@CatId=$Cat]/Prod[$Filter]"/>

Thanks.

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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


Current Thread