Document Object Model

(redirected from Dom2)

Document Object Model

(hypertext, language, World-Wide Web)
A W3C specification for application program interfaces for accessing the content of HTML and XML documents.

http://w3.org/DOM/.
This article is provided by FOLDOC - Free Online Dictionary of Computing (foldoc.org)

DOM

(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 ?
The trend of healthy cooking also meant that some brands such as Samsung developed Fry Slim technology to fry without oil (Smart oven Cello) or even cook charcoal grilled meat with LG's technology (Solar Dom2 Asador).
The WHOQOL-BREF-HK is used to measure the QOL in the subjective sense, and covers 4 major domains or subscales with respect to QOL: physical health (DOM1), psychological health (DOM2), social relationships (DOM3), and environment (DOM4).
Data from the WHOQOL-BREF-HK were analysed for each of the 4 QOL domains to give the following Cronbach's alphas: DOM1 (0.43), DOM2 (0.70), DOM3 (0.63), and DOM4 (0.78).
Furthermore, there were significant differences between the mean scores of subjects with different types of mental illnesses (DOM1 [F = 4.94, p < 0.001], DOM2 [F = 4.84, p < 0.001], and DOM4 [F = 2.79, p = 0.04]).
The duration of illness was found to have a significant positive correlation with total QOL (r = 0.25, p = 0.02) and in particular with the 3 domains of DOM1 (r = 0.20, p = 0.04), DOM2 (r = 0.27, p = 0.01), and DOM4 (r = 0.28, p = 0.01).
The age at onset of illness was significantly correlated with total QOL (r = -0.24, p = 0.02) as well as the 3 domains: DOM1 (r = -0.25, p = 0.01), DOM2 (r = -0.23, p = 0.02), and DOM4 (r = -0.25, p = 0.01).
QOL scores for patients in groups A and B before the start of treatment WHOQOL-Bref questionnaire Section Chisan group A Placebo group B DOM1 Physical 10.80 [+ or -] 1.72 11.10 [+ or -] 2.58 DOM2 Psychological 11.25 [+ or -] 1.71 11.98 [+ or -] 1.73 DOM3 Social 11.58 [+ or -] 1.73 12.40 [+ or -] 2.12 DOM4 Ecological 13.62 [+ or -] 2.44 13.51 [+ or -] 2.49 Values shown are means[+ or -]standard deviation (n = 30).
(30.) These votes are listed in the Appendix; Family and Medical Leave (DOM1), Unemployment Benefits Extension (DOM2), Campaign Finance (DOM4), National Service (DOM5), the Brady Bill (DOM10), the 1993 Budget Reconciliation (DOM13), Goals 2000: Educate America (DOM17), the Omnibus Crime Bill (DOM22), Deployment of Troops in Haiti (FOR12), NAFTA (INT6), and GATT (INT9).
The level and growth data from the 1993 series are labeled M2 and DM2; the data from H.6 are labeled HM2 and DHM2; and the data from the Bulletin are labeled OM2 and DOM2.
To the extent revisions did matter, long-term retrospective changes (the difference between M2 and O2, or DM2 and DOM2) are more important than those occurring within two months of initial publication.