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

[whatwg] Requesting JSON.toXML

From: Leo Dutra <leodutra.br@gmail.com>
Date: Sat, 1 Oct 2011 20:17:05 -0300
Message-ID: <CADrNcrGeu+10099s1H3F4myzfbBH-mCcEpfs8cQVwzEpv93jYg@mail.gmail.com>
And we could have a JSON.toDOMString(...) if really needed, generating a xml
string.
-- 
*Leo Dutra**, *on* **Google+* <http://www.gplus.to/leodutra>* *and*
Twitter<http://www.twitter.com/leodutra>
*



Em 1 de outubro de 2011 20:15, Leo Dutra ? <leodutra.br at gmail.com> escreveu:

> I think the best would be Node JSON.toXML({ div:'Hello world' }). Just
> like the XHR responseXML.
> I really think it's better to work with the node directly, and this way is
> more like all the common DOM operations with nodes and all.
> I expect a XML Document node from this operation.
> --
> *Leo Dutra**, *on* **Google+* <http://www.gplus.to/leodutra>* *and*
> Twitter <http://www.twitter.com/leodutra>*
>
Received on Saturday, 1 October 2011 16:17:05 UTC

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