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

Re: [whatwg] Proposal for window.DocumentType.prototype.toString

From: Stewart Brodie <stewart.brodie@antplc.com>
Date: Tue, 30 Oct 2012 10:20:00 +0000
To: <whatwg@whatwg.org>
Message-ID: <gemini.mcpbdc009c2rk01s1.stewart.brodie@antplc.com>
Johan Sundström <oyasumi@gmail.com> wrote:

> Hi everybody!
> 
> Serializing a complete HTML document DOM to a string is surprisingly
> hard in javascript.

Does XMLSerializer().serializeToString(document) not meet your requirement?


-- 
Stewart Brodie
Team Leader - ANT Galio Browser
ANT Software Limited
Received on Tuesday, 30 October 2012 10:19:53 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 January 2013 18:48:11 GMT