[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] node-set


Subject: Re: [xsl] node-set
From: Francis Norton <francis@xxxxxxxxxxx>
Date: Thu, 05 Jul 2001 06:41:49 +0100


Michael Kay wrote:
> 
> > Simulating dynamic evaluation of XPath Expressions "by
> > calling selectNodes() within
> > a JScript extension" is not always possible.
> >
...
> Microsoft's selectNodes() function is very inadequately documented, but I
> think you are almost certainly right.
> 
And, at the risk of stating the obvious, selectNodes does return
nodesets, so you can't use if for any XPath expression which returns a
number, string or boolean. 

I hope that when an XPath query function does get included in the DOM
(is it in DOM 3?) they get this right, it's a frustrating limitation.

Francis.



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread
Keywords