Re: [xml-dev] Quick Xpath

From
David Carlisle <>
To
Date
2002-07-18T09:34:26Z
ID
<>
Thread
Re: [xml-dev] Quick Xpath
> Howsabout given:
>
>	(//foo | //bar)[4]
>
>Would that be the 4th occurrence of either foo or bar, in document 
>order? 

I find it easier to parse the Xpath than the english.

It is the fourth element, just counting foo's and bar's.

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.