[Home] [By Thread] [By Date] [Recent Entries]


> 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.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member