 |
-
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
|