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

Re: [xsl] positional predicates in XPath vs XQL


Subject: Re: [xsl] positional predicates in XPath vs XQL
From: David Carlisle <davidc@xxxxxxxxx>
Date: Sat, 24 Nov 2001 08:52:04 GMT

> To my understanding, the same location path in XPath only returns a single
> node, <2>. Is my understanding correct?

No you get 2 5 and 7, to get just 2 you;d use
(/section/para)[1]

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

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



Current Thread
Keywords