W3C home > Mailing lists > Public > whatwg@whatwg.org > September 2011

[whatwg] Requesting JSON.toXML

From: Charles Pritchard <chuck@jumis.com>
Date: Fri, 30 Sep 2011 14:19:50 -0700
Message-ID: <021812ED-F829-4AF4-B8D0-9BABC5527E57@jumis.com>
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
Received on Friday, 30 September 2011 14:19:50 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:36 UTC