XML semantically identifies pieces of data using opening and closing tags which are enclosed with angle brackets.
wrong
correct
Tags must be either siblings of another set of tags or children of a set of tags.
In addition to containing text and other elements, elements can take on "attributes".
The result of following these rules is a document whose content is nicely organized into a tree structure.
This means that XML actually doesn't specify any set of tags or element names. Anyone can make up their own set of elements and use them however they like.
It allows different industries and fields to create tags that meet their needs and their data.
If everyone can just make up their own tags, we can create confusion about what different tags mean and the datatypes they are encoding.
Someone might choose to tag something as <paragraph> and another person might to choose to tag something as <para> and a third person might choose <p>.
How do we avoid this confusion?
Enter TEI
How to use the TEI templates
TO DO: