How about using the XML in an XMLListCollection and using a filter function?
http://blog.flexexamples.com/2007/08/04/filtering-an-xmllistcollection-using-the-filterfunction-property-and-regular-expressions/ -- Howard Fore, [email protected] "The universe tends toward maximum irony. Don't push it." - Jeff Atwood On Wed, Mar 11, 2009 at 6:33 AM, Romuald Quantin < [email protected]> wrote: > Hi, > > There must be simple way to do that. I've got an XML (the dataProvider > of a tree) that can contains any kind of nodes. > > I'd like to display only a "type" of node in my tree, let's say I've got > an XML composed of "car" and "plane" nodes and I want to show only the > cars in my tree. > > Also, if my node has a content like: > <car><![CDATA[My Car]]></car> > > It shows the content of the car node as a leaf in the tree, I'd like to > hide that content as well. > > This XML is binded to others views so I wouldn't like to use another > dataProvider built from this XML. I would need to "hide" them without > remove them from the XML. > > Any hint? > > Thanks > > Romu > > > ------------------------------------ > > -- > Flexcoders Mailing List > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > Alternative FAQ location: > https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 > Search Archives: > http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups > Links > > > >

