I have just uploaded two files, which can be found in the Documents section of the site. One describes some of the theory behind DTD, and the other one is a rough spec of how DTD works. Enjoy!
-Ulises