Parsed with DOMParser; invalid XML shows a parse error.
Pretty-print XML using the browser DOMParser + serializer.
Namespaces and declarations may be normalized by the parser.