Constructs a DocumentParser.
The input to this function MUST be valid XML. This is enforced by the function's in contract.
the entire XML document as text
See Implementation
Constructs a DocumentParser.
The input to this function MUST be valid XML. This is enforced by the function's in contract.