Document Object Model

From GM-RKB
Jump to navigation Jump to search

See: Object Model, Document, DOM Tree, XML, XHTML, HTML.



References

2016

2011

2001

  • Philippe Le Hégaret, Lauren Wood, and Jonathan Robie. (2000). “What is the Document Object Model?."
    • QUOTE:The Document Object Model (DOM) is an application programming interface (API) for valid HTML and well-formed XML documents. It defines the logical structure of documents and the way a document is accessed and manipulated. In the DOM specification, the term "document" is used in the broad sense - increasingly, XML is being used as a way of representing many different kinds of information that may be stored in diverse systems, and much of this would traditionally be seen as data rather than as documents. Nevertheless, XML presents this data as documents, and the DOM may be used to manage this data.

      With the Document Object Model, programmers can build documents, navigate their structure, and add, modify, or delete elements and content. Anything found in an HTML or XML document can be accessed, changed, deleted, or added using the Document Object Model, with a few exceptions - in particular, the DOM interfaces for the XML internal and external subsets have not yet been specified.

      As a W3C specification, one important objective for the Document Object Model is to provide a standard programming interface that can be used in a wide variety of environments and applications. The DOM is designed to be used with any programming language. In order to provide a precise, language-independent specification of the DOM interfaces, we have chosen to define the specifications in Object Management Group (OMG) IDL [OMGIDL], as defined in the CORBA 2.3.1 specification [CORBA]. In addition to the OMG IDL specification, we provide language bindings for Java [Java] and ECMAScript [ECMAScript] (an industry-standard scripting language based on JavaScript [JavaScript] and JScript [JScript]).


  1. "What is the DOM?". http://www.w3schools.com/: W3 Schools. http://www.w3schools.com/dom/dom_intro.asp. Retrieved 2011-04-20. "The W3C Document Object Model (DOM) is a platform and language-neutral interface that allows programs and scripts to dynamically access and update the content, structure, and style of a document." The DOM is separated into three different parts/levels: Core DOM: standard model for any structured document, XML DOM: standard model for XML documents, and HTML DOM: standard model for HTML documents"