4. The node tree shows the sets of nodes, and the connection between them 5. The tree starts at the root node and branches out to the text nodes at the lowest level of the tree 6. The root node in the XML above is named <bookstore>. All other nodes in the document are contained within <bookstore> 7. The root node <bookstore> holds four <book> nodes
What is DOM
1. The DOM is a W3C (World Wide Web Consortium) standard 2. The DOM defines a standard for accessing documents like XML and HTML :
"The W3C Document Object Model (DOM) is a platform and language-newutral interface that allows program and scripots to dynamically access and update the content, structure and astyle of a codument"
What is the XML DOM?
The XML DOM is : 1. A standard object model for XML 2. A standard programming interface for ML 3. Platform and language-independent 4. A W3C standard
DOM Nodes
According to the DOM, everything in an XML document is a node
The DOM says : 1. The entire document is a document node 2. Every XML element is an element node 3. The text in the XML elements are text nodes 4. Every attribute is an attribute node 5. Comments are comments