The XPath implementation of XFactorStudio has this built in. There you can do: XPath.selectNodes(xml, "//element"); to get all nodes whereever that qualitfy.
Unfortunately, looks like the XFactorStudio domain is no longer.. I have placed the code I have (and we are still using) here: http://www.yourportfolio.nl/xpath.zip so you can try if you want. The syntax is in some minor calls a little different, but it can do more then Macromedia's XPath as far as I can recall. greetings, Joeri On 2/28/07, T. Michael Keesey <[EMAIL PROTECTED]> wrote:
On 2/26/07, Jim Cheng <[EMAIL PROTECTED]> wrote: > > Unfortunately, Flash has never had a good means to traverse an XML tree. Never say never. AS3.0's e4x is an extremely good means for traversing an XML tree. (You're right if you mean "pre-AS3 Flash", though.) -- Mike Keesey _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
_______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com