This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: RE: node-set


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]