Re: [Flashcoders] Filtering xml with E4X

2009-07-22 Thread Joel Stransky
The predicate filter should also work. myXMLList:XMLList = projectsXML..tags.(tag == Website); //return an XMLList object containing all tag nodes who's value is Website On Thu, Jul 16, 2009 at 9:11 AM, Mark Burvill li...@eyegas.com wrote: Awesome - that's what I'm after. I didn't know about

[Flashcoders] Filtering xml with E4X

2009-07-16 Thread Mark Burvill
Hello flashcoders, I'm trying to work out how to filter the below XML (loaded into a var called projectsXML) by the contents of the tag nodes, but can't quite get it working. So for instance, how would I use an E4X expression to return an XMLList that contained only those projects which

Re: [Flashcoders] Filtering xml with E4X

2009-07-16 Thread Kenneth Kawamoto
You may want to try: projectsXML.project.(tags.tag.contains(Website)) Kenneth Kawamoto http://www.materiaprima.co.uk/ Mark Burvill wrote: Hello flashcoders, I'm trying to work out how to filter the below XML (loaded into a var called projectsXML) by the contents of the tag nodes, but can't

Re: [Flashcoders] Filtering xml with E4X

2009-07-16 Thread Mark Burvill
Awesome - that's what I'm after. I didn't know about contains. Thanks On 16 Jul 2009, at 13:56, Kenneth Kawamoto wrote: You may want to try: projectsXML.project.(tags.tag.contains(Website)) Kenneth Kawamoto http://www.materiaprima.co.uk/ Mark Burvill wrote: Hello flashcoders, I'm trying