Show:
Stand-alone XMLSerializer for DOM3 documents
The output is identical to standard XHTML5 DOM serialization, as given by http://www.w3.org/TR/html-polyglot/ and https://html.spec.whatwg.org/multipage/syntax.html#serialising-html-fragments except that we may quote attributes with single quotes, only where that would result in more compact output than the standard double-quoted serialization.
- Source: