Hi all,

I'm wondering if anyone has had any experience or has some samples for
searching an XMLListCollection for a particular item?
I have a nested structure of <element>'s, each having an "id" attribute.
I would like to be able to do something like:

var myXmlListCollection : XMLListCollection = new XMLListCollection( ...
some data source ... );
var item : *** = findItem(myXmlListCollection, 'MyUniqueId');
trace (item.toString());

I am unsure of the class type of variable "item" in this example. I want
to be able to add in an element using "item" as the parent. So the data
type used needs to allow this type of operation. The next step will be
to add a child to this found item.

Any thoughts?

Regards,
Graham Weldon


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to