This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: positional predicates in XPath vs XQL
- From: David Carlisle <davidc at nag dot co dot uk>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Sat, 24 Nov 2001 08:52:04 GMT
- Subject: Re: [xsl] positional predicates in XPath vs XQL
- References: <NFBBKEMEJKFJGCPOOKHCMEFDCBAA.howardk@fatdog.com>
- Reply-to: xsl-list at lists dot mulberrytech dot com
> 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