A few years ago there were reasons to use DTD on top of the XML schema (this was more common or better supported by XML tools). However, today I see no reason not to use XML Schema instead of DTD: XML Schema is much more efficient.
However, the XML schema is far from ideal (just try reading the specification or the book on the XML schema ...), and many alternatives have been developed since then (Schematron, Examplotron, RelaxNG). They may have technical advantages over XML Schema, but XML Schema is so common today that I see very few cases where an alternative would make sense.
Pascal Sartoretti Oct 27 '09 at 16:05 2009-10-27 16:05
source share