DOM
The Document Object Model defines a tree-based representation of XML documents. The org.w3c.dom package contains the basic node classes that represent the different components which make up the tree. The org.w3c.dom.traversal package includes some useful utility classes for navigating, searching, and querying the tree.
DOM Level 2, the version described here, is incomplete. It does not define how a DOMImplementation is loaded, how a document is parsed, or how a document is serialized. For the moment, JAXP provides a stopgap solution. Eventually, DOM3 will fill in these holes, but because it was far from complete at the time of this writing, this appendix covers DOM2 exclusively.
The DOM Data Model
Table A.1 summarizes the DOM data model with ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access