childIndex().

 

Time to read over the XML docs.

 

Tracy Spratt 
Lariat Services 

Flex development bandwidth available 

________________________________

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of markgoldin_2000
Sent: Wednesday, February 04, 2009 2:03 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] XML Query

 

Is there a way of getting node child's number from a result of 
filtering an XML as long as the result is a unique node?
xmlResult = xmlListOfCars.cars(maker == "honda")
where xmlResult is a single node. In my sample I want to get 1.

<root>
<cars>
<maker>ford</maker>
</cars>
<cars>
<maker>honda</maker>
</cars>
</root>

Thanks

 

Reply via email to