Document Object Model

Also found in: Dictionary, Medical, Financial, Acronyms, Wikipedia.

Document Object Model

(hypertext, language, World-Wide Web)
A W3C specification for application program interfaces for accessing the content of HTML and XML documents.
This article is provided by FOLDOC - Free Online Dictionary of Computing (


(1) See disk on module.

(2) (Document Object Model) A programming interface (API) from the W3C that lets applications and scripts render the data in XML, XHTML and HTML files as a hierarchical tree structure.

DOM Creates a Database Record (Row/Tuple)
Introduced in 1998, the DOM implementation converts XML documents into a hierarchical node tree in RAM that looks like a database record, a.k.a. a row or tuple. The node tree allows updating in a similar manner to traditional database updating, making data exchange between XML documents and databases more straightforward. Without DOM, the text and tags in an XML document have to be scanned sequentially and rearranged by the program.

Event Processing
In 2000, DOM Level 2 (DOM2) gave the programmer a way to handle events such as mouse down, mouse click and mouse over. Events may be preprocessed at any tag from the top of the tree to the target tag at the bottom ("capture" phase) and then back up ("bubbling" phase). These phases were implemented for backward compatibility with earlier Netscape and IE browsers. See DOM implementation, DOM application, SAX and object model.

Nodes in an XML Record
DOM converts (parses) an XML document into a hierarchical node tree. Writing an XML update program is then similar to writing a database update program, using the same kinds of functions available in a database management system (see DBMS).
Copyright © 1981-2019 by The Computer Language Company Inc. All Rights reserved. THIS DEFINITION IS FOR PERSONAL USE ONLY. All other reproduction is strictly prohibited without permission from the publisher.
References in periodicals archive ?
DOM (1998) Document Object Model (DOM), retrieved January 15, 2008 from
The first section opens with a brief synopsis of XML and its usage with other application strategies, and then presents information on XML concepts such as the hierarchical Document Object Model. The description of the Visual Basic reader and writer classes for XML, as well as Simple API for XML, clearly compares different models available for processing XML files.
The keystone of this architecture is the W3C Document Object Model (DOM) that reduces a Web page down to its most basic elements, allowing it to be reorganized or manipulated using JavaScript.
Leading the Web to its full potential, the World Wide Web Consortium (W3C) today published the Document Object Model (DOM) Level 2 HTML as a W3C Recommendation.
The World Wide Web Consortium (W3C), in partnership with NIST, released the first version of the Document Object Model (DOM) Conformance Test Suite, Level 1 Core.
According to Matt Malden, senior director of product marketing for Siebel's Call Center Web Services products, they have seen a "trend in consolidation of information and consistency of information across all channels." Drawing on its vast customer base, Siebel worked with more than 70 data customers on the Web/client application, the Siebel Smart Web Client, which in Siebel 7 uses Dynamic HTML (a combination of HTML, JavaScript and Document Object Model [DOM]).
Both are aimed at allowing data used to drive document composition processes to be transformed and outputted in XML, with the Data Parser product providing non-invasive parsing of flat-file data streams while XML Generator creates XML output using an XML document object model tree approach.
The World Wide Web Consortium is currently developing the Document Object Model (DOM), which is an object-oriented application interface for HTML and XML documents.

Full browser ?