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

Stewart Brodie stewart.brodie at antplc.com
Tue Oct 30 03:20:00 PDT 2012

Johan Sundström <oyasumi at 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

More information about the whatwg mailing list