Add DTD and use it consistently
Merge pull request #15 from jwakely/dtd

Add DTD and use it consistently