Took a full morning to work out a fully functional and validating Doc Type Def file for a huge XML spreadsheet.
Tomorrow, I am going all the way onto a XML Schema (it'll be a little easier, hopefully, since Schema syntax is roughly the same as XML syntax).