This is only possible using an processor dependent extension function
xx:evaluate():
<xsl:apply-templates
select="/Cat[(_at_)CatId=$Cat]/Prod[xx:evaluate($Filter)]"/>
And it must be a string then, not an expression. Your param $Filter
contains after evaluation only true or false.
Maybe you better explain, what you really want to do and somebody can
provide you better help.
Regards,
Joerg
Juan Carlos Gonzalez wrote:
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[(_at_)CatId=$Cat]/Prod[$Filter]"/>
Thanks.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list