===XQuery===
The [[HTML Module]] provides a function XQuery functions for converting HTML to XML documents.
Documents In addition, all functions that accept [[Options#Parsing|Parsing Options]] can also be converted by specifying the parser and additional optionsused as function argumentswell to convert HTML:
<syntaxhighlight lang="xquery">