Design of the parser
13/28
Another XML document
A general parser
The
XML_Parser
contains a root
XML_Node
. Each
XML_Node
has a reference to its parent node (if any), as well as an array of
XML_Attribute
objects, an array of its children nodes, and its content.