Think that this is a bit like a schema for a database - we are used to the idea that in regular relational databases you can only use columns that have already been declared, and you need to insert the required data types into them. Well, DTD does roughly the same for XML documents.
source share