xsl-list
[Top] [All Lists]

Re: parsing a complex xml tree into simple trees (a challenging problem at least for me :)

2005-11-10 06:59:07
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 
Téléchargez cette version sur http://fr.messenger.yahoo.com

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--