(2) (Document Object Model) A specification for a programming interface (API) from the W3C that allows programs and scripts to update the content, structure and style of HTML and XML documents. A DOM implementation in a Web browser provides a core set of functions that let scripts access browser elements such as windows and history. Additional functions allow updating of HTML style sheets and XML content.
It Makes the Document Look Like a Database
DOM is especially useful for XML documents because it converts the document in memory into a hierarchical node tree that looks like a database record. The node tree allows updating in a similar manner to database updating, making data exchange between XML documents and databases more straightforward. Without DOM turning the document into an object model and handling the updating, the text and tags in an XML document would have to be scanned sequentially and rearranged by the program. DOM was first introduced in late 1998.
An Event Model Was Added
DOM Level 2 was introduced in late 2000 and added numerous features including an event model that passes events (mouse clicks, text changes, etc.) down the node hierarchy to the target element. This allows any node on the path to react to the event before the target handler gets it. Depending on the event, the event may also travel back up the hierarchy (called "bubbling"). See DOM implementation, DOM application, SAX and object model.
Nodes in a DOM Tree
DOM converts (parses) an XML document into a hierarchical node tree as in this example. 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.
![]() | Reproduced with permission from Computer Desktop Encyclopedia. Copyright (c) 1981-2009 The Computer Language Company Inc. All rights reserved. |
Additional Resources
- Voila 2.5 (Mac)
- Voila lets you capture any shape, capture multiple regions, menu, webpage, DOM elements and capture from iSight. Add annotations like arrow, text, lines, shapes, brush, paint, callouts, stamps and image as annotations. Add cool effects such as filters, edges, skew and share via Mail, Flickr, FTP or iPhoto. Voila...
- Software downloads 2009-11-17
- Keynote Internet Testing Environment 3.0 (Windows)
- The KITE software resides on the users Windows desktop and provides a local and Internet testing environment to record, playback, and collect detailed performance metrics. KITE allows advanced scripting, detailed network performance and DOM analysis and more, and coupled with the ability to gather data from test locations in North...
- Software downloads 2009-11-02
- xB Browser 2.9.4.28 (Windows)
- The main advantage compared to other anonymous Web browsers is that xB Browser requires no configuration or technical knowledge in order to achieve anonymity. xB Browser is open-source so you can feel safe knowing what goes into our code. Additionally, it is even portable on a USB stick so you...
- Software downloads 2009-10-24
- Preview Party: Windows 7 makes a big splash in a Mac house
- No, they're not.[i]How sad that PC users are impressed and astonished when the following problems DON'T happen:[/i]Such events are abnormal for Windows too. Have been for years. If you're experiencing any of these then there's a problem you need to investigate and resolve. It's not normal behavior for Windows. Sam...
- Discussion threads 2009-10-09
- jQuery Cheat Sheet 2.0 (Mobile)
- jQuery Cheat Sheet is a reference for jQuery syntax and arguments from time to time. It's searchable interface that helps you quickly find what you're looking for. The cheat sheet includes descriptions, examples, arguments, and returns for jQuery Core, CSS, JavaScript, events, effects, Ajax, DOM attributes DOM manipulation, DOM traversing,...
- Software downloads 2009-09-08
- JavaScript Cheat Sheet 1.0.1 (Mobile)
- With JavaScript Cheat Sheet provides a reference to web developers in JavaScript methods, properties and syntax from time to time. The categories are well defined. The cheat sheet includes descriptions, properties, and methods for working with strings, dates, arrays, math, DOM, and regular expressions.
- Software downloads 2009-09-08
- Google Books sued by a pig, cat and dog
- LosersThis just underlines how pathetic these lawsuit-hungry companies are in hoping to cash in on what Google has created. They couldn't come up with a business model to monetize these works so they sue someone who has figured it out.Anti-capitalism at its best.4 legs good; 2 legs betterRight, Amazon?Bunch of...
- Discussion threads 2009-08-21
- Nevron Diagram for .NET Professional 2009.1 (Windows)
- Nevron Diagram for .NET is a fully managed, extensible and powerful diagramming framework, which can help you create interactive and feature rich diagram and map solutions in WinForms and ASP.NET projects. The product is based on the solid Model - View - Controller architecture, which ensures the scalability of its...
- Software downloads 2009-07-13
- Nevron Diagram for .NET Enterprise 2009.1 (Windows)
- The Nevron Diagram for .NET is a fully managed, extensible and powerful diagramming framework, which can help you create interactive and feature rich diagram and map solutions in WinForms and ASP.NET projects. The product is based on the solid Model - View - Controller architecture, which ensures the scalability of...
- Software downloads 2009-07-13
- Benchmarking Firefox 3.5
- Benchmarking Firefox 3.5Benchmarking Firefox 3.5Any reason you chose to benchmark 3.0.5 instead of 3.0.11? Not a gripe, just curious. If its something like no speed improvements since the 3.0.5 patches then that's understandable.Something unexpected hereI just ran a Sunspider of FF3.5 running in Win7 build 7100 on this...
- Discussion threads 2009-06-30
- QNAP introduces 'smallest 8-bay Atom NAS'
- QNAP today introduced its SS-839 Pro Turbo NAS, the "world's smallest 8-bay, Intel Atom network attached storage" device, which supports eight 2.5-in. hard drives or solid state drives. Intended for business users who are looking for high performance, stability, scalability, low noise and...
- Blog posts 2009-06-22
- Google plugs 'high risk' WebKit holes in Chrome
- Google has shipped a Chrome browser update to fix two serious security issues in WebKit. According to Google Chrome program manager Mark Larson, the most serious of the two flaws could allow hackers to execute harmful code in the browser's sandbox. It is rated "high severity."...
- Blog posts 2009-06-11
- Google I/O: How do I code thee? Let me count the ways
- Dan Morrill presented a great talk this morning on the 3 different ways to code for Android: Managed Code Dalvik, Ajax, and Native Code. To demonstrate the different ways Dan decided to write the same app , a k-means clustering application, 3 different ways. The first way...
- Blog posts 2009-05-27
- Lemonade Tycoon for iPhone 1.0.17 (Mobile)
- When you were 10, it was easy to sell a few cups on the corner. But you will have to twist it up a notch to build a tasty empire. Business couldn't be sweeter as you hustle and get creative, turning piles of lemons into piles of cash. Manage your...
- Software downloads 2009-04-27
- Mozilla plugs Firefox code execution holes
- Mozilla today shipped Firefox 3.0.7 with fixes for at least eight security flaws, some rated critical. The most serious of the vulnerabilities could be exploited by attackers to run code and install software, requiring no user interaction beyond normal browsing, Mozilla warned in...
- Blog posts 2009-03-04
- Demeter 1.5b3 (Mac)
- Demeter is based off of the Shiira 1.x line of browser at http://shiira.jp/en.php. All the features of Shiira 1.X plus: Keychain Access with selective password saving iTunes Remote Function - Control iTunes from Demeter's sidebar (*beta) Integrated ad-blocking (*soon) New DOM inspector (Safari Beta 3 must be installed) Spell Checking...
- Software downloads 2009-02-21
- The Web Changes Everything: Understanding the Dynamics of Web Content
- The Web is a dynamic, ever changing collection of information. This paper explores changes in Web content by analyzing a crawl of 55,000 Web pages, selected to represent different user visitation patterns. Although change over long intervals has been explored on random and potentially unvisited samples of Web pages, little...
- White papers 2009-02-12
- How to make your website really, really fast
- Steve Souders knows how to make a website speed through a web browser. And he works at Google, one of the fastest websites around. Web performace is a two-pronged beast: efficiency and response time. Efficiency deals with the scalability challenges...
- Blog posts 2009-02-09
- ‘Fastest ECMAScript engine on market’ for Opera
- ‘Fastest ECMAScript engine on market’ for OperaGood to seeIt's good to see that many vendors are focusing on JavaScript performance -- first Google, now Opera. The IE team also made performance a big part of their IE8 redesign, but maybe this will put some pressure on to go further.On...
- Discussion threads 2009-02-06
- XMLLib osax 3.1.3 (Mac)
- XMLLib osax is a Scripting Addition which implements the XML DOM in AppleScript. Features include: opening, validating, closing, saving an XML document browsing an XML tree - parents, children, siblings searching an XML tree - sending a XPATH request editing, creating, removing an XML node searching text in...
- Software downloads 2009-01-06
Neighboring Terms
Premier Vendor Content Whitepapers, webcasts & resources from our Power Center Sponsors
- The best support in the Linux business
-
If Linux is going to power your mission-critical applications, you'd better have the best support known to business. Novell was rated the top provider of Linux technical support.

- Learn more >>
- Learn more about tools to grow your business
-
The Business Essentials Guide provides you useful tools and templates to help grow your business and save you time with automated shipping solutions.
- Save time with the UPS Business Essentials Guide
- Reduce risk. Reduce complexity. Increase reliability.
-
A simplified IT environment isn't just less complex. It's also more reliable. Standardize on a single Linux platform with SUSE Linux Enterprise from Novell, and get the world's most interoperable Linux

- Learn more >>
- The best support in the Linux business
-
If Linux is going to power your mission-critical applications, you'd better have the best support known to business. Novell was rated the top provider of Linux technical support.

- Learn more >>









