[whatwg] Requesting JSON.toXML

Charles Pritchard chuck at jumis.com
Fri Sep 30 14:19:50 PDT 2011


Now that DOM4 includes DOMString as an argument type for Node methods, I'd like to have a clear and easy path to serialize a JSON object into an XML DOMString.

It's not a trivial task. Any takers?

Example:

JSON.toXML({div:'Hello world'});

-Charles




More information about the whatwg mailing list