Re: RE: [xsl] node-set

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?

Dimitre Novatchev.

Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail

 XSL-List info and archive:

Current Thread