ÍøÂçѧԺ w3popÉçÇø ÍøÂç×ÊÔ´ ITÐÂÎÅ

w3pop.com :: ÍøÂçѧԺ :: Internet :: W3C DOM

»áÔ±µÇ½

ÕʺÅ

ÃÜÂë

»Ø´ð

¼ÇסÃÜÂë

Íü¼ÇÃÜÂë? ×¢²á

Internet
²¥·ÅQuickTimeµçÓ..
²¥·ÅRealÊÓÆµµçÓ°
ÍøÂç¶àýÌåÔªËØ²Î..
WindowsýÌå²¥·ÅÆ..
MIME ²Î¿¼
W3C ¼ò½é
W3C ±ê×¼»¯½ø³Ì
W3C HTML
W3C XHTML
W3C XML
W3C CSS
W3C XSL
W3C XML Schema
W3C XPath
W3C XQuery
W3C DOM
W3C Soap
W3C WSDL
W3C RDF ºÍ OWL
W3C SMIL

W3C DOM


×÷Õß:w3pop.com ·­Òë/ÕûÀí:w3pop.com ·¢²¼:2007-04-29 ÐÞ¸Ä:2007-06-07 ä¯ÀÀ:3146 :: ::

The Document Object Model (DOM) is a platform and language neutral Application Programming Interface (API) that allows programs to access and update the content, structure, and style of a document.
Îĵµ¶ÔÏóÄ£ÐÍ£¨DOM£©ÊÇÔÊÐí¶ÔÎĵµÄÚÈÝ¡¢½á¹¹¡¢·ç¸ñ½øÐзÃÎʺ͸üеijÌÐòƽ̨ºÍÓïÑÔÖÐÁ¢Ó¦ÓóÌÐò½Ó¿Ú¡£


DOM Tutorials
DOM ½Ì³Ì

To learn more about the DOM, read our HTML DOM tutorial and our XML DOM tutorial.
ѧϰ¸ü¶à¹ØÓÚDOMµÄ֪ʶ£¬ÇëÔĶÁÎÒÃǵÄHTML DOM ½Ì³Ì ºÍÎÒÃÇµÄ XML DOM ½Ì³Ì¡£


DOM Level 0

The DOM Level 0 is not a W3C specification. It is just a definition of the functionality equivalent to that found in Netscape Navigator 3.0 and Microsoft Internet Explorer 3.0.
DOM Level 0 ²¢²»ÊÇW3CµÄ¹æ·¶¡£Ëü½öÊǶÔNetscape Navigator 3.0ºÍMicrosoft Internet Explorer 3.0Ïà¹Ø¹¦ÄÜÐԵĽ綨¡£

Key players in the development of the DOM has been people from ArborText, IBM, Inso EPS, JavaSoft, Microsoft, Netscape, Novell, the Object Management Group, SoftQuad, Sun Microsystems, and Texcel.
DOMµÄ·¢Õ¹¹ý³ÌÖеÄÖ÷Òª½ÇÉ«ÊÇ£ºArborText¡¢IBM¡¢Inso EPS¡¢JavaSoft¡¢Microsoft¡¢Netscape¡¢Novell¡¢the Object Management Group¡¢SoftQuad¡¢Sun Microsystems ºÍ Texcel¡£

W3C's DOM Level 1 builds on this functionality.
W3CµÄ DOM Level 1ÊÇÔÚÕâ¸ö»ù´¡ÉϽ¨Á¢ÆðÀ´µÄ¡£


DOM Level 1

DOM Level 1 concentrates on HTML and XML document models. It contains functionality for document navigation and manipulation.
DOM Level 1Ö÷ÒªÖÂÁ¦ÓÚHTMLºÍXMLÎĵµÄ£ÐÍ¡£Ëü°üº¬ÁËÎĵµµ¼º½ºÍÎĵµ²Ù×÷µÄÐÔÄÜ¡£

DOM Level 1 was released as a W3C Recommendation 1. October 1998.
DOM Level 1 ÊÇW3CÓÚ1998Äê10ÔÂ1ÈÕ½«ÆäÁÐÎªÍÆ¼öµÄ°æ±¾¡£

A Working Draft for a Second Edition (SE) was published 29. September. 2000.
µÚ¶þ°æ²Ý°¸ÓÚ2000Äê9ÔÂ29ÈÕ·¢²¼¡£


DOM Level 2

DOM Level 2 adds a style sheet object model to DOM Level 1, and defines functionality for manipulating the style information attached to a document.
DOM Level 2 ½«Ñùʽ±í¶ÔÏóÄ£ÐÍÌí¼Óµ½ÁËDOM Level 1ÖУ¬²¢¶¨ÒåÁËÓëÎĵµÏà¹ØµÄÑùʽÐÅÏ¢µÄ²Ù×÷¹¦ÄÜ¡£

DOM Level 2 also defines an event model and provides support for XML namespaces.
DOM Level 2 ͬʱ»¹¶¨ÒåÁËÖ§³ÖXML ÃüÃû¿Õ¼äµÄʱ¼äÄ£ÐÍ¡£

The DOM Level 2 specification was released as W3C Recommendations 13. November 2000:
DOM Level 2 ¹æ·¶ ÊÇW3CÓÚ2000Äê11ÔÂ13ÈÕ½«ÆäÁÐÎªÍÆ¼öµÄ°æ±¾¡£

DOM Level 2 Core [ºËÐÄ]

DOM Level 2 Core specifies an API to access and update the content and structure of documents. The API also contains interfaces dedicated to XML.
DOM Level 2 ºËÐÄÖ¸¶¨ÁËÓÃÓÚ·ÃÎʺ͸üÐÂÎĵµÄÚÈÝÒÔ¼°½á¹¹µÄAPI[Ó¦ÓóÌÐò½Ó¿Ú]¡£APIͬÑù»¹°üº¬´¦ÀíXMLµÄ½çÃæ¡£

DOM Level 2 HTML

DOM Level 2 HTML specifies an API to manipulate the structure and contents of an HTML document. (This part of the specification is still a working draft)
DOM Level 2 HTMLÖ¸¶¨ÁËÓÃÓÚ²Ù×÷HTMLÎĵµ½á¹¹ºÍÄÚÈݵÄAPI[Ó¦ÓóÌÐò½Ó¿Ú]¡££¨Õⲿ·Ö¹æ·¶ÈÔÈ»ÊÇÒ»¸ö¹¤×÷²Ý°¸£©

DOM Level 2 Views [Éó²é]

DOM Level 2 Views specifies an API to dynamically access and update the view of a document. A view is some alternate representation of, or a presentation of, a document.
DOM Level 2 Views ¹æ·¶Ö¸¶¨Á˶¯Ì¬·ÃÎʺ͸üÐÂÎĵµÉó²éµÄAPI[Ó¦ÓóÌÐò½Ó¿Ú]¡£Éó²éÊÇһЩÎĵµµÄ´ú±íºÍ³ÂÊö¡£

DOM Level 2 Style [Ñùʽ]

DOM Level 2 Style specifies an API to dynamically access and update the content style sheets.
DOM Level 2 Ñùʽָ¶¨Á˶¯Ì¬·ÃÎʺ͸üÐÂÄÚÈÝÑùʽ±íµÄAPI[Ó¦ÓýӿڳÌÐò]¡£

DOM Level 2 Events [ʼþ]

DOM Level 2 Events specifies an API to access document events.
DOM Level 2 ʼþÖ¸¶¨ÁË·ÃÎÊÎĵµÊ¼þµÄAPI[Ó¦ÓóÌÐò½Ó¿Ú]¡£

DOM Level 2 Traversal-Range [ºá¶Ï·¶Î§]

DOM Level 2 Traversal-Range specifies an API to dynamically traverse and identify a range of content in a document.
DOM Level 2 ºá¶Ï·¶Î§Ö¸¶¨ÁËÓÃÓÚ¶¯Ì¬È·ÈÏÎĵµÄÚÈÝ·¶Î§µÄAPI[Ó¦ÓóÌÐò½Ó¿Ú]¡£


DOM Level 3

DOM Level 3 specifies content models (DTD and Schemas) and document validation. It also specifies document loading and saving, document views, document formatting, and key events. DOM Level 3 builds on DOM Core Level 2.
DOM Level 3Ö¸¶¨ÁËÄÚÈÝÄ£ÐÍ£¨DTD ºÍ Schema£©ºÍÎĵµÈ·ÈÏ¡£Ëüͬʱ»¹Ö¸¶¨ÁËÎĵµ¼ÓÔØºÍ±£´æ¡¢ÎĵµÉó²é¡¢Îĵµ¸ñʽ»¯ºÍÖ÷Ҫʼþ¡£DOM Level 3ÊÇ»ùÓÚDOM ºËÐÄ Level 2µÄ¡£

DOM Level 3 Requirements [±ØÒª²ÎÊý]

The DOM Requirements document has been updated for Level 3 requirements and was released as a Working Draft 12. April 2000.
DOM ±ØÒª²ÎÊýÎĵµÊǶÔLevel 3 ±ØÒª²ÎÊýµÄ¸üУ¬²¢ÔÚ2000Äê4ÔÂ12ÈÕ×÷Ϊ¹¤×÷²Ý°¸·¢²¼¡£

The following DOM Level 3 Working Drafts were released 1. September 2000:
ÏÂÃæÁоÙÁË2000Äê9ÔÂ1ÈÕËù·¢²¼µÄDOM Level 3¹¤×÷²Ý°¸£º

DOM Level 3 Core [ºËÐÄ]

DOM Level 3 Core specifies an API to access and update the content, structure and style of documents.
DOM Level 3 ºËÐÄÖ¸¶¨ÁËÓÃÓÚ·ÃÎʺ͸üÐÂÎĵµÄÚÈÝ¡¢½á¹¹¼°ÑùʽµÄAPI[Ó¦ÓóÌÐò½Ó¿Ú]¡£

DOM Level 3 Events [ʼþ]

The DOM Level 3 Events API expands the functionality of the Level 2 Event API by adding new interfaces and new event sets.
DOM Level 3 ʼþAPI ͨ¹ýÌí¼ÓȫеÄʼþÊôÐÔÀ©Õ¹ÁËLevel 2 ʼþAPI µÄ¹¦ÄÜÐÔ¡£

DOM Level 3 Load and Save [¼ÓÔØºÍ±£´æ]

DOM Level 3 Content Model specifies an API for document loading and saving, content models (DTD and Schemas) and document validation support.
DOM Level 3 ÄÚÈÝÄ£ÐÍÖ¸¶¨ÁËÓÃÓÚÎĵµ¼ÓÔØºÍ±£´æ¡¢ÄÚÈÝÄ£ÐͺÍÎĵµÈ·ÈÏÖ§³ÖµÄAPI£¨DTD ºÍ Schema£©¡£

DOM Level 3 Views and Formatting
DOM Level 3 Éó²éºÍ¸ñʽ»¯

DOM Level 3 Views specifies an API to dynamically access and update the view of a document. A view is some alternate representation of, or a presentation of, a document.
DOM Level 3 Éó²éÖ¸¶¨Á˶¯Ì¬·ÃÎʺ͸üÐÂÎĵµÉó²éÄÚÈݵÄAPI¡£Éó²éÊÇһЩÎĵµµÄ´ú±íºÍ³ÂÊö¡£


W3C DOM Specifications and Timeline
W3C DOM ¹æ·¶ºÍʱ¼ä±í

Specification
¹æ·¶
Draft / Proposal
²Ý°¸ / ÌáÒé
W3C Recommendation
W3C ÍÆ¼öʱ¼ä±í
     
DOM Level 1   01. Oct 1998 [1998Äê10ÔÂ1ÈÕ]
DOM Level 1 (SE) [µÚ¶þ°æ] 29. Sep 2000 [2000Äê9ÔÂ29ÈÕ]
 
     
DOM Level 2 Core [ºËÐÄ]   13. Nov 2000 [2000Äê11ÔÂ13ÈÕ]
DOM Level 2 HTML   09. Jan 2003 [2003Äê1ÔÂ9ÈÕ]
DOM Level 2 Views [Éó²é]   13. Nov 2000 [2000Äê11ÔÂ13ÈÕ]
DOM Level 2 Style [Ñùʽ]   13. Nov 2000 [2000Äê11ÔÂ13ÈÕ]
DOM Level 2 Events [ʼþ]   13. Nov 2000 [2000Äê11ÔÂ13ÈÕ]
DOM Level 2 Traversal-Range[ºá¶Ï·¶Î§]   13. Nov 2000 [2000Äê11ÔÂ13ÈÕ]
     
DOM Level 3 Requirements 26. Feb 2004 [2004Äê2ÔÂ28ÈÕ]
 
DOM Level 3 Core   07. Apr 2004 [2004Äê4ÔÂ7ÈÕ]
DOM Level 3 Events 13. Apr 2006 [2006Äê4ÔÂ13ÈÕ]
 
DOM Level 3 Load and Save   07. Apr 2004 [2004Äê4ÔÂ7ÈÕ]
DOM Level 3 Validation   27. Jan 2004 [2004Äê1ÔÂ27ÈÕ]
DOM Level 3 XPath 26. Feb 2004 [2004Äê2ÔÂ26ÈÕ]
 
DOM Level 3 Views 26. Feb 2004 [2004Äê2ÔÂ26ÈÕ]
 

 


W3C Reference:
W3C ²Î¿¼±ê×¼£º

W3C DOM Home Page [W3C DOM Ö÷Ò³]

ÆÀÂÛ (0) All