XML is a markup format designed to be both machine and human readable, especially for cases where deeply nested data is present.

A DTD is an example of a schema used to assert constraints on a piece of XML data.

An XML document has three parts:


Example:

<?xml version="1.0" encoding="UTF-8"?>
<coordinates>
    <x>2</x>
    <y>1</y>
</coordinates>