[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
RE: RE: [xsl] node-set
Subject: RE: RE: [xsl] 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
|