Yes it can. But more to the point, you can store an xpath statement as data, then evaluate it at runtime. E4X is static.
Peter On 5/14/07, Gordon Smith <[EMAIL PROTECTED]> wrote:
I don't know much about Xpath... can it do XML manipulations that E4X can't? - Gordon ------------------------------ *From:* [email protected] [mailto:[EMAIL PROTECTED] *On Behalf Of *Peter Hall *Sent:* Monday, May 14, 2007 9:46 AM *To:* [email protected] *Subject:* Re: [flexcoders] "dynamic" function in AS3/Flex. Sounds like you solved your problem. But if you needed a more flexible solution, there is an Xpath implementation for AS3: http://code.google.com/p/xpath-as3/ Peter

