This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: RE: node-set
- To: mhkay at iclway dot co dot uk
- Subject: Re: RE: [xsl] node-set
- From: Dimitre Novatchev <dnovatchev at yahoo dot com>
- Date: Mon, 2 Jul 2001 04:19:15 -0700 (PDT)
- Cc: xsl-list at lists dot mulberrytech dot com
- Reply-To: xsl-list at lists dot mulberrytech dot com
> 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