Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: How to validate an XML file against its DTD?by Corion (Patriarch) |
on Oct 20, 2001 at 01:38 UTC ( [id://120158]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|