in reply to How to validate an XML file against its DTD?

There is a pure XSL(T) answer: the Schematron. It's an XSLT stylesheet; you run it on the DTD, and this produces a second stylesheet, which is a validator for the DTD. You run that on your XML to validate it.

  • Comment on Re: How to validate an XML file against its DTD?