Checking in Sources/Docs of DOM Level 3 Core from:

http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/


git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226242 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
mrglavas committed 2005-06-17 20:59:08 +00:00
1 parent db0802b6ce
commit 7827b8b3e4
31 files changed
+16036 -10292

No files matched your search

+139 -198
View File
@@ -1,223 +1,164 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<!--
Generated: Thu Nov 09 17:42:26 EST 2000 jfouffa.w3.org
Generated: Wed Apr 07 13:10:47 EDT 2004 jfouffa.w3.org
-->
<html lang='en' xmlns="http://www.w3.org/1999/xhtml">
<html lang='en-US'>
<head>
<title>Document Object Model (DOM) Level 2 Core
Specification</title>
<link rel='stylesheet' type='text/css' href='./spec.css' />
<link rel='stylesheet' type='text/css' href='W3C-REC.css' />
<link rel='next' href='expanded-toc.html' />
<link rel='contents' href='Overview.html#contents' />
<link rel='index' href='def-index.html' />
<title>Document Object Model (DOM) Level 3 Core Specification</title>
<link rel='stylesheet' type='text/css' href='./spec.css'>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel='stylesheet' type='text/css' href='W3C-REC.css'>
<link rel='next' href='expanded-toc.html'>
<link rel='contents' href='Overview.html#contents'>
<link rel='copyright' href='copyright-notice.html'>
<link rel='glossary' href='glossary.html'>
<link rel='Start' href='Overview.html'>
<link rel='index' href='def-index.html'>
<link rel='author' href='mailto:www-dom@w3.org'>
<link rel='help' href='http://www.w3.org/DOM/'>
</head>
<body>
<div class='navbar' align='center'><a accesskey='n'
href='expanded-toc.html'>next</a> &nbsp; <a accesskey='c'
href='Overview.html#contents'>contents</a> &nbsp; <a accesskey='i'
href='def-index.html'>index</a>
<hr title='Navigation area separator' />
</div>
<div class='navbar' style='text-align: center'>
<map id='navbar-top' name='navbar-top' title='Navigation Bar'><p>
[<a title='Expanded Table of Contents' accesskey='n' href='expanded-toc.html'><strong><u>n</u></strong>ext</a>] &nbsp; [<a title='Table of Contents' accesskey='c' href='Overview.html#contents'><strong><u>c</u></strong>ontents</a>] &nbsp; [<a title='Index'
accesskey='i' href='def-index.html'><strong><u>i</u></strong>ndex</a>]</p>
<hr title='Navigation area separator'>
</map></div>
<div class='head'>
<p><a href='http://www.w3.org/'><img height='48' width='72'
alt='W3C' src='./images/w3c_home.gif' /></a></p>
<p><a href='http://www.w3.org/'>
<img height='48' width='72'
alt='W3C' src='./images/w3c_home.gif'></a></p>
<h1 id='title'>Document Object Model (DOM) Level 3 Core Specification</h1>
<h2 id='version'>Version 1.0</h2>
<!-- REC-DOM-Level-3-Core-20040407
--> <h2 id='W3C-doctype'>W3C Recommendation 07 April 2004</h2>
<dl><dt>This version:</dt>
<dd><a href='http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407'>http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407</a></dd><dt>Latest version:</dt>
<h1 id='title'>Document Object Model (DOM) Level 2 Core
Specification</h1>
<dd><a href='http://www.w3.org/TR/DOM-Level-3-Core'>http://www.w3.org/TR/DOM-Level-3-Core</a></dd>
<h2 id='version'>Version 1.0</h2>
<dt>Previous version:</dt>
<!-- REC-DOM-Level-2-Core-20001113
-->
<h2 id='W3C-doctype'>W3C Recommendation <i>13 November,
2000</i></h2>
<dl>
<dt>This version:</dt>
<dd><a href='http://www.w3.org/TR/2004/PR-DOM-Level-3-Core-20040205/'>http://www.w3.org/TR/2004/PR-DOM-Level-3-Core-20040205/</a></dd>
<dd><a
href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113'>http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113</a><br />
(<a
href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/DOM2-Core.ps'>
PostScript file</a> , <a
href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/DOM2-Core.pdf'>
PDF file</a> , <a
href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/DOM2-Core.txt'>
plain text</a> , <a
href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/DOM2-Core.zip'>
ZIP file</a>)</dd>
<dt>Latest version:</dt>
<dd><a
href='http://www.w3.org/TR/DOM-Level-2-Core'>http://www.w3.org/TR/DOM-Level-2-Core</a></dd>
<dt>Previous version:</dt>
<dd><a
href='http://www.w3.org/TR/2000/PR-DOM-Level-2-Core-20000927'>http://www.w3.org/TR/2000/PR-DOM-Level-2-Core-20000927</a></dd>
</dl>
<dl><dt>Editors:
</dt><dd>Arnaud Le Hors,
<i>IBM</i></dd>
<dd>Philippe Le H&#xe9;garet,
<i>W3C</i></dd>
<dd>Lauren Wood,
<i>SoftQuad, Inc. (WG Chair emerita, for DOM Level 1 and 2)</i></dd>
<dd>Gavin Nicol,
<i>Inso EPS (for DOM Level 1)</i></dd>
<dd>Jonathan Robie,
<i>Texcel Research and Software AG (for DOM Level 1
and 2)</i></dd>
<dd>Mike Champion,
<i>Arbortext and Software AG (for DOM Level 1 and 2)</i></dd>
<dd>Steve Byrne,
<i>JavaSoft (for DOM Level 1 until November 19,
1997)</i></dd>
</dl>
<dl>
<dt>Editors:</dt>
<dd>Arnaud Le Hors, <i>W3C team contact until October 1999, then
IBM</i></dd>
<dd>Philippe Le H&eacute;garet, <i>W3C, team contact (from November
1999)</i></dd>
<dd>Lauren Wood, <i>SoftQuad Software Inc., WG Chair</i></dd>
<dd>Gavin Nicol, <i>Inso EPS (for DOM Level 1)</i></dd>
<dd>Jonathan Robie, <i>Texcel Research and Software AG (for DOM
Level 1)</i></dd>
<dd>Mike Champion, <i>ArborText and Software AG (for DOM Level 1
from November 20, 1997)</i></dd>
<dd>Steve Byrne, <i>JavaSoft (for DOM Level 1 until November 19,
1997)</i></dd>
</dl>
<p class='copyright'>Copyright &copy; 2000 <a
href='http://www.w3.org/'><abbr
title='World Wide Web Consortium'>W3C</abbr></a><sup>&reg;</sup>
(<a href='http://www.lcs.mit.edu/'><abbr
title='Massachusetts Institute of Technology'>MIT</abbr></a>, <a
href='http://www.inria.fr/'><abbr lang='fr'
title='Institut National de Recherche en Informatique et Automatique'>
INRIA</abbr></a>, <a href='http://www.keio.ac.jp/'>Keio</a>), All
Rights Reserved. W3C <a
href='http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer'>
liability</a>, <a
href='http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks'>
trademark</a>, <a
href='http://www.w3.org/Consortium/Legal/copyright-documents-19990405'>
document use</a> and <a
href='http://www.w3.org/Consortium/Legal/copyright-software-19980720'>
software licensing</a> rules apply.</p>
<p>Please refer to the <a href='http://www.w3.org/2004/01/DOM-Level-3-errata'><strong>errata</strong></a> for this document, which may include some normative corrections.</p><p>This document is also available in these non-normative formats: <a href='http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/xml-source.xml'>XML file</a>, <a href='http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/DOM3-Core.txt'>plain text</a>, <a href='http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/DOM3-Core.ps'>PostScript file</a>, <a href='http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/DOM3-Core.pdf'>PDF file</a>, <a href='http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/DOM3-Core.html'>single HTML file</a>, and <a href='http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/DOM3-Core.zip'>ZIP file</a>.</p>
<p class='translation'>See also <a href='http://www.w3.org/2004/01/DOM-Level-3-translations'>translations</a> of this document.</p><p class='copyright'><a href='http://www.w3.org/Consortium/Legal/ipr-notice#Copyright'> Copyright</a> &#xa9;2004 <a href='http://www.w3.org/'><acronym title='World Wide Web Consortium'>W3C</acronym></a><sup>&#xae;</sup> (<a href='http://www.csail.mit.edu/'><acronym title='Massachusetts Institute of Technology'>MIT</acronym></a>, <a href='http://www.ercim.org/'><acronym title='European Research Consortium for Informatics and Mathematics'>ERCIM</acronym></a>, <a href='http://www.keio.ac.jp/'>Keio</a>), All Rights Reserved. W3C <a href='http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer'>liability</a>, <a href='http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks'>trademark</a>, <a href='http://www.w3.org/Consortium/Legal/copyright-documents'>document use</a> and <a href='http://www.w3.org/Consortium/Legal/copyright-software'>software licensing</a> rules apply.</p>
</div>
<hr title='separator from header' />
<hr title='separator from header'>
<h2 id='abstract'>Abstract</h2>
<div class='abstract'>
<p>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.</p>
<p>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.</p>
</div>
<p>
This specification defines the Document Object Model Core Level
3, a platform- and language-neutral interface that allows
programs and scripts to dynamically access and update the
content, structure and style of documents. The Document Object
Model Core Level 3 builds on the Document Object Model Core
Level 2 [<a class='noxref' href='references.html#DOM2Core'>DOM Level 2 Core</a>].
</p><p>
This version enhances DOM Level 2 Core by completing the mapping
between DOM and the XML Information Set [<a class='noxref' href='references.html#InfoSet'>XML Information Set</a>],
including the support for XML Base [<a class='noxref' href='references.html#XMLBase'>XML Base</a>],
adding the ability to attach user information to DOM Nodes or to
bootstrap a DOM implementation, providing mechanisms to resolve
namespace prefixes or to manipulate "ID" attributes, giving to type
information, etc.
</p></div>
<h2 id='status'>Status of this document</h2>
<div class='status'>
<p><em>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.</em></p>
<p>This document has been reviewed by W3C Members and other
interested parties and has been endorsed by the Director as a <a
href='http://www.w3.org/Consortium/Process/Process-19991111/tr.html#RecsW3C'>
W3C Recommendation</a>. 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.</p>
<p>This document has been produced as part of the <a
href='http://www.w3.org/DOM/Activity.html'>W3C DOM Activity</a>.
The authors of this document are the DOM Working Group members.
Different modules of the Document Object Model have different
editors.</p>
<p>Please send general comments about this document to the public
mailing list <a href='mailto:www-dom@w3.org'>www-dom@w3.org</a>. An
<a href='http://lists.w3.org/Archives/Public/www-dom/'>archive</a>
is available at http://lists.w3.org/Archives/Public/www-dom/.</p>
<p>The English version of this specification is the only normative
version. Information about <a
href='http://www.w3.org/2000/11/DOM-Level-2-translations'>translations</a>
of this document is available at
http://www.w3.org/2000/11/DOM-Level-2-translations.</p>
<p>The <a href='http://www.w3.org/2000/11/DOM-Level-2-errata'>list
of known errors</a> in this document is available at
http://www.w3.org/2000/11/DOM-Level-2-errata</p>
<p>A list of <a href='http://www.w3.org/TR/'>current W3C
Recommendations and other technical documents</a> can be found at
http://www.w3.org/TR.</p>
</div>
<h2 id='table-of-contents'><a id="contents" name='contents'>Table
of contents</a></h2>
<p>
<em>This section describes the status of this document at the
time of its publication. Other documents may supersede this
document. A list of current W3C publications and the latest
revision of this technical report can be found in the <a href='http://www.w3.org/TR/'>W3C technical reports index</a>
at http://www.w3.org/TR/.</em>
</p><p>
This document contains the Document Object Model Level 3 Core
specification and is a <a href='http://www.w3.org/2004/02/Process-20040205/tr.html#RecsW3C'>W3C
Recommendation</a>. It has been produced as part of the <a href='http://www.w3.org/DOM/Activity.html'>W3C DOM
Activity</a>. The authors of this document are the <a href='http://www.w3.org/DOM/'>DOM Working Group</a>
participants. For more information about DOM, readers can also
refer to <a href='http://www.w3.org/DOM/faq.html'>DOM
FAQ</a> and <a href='http://www.w3.org/DOM/Test/'>DOM
Conformance Test Suites</a>.
</p><p>
It is based on the feedback received during the <a href='http://www.w3.org/2004/02/19-dom-level-3-issues/issues.html'>Proposed
Recommendation</a> period. <a href='http://www.w3.org/2004/03/DOM-Level-3-Core-changes.html'>Changes
since the Proposed Recommendation version</a> and an <a href='http://www.w3.org/2003/10/DOM-Level-3-Core-implementations.html'>implementation
report</a> are available. Please refer to the <a href='http://www.w3.org/2004/01/DOM-Level-3-errata'>errata</a> for this
document, which may include some normative corrections.
</p><p>
Comments on this document should be sent to the public mailing
list <a href='mailto:www-dom@w3.org'>www-dom@w3.org</a> (<a href='http://lists.w3.org/Archives/Public/www-dom/'>public archive</a>).
</p><p>
This is a stable document and has been endorsed by the W3C
Membership and the participants of the DOM working group. The
English version of this specification is the only normative
version. See also <a href='http://www.w3.org/2004/01/DOM-Level-3-translations'>translations</a>.
</p><p>
Patent disclosures relevant to this specification may be found
on the Working Group's <a href='http://www.w3.org/2002/08/02-DOM-Disclosures.html'>patent
disclosure page</a>. This document has been produced under the
<a href='http://www.w3.org/TR/2002/NOTE-patent-practice-20020124'>24
January 2002 CPP</a> as amended by the <a href='http://www.w3.org/2004/02/05-pp-transition'>W3C Patent
Policy Transition Procedure</a>. An individual who has actual
knowledge of a patent which the individual believes contains
Essential Claim(s) with respect to this specification should
disclose the information in accordance with <a href='http://www.w3.org/Consortium/Patent-Policy-20040205/#sec-Disclosure'>section
6 of the W3C Patent Policy</a>.
</p></div>
<h2 id='table-of-contents'><a name='contents'>Table of contents</a></h2>
<ul class='toc'>
<li class='tocline2'><a class='tocxref'
href='expanded-toc.html'>Expanded Table of Contents</a></li>
<li class='tocline2'><a class='tocxref'
href='copyright-notice.html'>Copyright Notice</a></li>
<li class='tocline2'><a class='tocxref'
href='introduction.html'>What is the Document Object
Model?</a></li>
<li class='tocline2'><a class='tocxref' href='expanded-toc.html'>Expanded Table of Contents</a></li>
<li class='tocline2'><a class='tocxref' href='copyright-notice.html'>W3C Copyright Notices and Licenses</a></li>
<li class='tocline2'><a class='tocxref' href='introduction.html'>What is the Document Object Model?</a></li>
</ul>
<ul class='toc'>
<li class='tocline2'><a class='tocxref' href='core.html'>1. Document Object Model Core</a></li>
</ul>
<ul class='toc'>
<li class='tocline2'><a class='tocxref' href='changes.html'>Appendix A: Changes</a></li>
<li class='tocline2'><a class='tocxref' href='namespaces-algorithms.html'>Appendix B: Namespaces Algorithms</a></li>
<li class='tocline2'><a class='tocxref' href='infoset-mapping.html'>Appendix C: Infoset Mapping</a></li>
<li class='tocline2'><a class='tocxref' href='configuration-settings.html'>Appendix D: Configuration Settings</a></li>
<li class='tocline2'><a class='tocxref' href='accessing-code-point-boundaries.html'>Appendix E: Accessing code point boundaries</a></li>
<li class='tocline2'><a class='tocxref' href='idl-definitions.html'>Appendix F: IDL Definitions</a></li>
<li class='tocline2'><a class='tocxref' href='java-binding.html'>Appendix G: Java Language Binding</a></li>
<li class='tocline2'><a class='tocxref' href='ecma-script-binding.html'>Appendix H: ECMAScript Language Binding</a></li>
<li class='tocline2'><a class='tocxref' href='acknowledgements.html'>Appendix I: Acknowledgements</a></li>
<li class='tocline2'><a class='tocxref' href='glossary.html'>Glossary</a></li>
<li class='tocline2'><a class='tocxref' href='references.html'>References</a></li>
<li class='tocline2'><a class='tocxref' href='def-index.html'>Index</a></li>
</ul>
<ul class='toc'>
<li class='tocline2'><a class='tocxref' href='core.html'>1.
Document Object Model Core</a></li>
</ul>
<ul class='toc'>
<li class='tocline2'><a class='tocxref'
href='changes.html'>Appendix A: Changes</a></li>
<li class='tocline2'><a class='tocxref' href='i18n.html'>Appendix
B: Accessing code point boundaries</a></li>
<li class='tocline2'><a class='tocxref'
href='idl-definitions.html'>Appendix C: IDL Definitions</a></li>
<li class='tocline2'><a class='tocxref'
href='java-binding.html'>Appendix D: Java Language Binding</a></li>
<li class='tocline2'><a class='tocxref'
href='ecma-script-binding.html'>Appendix E: ECMAScript Language
Binding</a></li>
<li class='tocline2'><a class='tocxref'
href='acknowledgements.html'>Appendix F: Acknowledgements</a></li>
<li class='tocline2'><a class='tocxref'
href='glossary.html'>Glossary</a></li>
<li class='tocline2'><a class='tocxref'
href='references.html'>References</a></li>
<li class='tocline2'><a class='tocxref'
href='def-index.html'>Index</a></li>
</ul>
<div class='navbar' align='center'>
<hr title='Navigation area separator' />
<a accesskey='n' href='expanded-toc.html'>next</a> &nbsp; <a
accesskey='c' href='Overview.html#contents'>contents</a> &nbsp; <a
accesskey='i' href='def-index.html'>index</a></div>
<div class='navbar' style='text-align: center'>
<map id='navbar-bottom' name='navbar-bottom' title='Navigation Bar'><hr title='Navigation area separator'><p>
[<a title='Expanded Table of Contents' href='expanded-toc.html'><strong><u>n</u></strong>ext</a>] &nbsp; [<a title='Table of Contents' href='Overview.html#contents'><strong><u>c</u></strong>ontents</a>] &nbsp; [<a title='Index'
href='def-index.html'><strong><u>i</u></strong>ndex</a>]</p>
</map></div>
</body>
</html>