Validates an XML document against a DTD. More...
|DocTypeValidator (DocTypeDefinition &dtd)|
|Construct an empty DocType node. |
|Clears the validator to start a new document. |
|bool||validate (Node &node)|
|Returns true if the node is valid. |
An XML document can be validated against its DTD by passing all XML nodes on to a DocTypeValidator. Note, that it is also possible to validate XML against a DTD from a different source.