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

Subject: Re: [xsl] Using position predicate in XPath string within selectSingleNode DOM method
From: Emmanouil Batsis <Emmanouil.Batsis@xxxxxxxxxxx>
Date: Wed, 24 Nov 2004 14:04:25 +0200
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

Current Thread