[whatwg] Requesting JSON.toXML

Leo Dutra ™ leodutra.br at gmail.com
Sat Oct 1 16:17:05 PDT 2011

And we could have a JSON.toDOMString(...) if really needed, generating a xml
*Leo Dutra**, *on* **Google+* <http://www.gplus.to/leodutra>* *and*

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>*

More information about the whatwg mailing list