[W3C]
Document Object Model (DOM) Level 2 Core Specification
Version 1.0
W3C Recommendation 13 November, 2000
This version:
http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113
( PostScript file , PDF file , plain text , ZIP file)
Latest version:
http://www.w3.org/TR/DOM-Level-2-Core
Previous version:
http://www.w3.org/TR/2000/PR-DOM-Level-2-Core-20000927
Editors:
Arnaud Le Hors, W3C team contact until October 1999, then IBM
Philippe Le H間aret, W3C, team contact (from November 1999)
Lauren Wood, SoftQuad Software Inc., WG Chair
Gavin Nicol, Inso EPS (for DOM Level 1)
Jonathan Robie, Texcel Research and Software AG (for DOM Level 1)
Mike Champion, ArborText and Software AG (for DOM Level 1 from November
20, 1997)
Steve Byrne, JavaSoft (for DOM Level 1 until November 19, 1997)
Copyright � 2000 W3C� (MIT, INRIA, Keio), All Rights Reserved. W3C
liability, trademark, document use and software licensing rules apply.
----------------------------------------------------------------------------
Abstract
This specification defines the Document Object Model Level 2 Core, a
platform- and language-neutral interface that allows programs and scripts to
dynamically access and update the content and structure of documents. The
Document Object Model Level 2 Core builds on the Document Object Model Level
1 Core.
The DOM Level 2 Core is made of a set of core interfaces to create and
manipulate the structure and contents of a document. The Core also contains
specialized interfaces dedicated to XML.
Status of this document
This section describes the status of this document at the time of its
publication. Other documents may supersede this document. The latest status
of this document series is maintained at the W3C.
This document has been reviewed by W3C Members and other interested parties
and has been endorsed by the Director as a W3C Recommendation. It is a
stable document and may be used as reference material or cited as a
normative reference from another document. W3C's role in making the
Recommendation is to draw attention to the specification and to promote its
widespread deployment. This enhances the functionality and interoperability
of the Web.
This document has been produced as part of the W3C DOM Activity. The authors
of this document are the DOM Working Group members. Different modules of the
Document Object Model have different editors.
Please send general comments about this document to the public mailing list
www-dom@w3.org. An archive is available at
http://lists.w3.org/Archives/Public/www-dom/.
The English version of this specification is the only normative version.
Information about translations of this document is available at
http://www.w3.org/2000/11/DOM-Level-2-translations.
The list of known errors in this document is available at
http://www.w3.org/2000/11/DOM-Level-2-errata
A list of current W3C Recommendations and other technical documents can be
found at http://www.w3.org/TR.
Table of contents
* Expanded Table of Contents
* Copyright Notice
* What is the Document Object Model?
* 1. Document Object Model Core
* Appendix A: Changes
* Appendix B: Accessing code point boundaries
* Appendix C: IDL Definitions
* Appendix D: Java Language Binding
* Appendix E: ECMAScript Language Binding
* Appendix F: Acknowledgements
* Glossary
* References
* Index
13 November, 2000
Expanded Table of Contents
* Expanded Table of Contents
* Copyright Notice
o W3C Document Copyright Notice and License
o W3C Software Copyright Notice and License
* What is the Document Object Model?
o Introduction
o What the Document Object Model is
o What the Document Object Model is not
o Where the Document Object Model came from
o Entities and the DOM Core
o Conformance
o DOM Interfaces and DOM Implementations
* 1. Document Object Model Core
o 1.1. Overview of the DOM Core Interfaces
+ 1.1.1. The DOM Structure Model
+ 1.1.2. Memory Management
+ 1.1.3. Naming Conventions
+ 1.1.4. Inheritance vs. Flattened Views of the API
+ 1.1.5. The DOMString type
+ 1.1.6. The DOMTimeStamp type
+ 1.1.7. String comparisons in the DOM
+ 1.1.8. XML Namespaces
o 1.2. Fundamental Interfaces
o 1.3. Extended Interfaces
* Appendix A: Changes
o A.1. Changes between DOM Level 1 Core and DOM Level 2 Core
+ A.1.1. Changes to DOM Level 1 Core interfaces and exceptions
+ A.1.2. New features
* Appendix B: Accessing code point boundaries
o B.1. Introduction
o B.2. Methods
* Appendix C: IDL Definitions
* Appendix D: Java Language Binding
* Appendix E: ECMAScript Language Binding
* Appendix F: Acknowledgements
o F.1. Production Systems
* Glossary
* References
o 1. Normative references
o 2. Informative references
* Index
13 November, 2000
Copyright Notice
Copyright � 2000 World Wide Web Consortium, (Massachusetts Institute of
Technology, Institut National de Recherche en Informatique et en
Automatique, Keio University). All Rights Reserved.
This document is published under the W3C Document Copyright Notice and
License. The bindings within this document are published under the W3C
Software Copyright Notice and License. The software license requires "Notice
of any changes or modifications to the W3C files, including the date changes
were made." Consequently, modified versions of the DOM bindings must
document that they do not conform to the W3C standard; in the case of the
IDL definitions, the pragma prefix can no longer be 'w3c.org'; in the case
of the Java Language binding, the package names can no longer be in the
'org.w3c' package.
-------
W3C Document Copyright Notice and License
Note: This section is a copy of the W3C Document Notice and License and
could be found at
http://www.w3.org/Consortium/Legal/copyright-documents-19990405.
Copyright � 1994-2000 World Wide Web Consortium, (Massachusetts Institute of
Technology, Institut National de Recherche en Informatique et en
Automatique, Keio University). All Rights Reserved.
http://www.w3.org/Consortium/Legal/
Public documents on the W3C site are provided by the copyright holders under
the following license. The software or Document Type Definitions (DTDs)
associated with W3C specifications are governed by the Software Notice. By
using and/or copying this document, or the W3C document from which this
statement is linked, you (the licensee) agree that you have read,
understood, and will comply with the following terms and conditions:
Permission to use, copy, and distribute the contents of this document, or
the W3C document from which this statement is linked, in any medium for any
purpose and without fee or royalty is hereby granted, provided that you
include the following on ALL copies of the document, or portions thereof,
that you use:
1. A link or URL to the original W3C document.
2. The pre-existing copyright notice of the original author, or if it
doesn't exist, a notice of the form: "Copyright � [$date-of-document]
World Wide Web Consortium, (Massachusetts Institute of Technology,
Institut National de Recherche en Informatique et en Automatique, Keio
University). All Rights Reserved. http://www.w3.org/Consortium/Legal/"
(Hypertext is preferred, but a textual representation is permitted.)
3. If it exists, the STATUS of the W3C document.
When space permits, inclusion of the full text of this NOTICE should be
provided. We request that authorship attribution be pro
评论1