A popular language for describing the structure of XML documents is DTD. For more complex applications is essential to use more powerful tool, e.g.
XML Schema. The article contains an overview of its important elements, features and usage examples.