On 1/4/16, 8:17 AM, "Harbs" <harbs.li...@gmail.com> wrote:
>For literals, yes, we’d for the most part just pass the whole thing as a >string to the constructor. The only exception I can think of is bracket >notation: > >var foo:XML = <node><subnode attr={myAttr}>foo</subnode></node>; >would have to become: >var foo:XML = new XML('<node><subnode >attr="‘+myAttr+’">foo</subnode></node>’); Wow, didn't know about that capability. I'll have to see what the parser knows about that. -Alex