Creates a new xhtml document.
Gets a dom node by an attribute named "id" matching the given value.
Parses the elements from the dom to the document.
Queries the first dom node based on a css3 selector.
Queries all dom nodes based on a css3 selector.
XHtml documents cannot be repaired. Use HtmlDocument.repairDocument() instead.
Converts the xhtml document to a properly formatted xhtml document-string.
Gets the head node.
Sets the root nodes of the html document.
Gets the root nodes of the html document.
Parses the elements from the dom to the document.
Repairs the document if possible.
Gets the settings used for parsing the document.
An XHTML document.