Auden: Those who will not reason Perish in the act; Those who will not act Perish for that reason.
Of course, these types of systems have already been developed. There are two different methods used to validate XML documents--document type definition (DTD) and XML schema. The system we will look at is DTD. The purpose of a DTD is to define the legal building blocks of an XML document.