- 120 -
Element
1
Attribute
2
Text
3
CDATASection
4
EntityReference
5
Entity
6
ProcessingInstruction
7
Comment
8
Document
9
DocumentType
10
DocumentFragment
11
Notation
12
The following six properties—parentNode, childNodes, firstChild, lastChild,
previousSibling, nextSibling—refer to other nodes in the same tree. Figure 5.5 shows
their relationship to a node picked out at random called CURRENT NODE. Also,
nodes
that have their description in parentheses are not directly accessible from CURRENT
NODE, but are still accessible indirectly through another node.