[xsl] Re: Using XSL parameters to construct variables to construct expressions

Subject: [xsl] Re: Using XSL parameters to construct variables to construct expressions
From: "Dimitre Novatchev" <dnovatchev@xxxxxxxxx>
Date: Fri, 21 Mar 2003 07:06:54 +0100
> This is a FAQ:  Standard XSLT 1.0 and 2.0 do not support dynamic
evaluation
> of string representation of an XPath expression.
>
> And in this case dynamic evaluation is not necessary -- use:
>
>  <xsl:apply-templates select="process[starts-with(number,
$processArea)]"/>

Or probably just:

   <xsl:apply-templates select="process[number =  $processArea]"/>




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


Current Thread