Document Object Model: Difference between revisions

The educational technology and digital learning wiki
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 19: Line 19:


* [http://www.w3.org/TR/REC-DOM-Level-1/ Document Object Model (DOM) Level 1 Specification]
* [http://www.w3.org/TR/REC-DOM-Level-1/ Document Object Model (DOM) Level 1 Specification]
*Level 2 Recommendations:
* Level 2 Recommendations:
**[http://www.w3.org/TR/DOM-Level-2-Core/ Document Object Model (DOM) Level 2 Core Specification]
** [http://www.w3.org/TR/DOM-Level-2-Core/ Document Object Model (DOM) Level 2 Core Specification]
**[http://www.w3.org/TR/DOM-Level-2-Views/ Document Object Model (DOM) Level 2 Views Specification]
** [http://www.w3.org/TR/DOM-Level-2-Views/ Document Object Model (DOM) Level 2 Views Specification]
**[http://www.w3.org/TR/DOM-Level-2-Events/ Document Object Model (DOM) Level 2 Events Specification]
** [http://www.w3.org/TR/DOM-Level-2-Events/ Document Object Model (DOM) Level 2 Events Specification]
**[http://www.w3.org/TR/DOM-Level-2-Style/ Document Object Model (DOM) Level 2 Style Specification]
** [http://www.w3.org/TR/DOM-Level-2-Style/ Document Object Model (DOM) Level 2 Style Specification]
**[http://www.w3.org/TR/DOM-Level-2-Traversal-Range/ Document Object Model (DOM) Level 2 Traversal and Range Specification]
** [http://www.w3.org/TR/DOM-Level-2-Traversal-Range/ Document Object Model (DOM) Level 2 Traversal and Range Specification]
**[http://www.w3.org/TR/DOM-Level-2-HTML/ Document Object Model (DOM) Level 2 HTML Specification]
** [http://www.w3.org/TR/DOM-Level-2-HTML/ Document Object Model (DOM) Level 2 HTML Specification]
*Level 3 Recommendations:
*Level 3 Recommendations:
**[http://www.w3.org/TR/DOM-Level-3-Core/ Document Object Model (DOM) Level 3 Core Specification]
** [http://www.w3.org/TR/DOM-Level-3-Core/ Document Object Model (DOM) Level 3 Core Specification]
**[http://www.w3.org/TR/DOM-Level-3-LS/ Document Object Model (DOM) Level 3 Load and Save Specification]
** [http://www.w3.org/TR/DOM-Level-3-LS/ Document Object Model (DOM) Level 3 Load and Save Specification]
**[http://www.w3.org/TR/DOM-Level-3-Val/ Document Object Model (DOM) Level 3 Validation Specification]
** [http://www.w3.org/TR/DOM-Level-3-Val/ Document Object Model (DOM) Level 3 Validation Specification]
*Level 3 Working Group Notes:
* Level 3 Working Group Notes:
**[http://www.w3.org/TR/DOM-Level-3-XPath/ Document Object Model (DOM) Level 3 XPath Specification]
** [http://www.w3.org/TR/DOM-Level-3-XPath/ Document Object Model (DOM) Level 3 XPath Specification]
**[http://www.w3.org/TR/DOM-Level-3-Views/ Document Object Model (DOM) Level 3 Views and Formatting Specification]
** [http://www.w3.org/TR/DOM-Level-3-Views/ Document Object Model (DOM) Level 3 Views and Formatting Specification]
**[http://www.w3.org/TR/DOM-Requirements/ Document Object Model (DOM) Requirements]
** [http://www.w3.org/TR/DOM-Requirements/ Document Object Model (DOM) Requirements]
*Working Draft
*Working Draft
**[http://www.w3.org/TR/Window/ Window Object 1.0]
** [http://www.w3.org/TR/Window/ Window Object 1.0]. This is a very frequently used informally specified object...


* See also the [http://www.w3.org/Consortium/Translation/ W3C Translations] page (certaines pages existent en français)
* See also the [http://www.w3.org/Consortium/Translation/ W3C Translations] page (certaines pages existent en français)
Line 52: Line 52:


* [http://www.mozilla.org/docs/dom/reference/links.html Links and Resources to the W3C DOM] (at Mozilla.org)
* [http://www.mozilla.org/docs/dom/reference/links.html Links and Resources to the W3C DOM] (at Mozilla.org)


[[fr: Document Object Model]]
[[fr: Document Object Model]]
[[Category:XML]]
[[Category:XML]]
[[Category:Programming]]
[[Category:Programming]]

Latest revision as of 16:36, 3 April 2008

Draft

Definition

The Document Object Model (DOM) is a model "in which the document or Web page contains objects (elements, links, etc.) that can be manipulated. So you will be able to delete, add, or change an element (as long as the document is still valid, of course!), change its content or add, delete or change an attribute. You will be able to get a list of all the H1 elements in the document, or all the elements with an attribute CLASS="foo". (W3C DOM FAQ, retrieved 27 March 2008)

More technically speaking the DOM is a series of API's that provide “a standardized, versatile view of a document's contents. By supporting the DOM API, a program not only allows its data to be manipulated by other routines, but does so in a way that allows those manipulations to be reused with other DOMs, or to take advantage of solutions already written for those DOMs. This interoperability also allows programmers who invest in learning to use the DOM calls to apply those skills to other DOMs.” (W3C DOM FAQ, retrieved 27 March 2008)

See also: JavaScript links, XHTML, AJAX etc.

Links

Overviews

Standards

FAQs

Tutorials

Links/index/resource pages