The rules of the XML Game
17
«
^
»
An XML document represents a (kind of)
tree
It has a single
root
and many nodes
Each node can be
a subtree
a single
element
(possibly bearing some
attributes
)
a string of
character data
Each element has a type or
generic identifier
Attribute names are predefined for a given element; values can also be constrained
CIDOC 2005: TEI Tutorial: intro