Subject: RE: Re: EXSL's dyn:evaluate() and XALAN vs. xsl:use-attribute-sets
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Sun, 24 Aug 2003 08:06:18 +0100
|
>
> 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
|