June 26, 2009
E4x and as3 gotcha
I love E4X in AS3. It's powerful and fairly simple. If you haven't worked with it yet, check out Roger Braunstein's excellent tutorial. But I was recently annoyed by this gotcha when doing some xml combining. Let's say you have this:
PLAIN TEXT
XML:
<xml>
<people>
<person id="123">
<name>John</name>
[...]