Class Hierarchy

Everything is a node.

Subclasses that can have children:
Leaf nodes:
Attributes neither have nor are children. They belong to an element: