xsl-list
[Top] [All Lists]

Re: Using position predicate in XPath string within selectSingleNode DOM method

2004-11-24 05:04:25
David Carlisle wrote:

do you wrap the expression in () before appending [1] (you need to)

(/a/b/c)[1]

will select at most 1 node

/a/b/c[1]

will select all c nodes that are the first child of a b.
Now that you mention it...

Cheers,

Manos

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--