Subject: RE: RE: node-set
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Mon, 2 Jul 2001 13:59:44 +0100
|
> 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
| Current Thread |
- node-set
- Clark, Jason - Sun, 1 Jul 2001 08:36:21 -0400 (EDT)
- <Possible follow-ups>
- Dimitre Novatchev - Mon, 2 Jul 2001 07:24:30 -0400 (EDT)
- Michael Kay - Mon, 2 Jul 2001 09:01:22 -0400 (EDT) <=
|
|