The Document Object Model (DOM) protocol converts an XML document into a collection of objects in your program. You can then manipulate the object model in any way that makes sense. This mechanism is also known as the random access protocol because it permits you to access any part of the data at any time. You can then modify the data, remove it, or insert new data.
Typically, this protocol is used in applications that display and modify XML documents. If you are writing servlets and network-oriented programs, you might prefer to use the SAX mechanism, which is the fastest and least memory-intensive mechanism currently available for dealing with XML documents. Before you can generate a DOM tree scanner that can read your XML files, you must have an external document type definition (DTD) defined for the files that you want to scan.
A node for the DOM scanner file appears in the Files window, and the file is displayed in the Source Editor.
For more information on programming with DOM, see the DOM tutorial at: