well this might be horrible but it gets the job done, so i'd wait one some 
other to chime in but
myXML..children().children().children().(@id==3).toXMLString()



----- Original Message ----
From: madflexcoder <[EMAIL PROTECTED]>
To: [email protected]
Sent: Monday, January 28, 2008 3:59:13 PM
Subject: [flexcoders] How would I write this query in e4x


I want to get an xmllist of nodes that contain a doc with a specific id.

for example all nodes where a doc id == 3.

My data structure is roughly as follows.

<nodes>
<node>
<doc id="1" />
<doc id="2" />
</node>
<node>
<node>
<doc id="3" />
<doc id="4" />
</node>
<node>
<doc id="5" />
<doc id="6" />
</node>
</node>
</nodes>





      
____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping

Reply via email to