November 2002
Intermediate to advanced
1120 pages
21h 2m
English
The Document Object Model, DOM for short, is an abstract data structure that represents XML documents as trees made up of nodes. Various interfaces in the org.w3c.dom package represent elements, attributes, parsed character data, comments, and processing instructions. All of these are subinterfaces of the common Node interface, which provides basic methods for navigating and pruning the tree.
The root of the tree is a Document object that represents a complete, well-formed document. A parser reads an XML document from a stream and builds a Document object representing that XML document. The client program calls the methods of Document and the other DOM interfaces to navigate the tree and extract information ...
Read now
Unlock full access