xsl-list
[Top] [All Lists]

Re: Using XSL parameters to construct variables to construct expressions

2003-03-20 23:06:54
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



<Prev in Thread] Current Thread [Next in Thread>