Get the parsed document if it was parsed successfully.
Get parser errors if any was encountered.
Get the XML header for the parsed document.
If the document was parsed as a HTML document.
If the document was parsed as a XHTML document.
Generated using TypeDoc
Tries parsing an XHTML string as a modern XHTML5 string, also removes XML styling properties and XSLT references
If document is not valid XML, it tries parsing it as HTML5