Subject: Re: RE: [xsl] node-set From: Dimitre Novatchev <dnovatchev@xxxxxxxxx> Date: Mon, 2 Jul 2001 04:19:15 -0700 (PDT) |
> The xx:node-set() function converts a result tree fragment to a node-set. It > doesn't take a string containing an XPath expression and evaluate that > expression. For that you need something like the saxon:evaluate() extension > function. You can simulate this in MSXML3 by calling selectNodes() within a > JScript extension. Simulating dynamic evaluation of XPath Expressions "by calling selectNodes() within a JScript extension" is not always possible. The simplest example is: $p | $q It would not be possible to evaluate any XPath expression including nodes from more than one tree, because selectNodes() treats the passed XPath expression as relative to the IXMLDOMNode object, against which the method is invoked. Or am I wrong? Cheers, Dimitre Novatchev. __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] node-set, Michael Kay | Thread | RE: RE: [xsl] node-set, Michael Kay |
AW: [xsl] delete empty elements, Michael Zehrer | Date | RE: [xsl] Is this about grouping ?, Benoit_Aumars |
Month |