Subject: Re: parsing a complex xml tree into simple trees (a challenging problem at least for me :)
From: drkm <darkman_spam@xxxxxxxx>
Date: Thu, 10 Nov 2005 14:59:07 +0100 (CET)
|
David Carlisle wrote:
> .//a[1]
> selects every a that is the first child of its parent, so it may
> select any number of nodes
Off course. Thanks for the reminder. So the two following
expressions return the same result, don't they?
(.//a)[1]
descendant::a[1]
--drkm
___________________________________________________________________________
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger
Tilichargez cette version sur http://fr.messenger.yahoo.com
|