
Attr
Element
Text
Comment
CDATASection
DocumentType
Notation
Entity
EntityReference
ProcessingInstruction
These specialized interfaces all inherit the basic attributes and methods provided by the Node interface. They also provide specialized access to unique information associated with each specific XML document item. The resulting specialized nodes are stored in a list of lists structure that has parent_child and
Example 3-5 Sample XML document
<?xml version="1.0"
<name>Mary Smith</name> <membership>10001</membership>
</Customer>
<Customer>
<name>Dave Johnson</name> <membership>12345</membership>
</Customer>
Chapter 3. Processing XML 63