This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: RE: node-set
- To: "'Dimitre Novatchev'" <dnovatchev at yahoo dot com>
- Subject: RE: RE: [xsl] node-set
- From: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Mon, 2 Jul 2001 13:59:44 +0100
- Cc: <xsl-list at lists dot mulberrytech dot com>
- Reply-To: xsl-list at lists dot mulberrytech dot com
> 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.
>
Microsoft's selectNodes() function is very inadequately documented, but I
think you are almost certainly right.
Mike Kay
Software AG
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list