xsl-list
[Top] [All Lists]

RE: Re: EXSL's dyn:evaluate() and XALAN vs. xsl:use-attribute-sets

2003-08-24 00:06:18

What has dyn:evaluate been intended for when it can only be 
used where XPath expressions are allowed. I think you cannot 
achieve more with it than with a ordinary Xpath expression.


A typical use case for dyn:evaluate is

   <xsl:sort select="dyn:evaluate($param)"/>

which allows the XPath expression defining the sort key to be passed in
to the stylesheet as a run-time parameter.

Michael Kay


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