JMU
The XML Document Object Model
An Introduction


Prof. David Bernstein
James Madison University

Computer Science Department
bernstdh@jmu.edu


Text Documents
Text Documents (cont.)

A Simple (Hierarchical) Model

document_abstraction
Modeling Other Documents
The XML Document Object Model (DOM)
The XML Document Object Model (cont.)

A Portion of the DOM 2.0 Core (in UML)

dom2_structure
The Node Interface
The Node Interface
The NodeList Interface
The NamedNodeMap Interface
The Attr Interface
The Element Interface
The Document Interface
Other Interfaces