[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
[xsl] Re: Re: EXSL's dyn:evaluate() and XALAN vs. xsl:use-attribute-sets
Subject: [xsl] Re: Re: EXSL's dyn:evaluate() and XALAN vs. xsl:use-attribute-sets From: "Dimitre Novatchev" <dnovatchev@xxxxxxxxx> Date: Sat, 23 Aug 2003 22:48:32 +0200 |
> BUT > > This raises one question for me: > > 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. Let $path has as its value the string "/A/B/C then dyn:evaluate($path) will return the same node-set as the one, which will be selected when evaluating the XPath expression: /A/B/C However, evaluating $path will simply return *the string* "/A/B/C" -- not any node-set at all. dyn:evaluate can be used for the evaluation of XPath expressions, which are not known statically at compile time but are generated dynamically at run-time. XPath (1.0 and 2.0) does not allow such evaluation of dynamically generated XPath expressions. ===== Cheers, Dimitre Novatchev. http://fxsl.sourceforge.net/ -- the home of FXSL XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Re: EXSL's dyn:evaluate(), raphead | Thread | Re: [xsl] Re: EXSL's dyn:evaluate(), David Carlisle |
[xsl] Re: AW: why is "(chapter//foo, Dimitre Novatchev | Date | [xsl] Re: Re: EXSL's dyn:evaluate(), Dimitre Novatchev |
Month |
Keywords