The benefits of sharing XML documents with a predictable structure were discussed in this chapter. You also learned about the concept of a valid XML document and gained insight into the use of a Document Type Definition, internal subsets and external subsets, and the correct way to express markup declarations for the declaration of elements and attribute lists.