I tried that and bind the XMLListCollection, which is updating my XML, all working.
The only problem is that the filterFunction is working only on the list (on the first level). The children of the list (that are XMLList, not XMLListConnection) are not filtered and I still see nodes that I dont want there. How can I apply this filter Function recursively through the XMLListCollection? Romu Howard Fore wrote: > > 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/ > > <http://blog.flexexamples.com/2007/08/04/filtering-an-xmllistcollection-using-the-filterfunction-property-and-regular-expressions/> > > -- > Howard Fore, [email protected] <mailto:[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] > <mailto:[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 > <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 > > <https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847> > Search Archives: > http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo > <http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo>! > Groups Links > > > (Yahoo! ID required) > > mailto:[email protected] > <mailto:[email protected]> > > > > >

