Constructs a Document by parsing XML text.
Constructs a Document from a Tag.
Compares two Documents
Compares two Documents for equality
Returns the hash of a Document
Returns the string representation of a Document. (That is, the complete XML of a document).