XML, validating against dtd


When opening an xml document, is there any way, using XmlDocument or XmlElement, to validate against the dtd it contains ? All I could find in the class references are methods that "will parse DTDs to load external entities but won't check the document for validity against the DTD".

Any guess on other libraries that could be used ?