I agree, and you can do a for loop to display your data.
On Thu, Aug 5, 2010 at 3:08 PM, Taka Kojima <t...@gigafied.com> wrote: > E4X is a much better approach than looping through an XML object and adding > items to an XMLList. > > An E4x command automatically returns an XMLList type object. > > On Thu, Aug 5, 2010 at 11:47 AM, Nathan Mynarcik <nat...@mynarcik.com > >wrote: > > > You would need to make a var that is an XMLList that pulls only the nodes > > that have the value "a". Then you can trace out your XMLList and it will > > only be the ones you need. > > > > Nathan Mynarcik > > nat...@mynarcik.com > > 254.749.2525 > > www.mynarcik.com > > > > > > On Thu, Aug 5, 2010 at 2:18 PM, Lehr, Theodore < > ted_l...@federal.dell.com > > >wrote: > > > > > Is there a way to only show certain xml based on a value - for instance > - > > > say I have: > > > > > > var aXML:XML = > > > <root> > > > <item title="1" value="a"/> > > > <item title="2" value="a"/> > > > <item title="3" value="a"/> > > > <item title="4" value="b"/> > > > <item title="5" value="b"/> > > > </root> > > > > > > > > > So if someone picks "a" from a drop down - I would then only display > the > > > ones that have the value of a in a datagrid... > > > > > > I am used to just doing something like: > > > > > > var myDP:DataProvider = new DataProvider(aXML); > > > > > > How can I remove xml members or keep them from being shown? > > > > > > _______________________________________________ > > > Flashcoders mailing list > > > Flashcoders@chattyfig.figleaf.com > > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > > _______________________________________________ > > Flashcoders mailing list > > Flashcoders@chattyfig.figleaf.com > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > _______________________________________________ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders