| '''Summary'''
|Converts the HTML document specified by {{Code|$input}} to XML and returns a document node:<br/>
* The input may either be of type {{Code|xs:string}}, {{Code|xs:base64Binary}}, or {{Code|xs:hexBinary}}.
* If the input is passed on in its binary representation, the HTML parser will try to choose the correct encoding automatically.