This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: node-set
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] node-set
- From: Francis Norton <francis at redrice dot com>
- Date: Thu, 05 Jul 2001 06:41:49 +0100
- References: <000001c102f6$dde02830$e0363c3e@PCUKMKA>
- Reply-To: xsl-list at lists dot mulberrytech dot com
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