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

[whatwg] Requesting JSON.toXML

From: Anne van Kesteren <annevk@opera.com>
Date: Sat, 01 Oct 2011 08:08:28 +0200
Message-ID: <op.v2nsoeqk64w2qv@annevk-macbookpro.local>
On Sat, 01 Oct 2011 00:03:21 +0200, Charles Pritchard <chuck at jumis.com>  
wrote:
> Anne has "overloaded Node.appendChild" with DOMString.
> That makes appendChild('<div>hello world</div'); easier.  That's my  
> understanding, anyway.

You misunderstood. It will append a Text node whose data is the given  
string.


-- 
Anne van Kesteren
http://annevankesteren.nl/
Received on Friday, 30 September 2011 23:08:28 UTC

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