On 1/5/16, 7:07 AM, "Harbs" <harbs.li...@gmail.com> wrote:

>Yes. I’m using DOMParser.parseFromString() to parse the XML. After the
>XML is parsed into DOM elements, I’m walking that to create the XML
>structure.
>
>Although, I’m beginning to wonder if it makes more sense to just write my
>own state machine to walk the XML and build the structure on my own.

DOMParser.parseFromString requires IE10 or later.  Which isn't a deal
breaker, but we'll have to make sure folks are aware.  I haven't looked to
see if there is a polyfill for IE9 (our current baseline) but I would
recommend not writing your own parser.  I'd rather you spend that time one
something else.

What does Flash do for toXMLString() for CDATA and text that requires
escaping?  What does the E4x spec say?

-Alex

Reply via email to