A XML (short for Extensible Markup Language) document consists of:
- the prolog (optional)
- the document type definition (DTD, optional)
- the root element (which furthermore consists of more elements, tree structure)
Comments and processing instructions can be defined outside of tags.
The basic prolog looks like this:
<?xml version="1 …