Definition
The DOM presents documents as a hierarchy of "Node" objects that also implement other, more specialized interfaces. Some types of nodes may have child nodes of various types, and others are leaf nodes that cannot have anything below them in the document structure.
Use
The DOM also specifies a "NodeList" interface to handle ordered lists of Nodes, such as the children of a Node, or the elements returned by the Element:getElementsByTagName method, and also a NamedNodeMap interface to handle unordered sets of Nodes referenced by their name attribute, such as the Attributes of an Element. NodeLists and NamedNodeMaps in the DOM are "live", that is, changes to the underlying document structure are reflected in all relevant NodeLists and NamedNodeMaps. For example, if a DOM user gets a NodeList object containing the children of an Element, then subsequently adds more children to that element (or removes children, or modifies them), those changes are automatically reflected in the NodeList without further action on the user's part. Likewise changes to a Node in the tree are reflected in all references to that Node in NodeLists and NamedNodeMaps.
Structure
The package DOM contains the following interfaces:
if_ixml_att_list_decl if_ixml_attribute if_ixml_attribute_decl if_ixml_cdata_section if_ixml_character_data if_ixml_comment if_ixml_cond_dtd_section if_ixml_content_particle if_ixml_document if_ixml_document_fragment if_ixml_document_type if_ixml_element if_ixml_element_decl if_ixml_entity_decl if_ixml_entity_ref if_ixml_named_node_map if_ixml_namespace_context if_ixml_namespace_decl if_ixml_node if_ixml_node_collection if_ixml_node_filter if_ixml_node_filter_combining if_ixml_node_iterator if_ixml_node_list if_ixml_notation_decl if_ixml_pi if_ixml_pi_parsed if_ixml_pi_unparsed if_ixml_textIntegration
The iXML library implements a superset of the W3C DOM Level 1 Core and XML specification as defined in the document PR-DOM-Level-1-19980818.
Differences between the DOM Level 1 Specification and the iXML implementation are usually:
Other than that the iXML library follows the W3C DOM Level 1 specification very closely and does not deliberately introduce differences in the implementation. Everybody familiar with the W3C DOM will immediately recognize the similarities with the iXML implementation.