Checking in Sources/Docs of DOM Level 2 from :

http://www.w3.org/DOM/DOMTM


git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@225913 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
dims committed 2001-06-01 11:15:37 +00:00
1 parent 7d5c881d20
commit 82b88df622
231 files changed
+66110

No files matched your search

+100
View File
@@ -0,0 +1,100 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>W3C IPR SOFTWARE NOTICE</title>
</head>
<body bgcolor="#FFFFFF" text="#000000">
<h1>
W3C IPR SOFTWARE NOTICE
</h1>
<h3>
Copyright &copy; 2000 <loc href="http://www.w3.org/">World Wide Web
Consortium</loc>, (<loc href="http://www.lcs.mit.edu/">Massachusetts
Institute of Technology</loc>, <loc href="http://www.inria.fr/">Institut
National de Recherche en Informatique et en Automatique</loc>, <loc
href="http://www.keio.ac.jp/">Keio University</loc>). All Rights
Reserved.
</h3>
<p>
The DOM bindings 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 binding,
the pragma prefix can no longer be 'w3c.org'; in the case of the Java
binding, the package names can no longer be in the 'org.w3c' package.
</p>
<p>
<b>Note:</b> The original version of the W3C Software Copyright Notice
and License could be found at <a
href='http://www.w3.org/Consortium/Legal/copyright-software-19980720'>http://www.w3.org/Consortium/Legal/copyright-software-19980720</a>
</p>
<h3>
Copyright &copy; 1994-2000 <a href="http://www.w3.org/">World Wide Web
Consortium</a>, (<a href="http://www.lcs.mit.edu/">Massachusetts
Institute of Technology</a>, <a href="http://www.inria.fr/">Institut
National de Recherche en Informatique et en Automatique</a>, <a
href="http://www.keio.ac.jp/">Keio University</a>). All Rights
Reserved. http://www.w3.org/Consortium/Legal/
</h3>
<p>
This W3C work (including software, documents, or other related items) is
being provided by the copyright holders under the following license. By
obtaining, using and/or copying this work, you (the licensee) agree that
you have read, understood, and will comply with the following terms and
conditions:
</p>
<p>
Permission to use, copy, and modify this software and its documentation,
with or without modification,&nbsp; for any purpose and without fee or
royalty is hereby granted, provided that you include the following on ALL
copies of the software and documentation or portions thereof, including
modifications, that you make:
</p>
<ol>
<li>
The full text of this NOTICE in a location viewable to users of the
redistributed or derivative work.
</li>
<li>
Any pre-existing intellectual property disclaimers, notices, or terms
and conditions. If none exist, a short notice of the following form
(hypertext is preferred, text is permitted) should be used within the
body of any redistributed or derivative code: "Copyright &copy;
[$date-of-software] <a href="http://www.w3.org/">World Wide Web
Consortium</a>, (<a href="http://www.lcs.mit.edu/">Massachusetts
Institute of Technology</a>, <a href="http://www.inria.fr/">Institut
National de Recherche en Informatique et en Automatique</a>, <a
href="http://www.keio.ac.jp/">Keio University</a>). All Rights
Reserved. http://www.w3.org/Consortium/Legal/"
</li>
<li>
Notice of any changes or modifications to the W3C files, including the
date changes were made. (We recommend you provide URIs to the location
from which the code is derived.)
</li>
</ol>
<p>
THIS SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS," AND COPYRIGHT
HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY OR FITNESS
FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE OR
DOCUMENTATION WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS,
TRADEMARKS OR OTHER RIGHTS.
</p>
<p>
COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR
CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR
DOCUMENTATION.
</p>
<p>
The name and trademarks of copyright holders may NOT be used in
advertising or publicity pertaining to the software without specific,
written prior permission. Title to copyright in this software and any
associated documentation will at all times remain with copyright
holders.
</p>
</body>
</html>
+223
View File
@@ -0,0 +1,223 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
Generated: Thu Nov 09 17:42:26 EST 2000 jfouffa.w3.org
-->
<html lang='en' xmlns="http://www.w3.org/1999/xhtml">
<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' />
</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='head'>
<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 2 Core
Specification</h1>
<h2 id='version'>Version 1.0</h2>
<!-- 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/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>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>
</div>
<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>
<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>
<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>
</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>
</body>
</html>
+94
View File
@@ -0,0 +1,94 @@
/* This is an SSI script. Policy:
(1) Use CVS
(2) send e-mail to w3t-comm@w3.org if you edit this
*/
/* Style for a "Recommendation" */
/*
This is an SSI script. Policy:
(1) Use CVS
(2) send e-mail to w3t-comm@w3.org if you edit this
Acknowledgments:
- 'background-color' doesn't work on Mac IE 3, but 'background'
does (Susan Lesch <lesch@macvirus.com>)
- 'smaller' leads to illegible text in both Mac IE and Mac NS,
'small' is better: works in Mac NS, but is always 12pt in Mac IE
3 (Susan Lesch <lesch@macvirus.com>)
$Id$
*/
body {
margin: 2em 1em 2em 70px;
font-family: sans-serif;
color: black;
background: white;
background-position: top left;
background-attachment: fixed;
background-repeat: no-repeat;
}
th, td { /* ns 4 */
font-family: sans-serif;
}
h1, h2, h3, h4, h5, h6 { text-align: left }
h1, h2, h3 { color: #005A9C }
h1 { font: 170% sans-serif }
h2 { font: 140% sans-serif }
h3 { font: 120% sans-serif }
h4 { font: bold 100% sans-serif }
h5 { font: italic 100% sans-serif }
h6 { font: small-caps 100% sans-serif }
.hide { display: none }
div.head { margin-bottom: 1em }
div.head h1 { margin-top: 2em; clear: both }
div.head table { margin-left: 2em; margin-top: 2em }
div.head img { color: white; border: none } /* remove border from top image */
p.copyright { font-size: small }
p.copyright small { font-size: small }
@media screen { /* hide from IE3 */
a:hover { background: #ffa }
}
pre { margin-left: 2em }
/*
p {
margin-top: 0.6em;
margin-bottom: 0.6em;
}
*/
dt, dd { margin-top: 0; margin-bottom: 0 } /* opera 3.50 */
dt { font-weight: bold }
pre, code { font-family: monospace } /* navigator 4 requires this */
ul.toc {
list-style: disc; /* Mac NS has problem with 'none' */
list-style: none;
}
@media aural {
h1, h2, h3 { stress: 20; richness: 90 }
.hide { speak: none }
p.copyright { volume: x-soft; speech-rate: x-fast }
dt { pause-before: 20% }
pre { speak-punctuation: code }
}
/* Things (icons) that should only show up in projection mode */
.projection { display: none }
@media projection { .projection { display: inline } }
body {
background-image: url(http://www.w3.org/StyleSheets/TR/logo-REC);
}
+101
View File
@@ -0,0 +1,101 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
Generated: Thu Nov 09 17:43:25 EST 2000 jfouffa.w3.org
-->
<html lang='en' xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Acknowledgements</title>
<link rel='stylesheet' type='text/css' href='./spec.css' />
<link rel='stylesheet' type='text/css' href='W3C-REC.css' />
<link rel='next' href='glossary.html' />
<link rel='contents' href='Overview.html#contents' />
<link rel='index' href='def-index.html' />
<link rel='previous' href='ecma-script-binding.html' />
</head>
<body>
<div class='navbar' align='center'><a accesskey='p'
href='ecma-script-binding.html'>previous</a> &nbsp; <a
accesskey='n' href='glossary.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='noprint' style='text-align: right'>
<p style='font-family: monospace;font-size:small'>13 November,
2000</p>
</div>
<div class='div1'><a id="contributors" name='contributors'></a>
<h1 id='contributors-h1' class='adiv1'>Appendix F:
Acknowledgements</h1>
<p>Many people contributed to this specification, including members
of the DOM Working Group and the DOM Interest Group. We especially
thank the following:</p>
<p>Lauren Wood (SoftQuad Software Inc., <em>chair</em>), Andrew
Watson (Object Management Group), Andy Heninger (IBM), Arnaud Le
Hors (W3C and IBM), Ben Chang (Oracle), Bill Smith (Sun), Bill Shea
(Merrill Lynch), Bob Sutor (IBM), Chris Lovett (Microsoft), Chris
Wilson (Microsoft), David Brownell (Sun), David Singer (IBM), Don
Park (invited), Eric Vasilik (Microsoft), Gavin Nicol (INSO), Ian
Jacobs (W3C), James Clark (invited), James Davidson (Sun), Jared
Sorensen (Novell), Joe Kesselman (IBM), Joe Lapp (webMethods), Joe
Marini (Macromedia), Johnny Stenback (Netscape), Jonathan Marsh
(Microsoft), Jonathan Robie (Texcel Research and Software AG), Kim
Adamson-Sharpe (SoftQuad Software Inc.), Laurence Cable (Sun), Mark
Davis (IBM), Mark Scardina (Oracle), Martin D&uuml;rst (W3C), Mick
Goulish (Software AG), Mike Champion (Arbortext and Software AG),
Miles Sabin (Cromwell Media), Patti Lutsky (Arbortext), Paul Grosso
(Arbortext), Peter Sharpe (SoftQuad Software Inc.), Phil Karlton
(Netscape), Philippe Le H&eacute;garet (W3C, <em>W3C team
contact</em>), Ramesh Lekshmynarayanan (Merrill Lynch), Ray Whitmer
(iMall, Excite@Home and Netscape), Rich Rollman (Microsoft), Rick
Gessner (Netscape), Scott Isaacs (Microsoft), Sharon Adler (INSO),
Steve Byrne (JavaSoft), Tim Bray (invited), Tom Pixley (Netscape),
Vidur Apparao (Netscape), Vinod Anupam (Lucent).</p>
<p>Thanks to all those who have helped to improve this
specification by sending suggestions and corrections.</p>
<div class='div2'><a id="Productions" name='Productions'></a>
<h2 id='Productions-h2' class='adiv2'>F.1: Production Systems</h2>
<p>This specification was written in XML. The HTML, OMG IDL, Java
and ECMA Script bindings were all produced automatically.</p>
<p>Thanks to Joe English, author of <a
href='http://www.flightlab.com/cost'>cost</a>, which was used as
the basis for producing DOM Level 1. Thanks also to Gavin Nicol,
who wrote the scripts which run on top of cost. Arnaud Le Hors and
Philippe Le H&eacute;garet maintained the scripts.</p>
<p>For DOM Level 2, we used <a
href='http://xml.apache.org/xerces-j'>Xerces</a> as the basis DOM
implementation and wish to thank the authors. Philippe Le
H&eacute;garet and Arnaud Le Hors wrote the <a
href='http://dev.w3.org/cvsweb/java/classes/org/w3c/tools/specgenerator/'>
Java programs</a> which are the DOM application.</p>
<p>Thanks also to Jan K&auml;rrman, author of <a
href='http://www.tdb.uu.se/~jan/html2ps.html'>html2ps</a>, which we
use in creating the PostScript version of the specification.</p>
</div>
<!-- div2 Productions --></div>
<!-- div1 contributors -->
<div class='navbar' align='center'>
<hr title='Navigation area separator' />
<a accesskey='p' href='ecma-script-binding.html'>previous</a>
&nbsp; <a accesskey='n' href='glossary.html'>next</a> &nbsp; <a
accesskey='c' href='Overview.html#contents'>contents</a> &nbsp; <a
accesskey='i' href='def-index.html'>index</a></div>
</body>
</html>
+193
View File
@@ -0,0 +1,193 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
Generated: Thu Nov 09 17:43:01 EST 2000 jfouffa.w3.org
-->
<html lang='en' xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Changes</title>
<link rel='stylesheet' type='text/css' href='./spec.css' />
<link rel='stylesheet' type='text/css' href='W3C-REC.css' />
<link rel='next' href='i18n.html' />
<link rel='contents' href='Overview.html#contents' />
<link rel='index' href='def-index.html' />
<link rel='previous' href='core.html' />
</head>
<body>
<div class='navbar' align='center'><a accesskey='p'
href='core.html'>previous</a> &nbsp; <a accesskey='n'
href='i18n.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='noprint' style='text-align: right'>
<p style='font-family: monospace;font-size:small'>13 November,
2000</p>
</div>
<div class='div1'><a id="Changes" name='Changes'></a>
<h1 id='Changes-h1' class='adiv1'>Appendix A: Changes</h1>
<dl>
<dt><i>Editors</i></dt>
<dd>Arnaud Le Hors, IBM</dd>
<dd>Philippe Le H&eacute;garet, W3C</dd>
</dl>
<div class='div2'><a id="DOMLevel1to2Changes"
name='DOMLevel1to2Changes'></a>
<h2 id='DOMLevel1to2Changes-h2' class='adiv2'>A.1: Changes between
DOM Level 1 Core and DOM Level 2 Core</h2>
<dl>
<dt><b>OMG IDL</b></dt>
<dd>The DOM Level 2 specifications are now using Corba 2.3.1
instead of Corba 2.2.</dd>
<dt><b>Type <a
href='core.html#DOMString'><code>DOMString</code></a></b></dt>
<dd>The definition of <a
href='core.html#DOMString'><code>DOMString</code></a> in IDL is now
a <code>valuetype</code>.</dd>
</dl>
<div class='div3'><a id="DOMLevel1Changes"
name='DOMLevel1Changes'></a>
<h3 id='DOMLevel1Changes-h3' class='adiv3'>A.1.1: Changes to DOM
Level 1 Core interfaces and exceptions</h3>
<dl>
<dt><b>Interface <a
href='core.html#ID-637646024'><code>Attr</code></a></b></dt>
<dd>The <a href='core.html#ID-637646024'><code>Attr</code></a>
interface has one new attribute: <code>ownerElement</code>.</dd>
<dt><b>Interface <a
href='core.html#i-Document'><code>Document</code></a></b></dt>
<dd>The <a href='core.html#i-Document'><code>Document</code></a>
interface has five new methods: <code>importNode</code>,
<code>createElementNS</code>, <code>createAttributeNS</code>,
<code>getElementsByTagNameNS</code> and
<code>getElementById</code>.</dd>
<dt><b>Interface <a
href='core.html#ID-1780488922'><code>NamedNodeMap</code></a></b></dt>
<dd>The <a
href='core.html#ID-1780488922'><code>NamedNodeMap</code></a>
interface has three new methods: <code>getNamedItemNS</code>,
<code>setNamedItemNS</code>, <code>removeNamedItemNS</code>.</dd>
<dt><b>Interface <a
href='core.html#ID-1950641247'><code>Node</code></a></b></dt>
<dd>The <a href='core.html#ID-1950641247'><code>Node</code></a>
interface has two new methods: <code>isSupported</code> and
<code>hasAttributes</code>.<br />
<code>normalize</code>, previously in the <a
href='core.html#ID-745549614'><code>Element</code></a> interface,
has been moved in the <a
href='core.html#ID-1950641247'><code>Node</code></a>
interface.<br />
The <a href='core.html#ID-1950641247'><code>Node</code></a>
interface has three new attributes: <code>namespaceURI</code>,
<code>prefix</code> and <code>localName</code>.<br />
The <code>ownerDocument</code> attribute was specified to be
<code>null</code> when the node is a <a
href='core.html#i-Document'><code>Document</code></a>. It now is
also <code>null</code> when the node is a <a
href='core.html#ID-412266927'><code>DocumentType</code></a> which
is not used with any <a class='noxref'
href='core.html#i-Document'><code>Document</code></a> yet.</dd>
<dt><b>Interface <a
href='core.html#ID-412266927'><code>DocumentType</code></a></b></dt>
<dd>The <a
href='core.html#ID-412266927'><code>DocumentType</code></a>
interface has three attributes: <code>publicId</code>,
<code>systemId</code> and <code>internalSubset</code>.</dd>
<dt><b>Interface <a
href='core.html#ID-102161490'><code>DOMImplementation</code></a></b></dt>
<dd>The <a
href='core.html#ID-102161490'><code>DOMImplementation</code></a>
interface has two new methods: <code>createDocumentType</code> and
<code>createDocument</code>.</dd>
<dt><b>Interface <a
href='core.html#ID-745549614'><code>Element</code></a></b></dt>
<dd>The <a href='core.html#ID-745549614'><code>Element</code></a>
interface has eight new methods: <code>getAttributeNS</code>,
<code>setAttributeNS</code>, <code>removeAttributeNS</code>,
<code>getAttributeNodeNS</code>, <code>setAttributeNodeNS</code>,
<code>getElementsByTagNameNS</code>, <code>hasAttribute</code> and
<code>hasAttributeNS</code>.<br />
The method <code>normalize</code> is now inherited from the <a
href='core.html#ID-1950641247'><code>Node</code></a> interface
where it was moved.</dd>
<dt><b>Exception <a
href='core.html#ID-17189187'><code>DOMException</code></a></b></dt>
<dd>The <a
href='core.html#ID-17189187'><code>DOMException</code></a> has five
new exception codes: <code>INVALID_STATE_ERR</code>,
<code>SYNTAX_ERR</code>, <code>INVALID_MODIFICATION_ERR</code>,
<code>NAMESPACE_ERR</code> and
<code>INVALID_ACCESS_ERR</code>.</dd>
</dl>
</div>
<!-- div3 DOMLevel1Changes -->
<div class='div3'><a id="DOMLevel2Addons"
name='DOMLevel2Addons'></a>
<h3 id='DOMLevel2Addons-h3' class='adiv3'>A.1.2: New features</h3>
<div class='div4'><a id="DOMLevel2Addons-types"
name='DOMLevel2Addons-types'></a>
<h4 id='DOMLevel2Addons-types-h4' class='adiv4'>A.1.2.1: New
types</h4>
<dl>
<dt><b><a
href='core.html#DOMTimeStamp'><code>DOMTimeStamp</code></a></b></dt>
<dd>The <a
href='core.html#DOMTimeStamp'><code>DOMTimeStamp</code></a> type
was added to the Core module.</dd>
</dl>
</div>
<!-- div4 DOMLevel2Addons-types --></div>
<!-- div3 DOMLevel2Addons --></div>
<!-- div2 DOMLevel1to2Changes --></div>
<!-- div1 Changes -->
<div class='navbar' align='center'>
<hr title='Navigation area separator' />
<a accesskey='p' href='core.html'>previous</a> &nbsp; <a
accesskey='n' href='i18n.html'>next</a> &nbsp; <a accesskey='c'
href='Overview.html#contents'>contents</a> &nbsp; <a accesskey='i'
href='def-index.html'>index</a></div>
</body>
</html>
+229
View File
@@ -0,0 +1,229 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
Generated: Thu Nov 09 17:42:28 EST 2000 jfouffa.w3.org
-->
<html lang='en' xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Copyright Notice</title>
<link rel='stylesheet' type='text/css' href='./spec.css' />
<link rel='stylesheet' type='text/css' href='W3C-REC.css' />
<link rel='next' href='introduction.html' />
<link rel='contents' href='Overview.html#contents' />
<link rel='index' href='def-index.html' />
<link rel='previous' href='expanded-toc.html' />
</head>
<body>
<div class='navbar' align='center'><a accesskey='p'
href='expanded-toc.html'>previous</a> &nbsp; <a accesskey='n'
href='introduction.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='noprint' style='text-align: right'>
<p style='font-family: monospace;font-size:small'>13 November,
2000</p>
</div>
<div class='div1'><a id="Copyright-Notice"
name='Copyright-Notice'></a>
<h1 id='Copyright-Notice-h1' class='div1'>Copyright Notice</h1>
<p><b>Copyright &copy; 2000 <a href='http://www.w3.org/'>World Wide
Web Consortium</a>, (<a
href='http://www.lcs.mit.edu/'>Massachusetts Institute of
Technology</a>, <a href='http://www.inria.fr/'>Institut National de
Recherche en Informatique et en Automatique</a>, <a
href='http://www.keio.ac.jp/'>Keio University</a>). All Rights
Reserved.</b></p>
<p>This document is published under the <a
href='copyright-notice.html#Copyright-notice-document'>W3C Document
Copyright Notice and License</a>. The bindings within this document
are published under the <a
href='copyright-notice.html#Copyright-notice-software'>W3C Software
Copyright Notice and License</a>. 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.</p>
<div class='div2'><a id="Copyright-notice-document"
name='Copyright-notice-document'></a>
<hr width='50' align='center' title='Area separator' />
<h2 id='Copyright-notice-document-h2' class='div2'>W3C Document
Copyright Notice and License</h2>
<p><b>Note:</b> This section is a copy of the W3C Document Notice
and License and could be found at <a
href='http://www.w3.org/Consortium/Legal/copyright-documents-19990405'>
http://www.w3.org/Consortium/Legal/copyright-documents-19990405</a>.</p>
<p><b>Copyright &copy; 1994-2000 <a href='http://www.w3.org/'>World
Wide Web Consortium</a>, (<a
href='http://www.lcs.mit.edu/'>Massachusetts Institute of
Technology</a>, <a href='http://www.inria.fr/'>Institut National de
Recherche en Informatique et en Automatique</a>, <a
href='http://www.keio.ac.jp/'>Keio University</a>). All Rights
Reserved.</b></p>
<p><b>http://www.w3.org/Consortium/Legal/</b></p>
<p>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 <a
href='http://www.w3.org/Consortium/Legal/copyright-software.html'>Software
Notice</a>. 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:</p>
<p>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 <em>ALL</em>
copies of the document, or portions thereof, that you use:</p>
<ol>
<li>A link or URL to the original W3C document.</li>
<li>The pre-existing copyright notice of the original author, or if
it doesn't exist, a notice of the form: "Copyright &copy;
[$date-of-document] <a href='http://www.w3.org/'>World Wide Web
Consortium</a>, (<a href='http://www.lcs.mit.edu/'>Massachusetts
Institute of Technology</a>, <a
href='http://www.inria.fr/'>Institut National de Recherche en
Informatique et en Automatique</a>, <a
href='http://www.keio.ac.jp/'>Keio University</a>). All Rights
Reserved. http://www.w3.org/Consortium/Legal/" (Hypertext is
preferred, but a textual representation is permitted.)</li>
<li><em>If it exists</em>, the STATUS of the W3C document.</li>
</ol>
<p>When space permits, inclusion of the full text of this
<b>NOTICE</b> should be provided. We request that authorship
attribution be provided in any software, documents, or other items
or products that you create pursuant to the implementation of the
contents of this document, or any portion thereof.</p>
<p>No right to create modifications or derivatives of W3C documents
is granted pursuant to this license. However, if additional
requirements (documented in the <a
href='http://www.w3.org/Consortium/Legal/IPR-FAQ.html'>Copyright
FAQ</a>) are satisfied, the right to create modifications or
derivatives is sometimes granted by the W3C to individuals
complying with those requirements.</p>
<p>THIS DOCUMENT IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO
REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT
NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
PARTICULAR PURPOSE, NON-INFRINGEMENT, OR TITLE; THAT THE CONTENTS
OF THE DOCUMENT ARE SUITABLE FOR ANY PURPOSE; NOR THAT THE
IMPLEMENTATION OF SUCH CONTENTS WILL NOT INFRINGE ANY THIRD PARTY
PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.</p>
<p>COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT,
SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE
DOCUMENT OR THE PERFORMANCE OR IMPLEMENTATION OF THE CONTENTS
THEREOF.</p>
<p>The name and trademarks of copyright holders may NOT be used in
advertising or publicity pertaining to this document or its
contents without specific, written prior permission. Title to
copyright in this document will at all times remain with copyright
holders.</p>
</div>
<!-- div2 Copyright-notice-document -->
<div class='div2'><a id="Copyright-notice-software"
name='Copyright-notice-software'></a>
<hr width='50' align='center' title='Area separator' />
<h2 id='Copyright-notice-software-h2' class='div2'>W3C Software
Copyright Notice and License</h2>
<p><b>Note:</b> This section is a copy of the W3C Software
Copyright Notice and License and could be found at <a
href='http://www.w3.org/Consortium/Legal/copyright-software-19980720'>
http://www.w3.org/Consortium/Legal/copyright-software-19980720</a></p>
<p><b>Copyright &copy; 1994-2000 <a href='http://www.w3.org/'>World
Wide Web Consortium</a>, (<a
href='http://www.lcs.mit.edu/'>Massachusetts Institute of
Technology</a>, <a href='http://www.inria.fr/'>Institut National de
Recherche en Informatique et en Automatique</a>, <a
href='http://www.keio.ac.jp/'>Keio University</a>). All Rights
Reserved.</b></p>
<p><b>http://www.w3.org/Consortium/Legal/</b></p>
<p>This W3C work (including software, documents, or other related
items) is being provided by the copyright holders under the
following license. By obtaining, using and/or copying this work,
you (the licensee) agree that you have read, understood, and will
comply with the following terms and conditions:</p>
<p>Permission to use, copy, and modify this software and its
documentation, with or without modification, for any purpose and
without fee or royalty is hereby granted, provided that you include
the following on ALL copies of the software and documentation or
portions thereof, including modifications, that you make:</p>
<ol>
<li>The full text of this NOTICE in a location viewable to users of
the redistributed or derivative work.</li>
<li>Any pre-existing intellectual property disclaimers. If none
exist, then a notice of the following form: "Copyright &copy;
[$date-of-software] <a href='http://www.w3.org/'>World Wide Web
Consortium</a>, (<a href='http://www.lcs.mit.edu/'>Massachusetts
Institute of Technology</a>, <a
href='http://www.inria.fr/'>Institut National de Recherche en
Informatique et en Automatique</a>, <a
href='http://www.keio.ac.jp/'>Keio University</a>). All Rights
Reserved. http://www.w3.org/Consortium/Legal/."</li>
<li>Notice of any changes or modifications to the W3C files,
including the date changes were made. (We recommend you provide
URIs to the location from which the code is derived.)</li>
</ol>
<p>THIS SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS," AND
COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO, WARRANTIES OF
MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE
USE OF THE SOFTWARE OR DOCUMENTATION WILL NOT INFRINGE ANY THIRD
PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.</p>
<p>COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT,
SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE
SOFTWARE OR DOCUMENTATION.</p>
<p>The name and trademarks of copyright holders may NOT be used in
advertising or publicity pertaining to the software without
specific, written prior permission. Title to copyright in this
software and any associated documentation will at all times remain
with copyright holders.</p>
</div>
<!-- div2 Copyright-notice-software --></div>
<!-- div1 Copyright-Notice -->
<div class='navbar' align='center'>
<hr title='Navigation area separator' />
<a accesskey='p' href='expanded-toc.html'>previous</a> &nbsp; <a
accesskey='n' href='introduction.html'>next</a> &nbsp; <a
accesskey='c' href='Overview.html#contents'>contents</a> &nbsp; <a
accesskey='i' href='def-index.html'>index</a></div>
</body>
</html>
File diff suppressed because it is too large. Load diff
+973
View File
@@ -0,0 +1,973 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
Generated: Thu Nov 09 17:43:27 EST 2000 jfouffa.w3.org
-->
<html lang='en' xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Index</title>
<link rel='stylesheet' type='text/css' href='./spec.css' />
<link rel='stylesheet' type='text/css' href='W3C-REC.css' />
<link rel='contents' href='Overview.html#contents' />
<link rel='previous' href='references.html' />
</head>
<body>
<div class='navbar' align='center'><a accesskey='p'
href='references.html'>previous</a> &nbsp; <a accesskey='c'
href='Overview.html#contents'>contents</a>
<hr title='Navigation area separator' />
</div>
<div class='noprint' style='text-align: right'>
<p style='font-family: monospace;font-size:small'>13 November,
2000</p>
</div>
<div class='div1'><a id="Index" name='Index'></a>
<h1 id='role-index' class='index'>Index</h1>
<table
summary='the table contains all keywords used in this document'>
<tr>
<td width='30%'><a class='noxref' href='core.html#DOMString'>16-bit
unit</a> <a class='index-inst' href='core.html#DOMString'>1</a>, <a
class='index-inst' href='core.html#ID-5DFED1F0'>2</a>, <a
class='index-inst' href='core.html#ID-FF21A306'>3</a>, <a
class='index-inst' href='core.html#ID-7D61178C'>4</a>, <a
class='index-inst' href='core.html#ID-3EDB695F'>5</a>, <a
class='index-inst' href='core.html#ID-7C603781'>6</a>, <a
class='index-inst' href='core.html#ID-E5CBA7FB'>7</a>, <a
class='index-inst' href='core.html#ID-38853C1D'>8</a>, <a
class='index-inst' href='glossary.html#dt-16-bit-unit'>9</a></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='core.html#ID-952280727'>ancestor</a> <a class='index-inst'
href='core.html#ID-952280727'>1</a>, <a class='index-inst'
href='core.html#ID-785887307'>2</a>, <a class='index-inst'
href='core.html#ID-184E7107'>3</a>, <a class='index-inst'
href='glossary.html#dt-ancestor'>4</a></td>
<td width='30%'><a class='noxref'
href='introduction.html#ID-E7C3082'>API</a> <a class='index-inst'
href='introduction.html#ID-E7C3082'>1</a>, <a class='index-inst'
href='introduction.html#ID-E7C30821'>2</a>, <a class='index-inst'
href='introduction.html#ID-E7C30822'>3</a>, <a class='index-inst'
href='core.html#ID-1CED5498'>4</a>, <a class='index-inst'
href='core.html#ID-C74D1578'>5</a>, <a class='index-inst'
href='glossary.html#dt-API'>6</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-184E7107'>appendChild</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='core.html#ID-32791A2F'>appendData</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-637646024'>Attr</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-1841493061'>ATTRIBUTE_NODE</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='core.html#ID-84CF096'>attributes</a></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='core.html#ID-1841493061'>CDATA_SECTION_NODE</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-667469212'>CDATASection</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-FF21A306'>CharacterData</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='core.html#ID-5DFED1F0'>Charmod</a> <a class='index-inst'
href='core.html#ID-5DFED1F0'>1</a>, <a class='index-inst'
href='references.html#Charmod'>2</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-1590626202'>child</a> <a class='index-inst'
href='core.html#ID-1590626202'>1</a>, <a class='index-inst'
href='core.html#Namespaces-Considerations'>2</a>, <a
class='index-inst' href='glossary.html#dt-child'>3</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-1451460987'>childNodes</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='introduction.html#ID-E7C3082'>client application</a> <a
class='index-inst' href='introduction.html#ID-E7C3082'>1</a>, <a
class='index-inst' href='glossary.html#dt-application'>2</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-3A0ED0A4'>cloneNode</a></td>
<td width='30%'><a class='noxref'
href='introduction.html#ID-E7C3082'>COM</a> <a class='index-inst'
href='introduction.html#ID-E7C3082'>1</a>, <a class='index-inst'
href='core.html#ID-1CED5498'>2</a>, <a class='index-inst'
href='glossary.html#dt-COM'>3</a>, <a class='index-inst'
href='references.html#COM'>4</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='core.html#ID-1728279322'>Comment</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-1841493061'>COMMENT_NODE</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-87CD092'>convenience</a> <a class='index-inst'
href='core.html#ID-87CD092'>1</a>, <a class='index-inst'
href='core.html#ID-745549614'>2</a>, <a class='index-inst'
href='glossary.html#dt-convenience'>3</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='introduction.html#ID-E7C3082'>CORBA</a> <a class='index-inst'
href='introduction.html#ID-E7C3082'>1</a>, <a class='index-inst'
href='references.html#CORBA'>2</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-1084891198'>createAttribute</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-DocCrAttrNS'>createAttributeNS</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='core.html#ID-D26C0AF8'>createCDATASection</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-1334481328'>createComment</a></td>
<td width='30%'><a class='noxref'
href='core.html#Level-2-Core-DOM-createDocument'>createDocument</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='core.html#ID-35CB04B5'>createDocumentFragment</a></td>
<td width='30%'><a class='noxref'
href='core.html#Level-2-Core-DOM-createDocType'>createDocumentType</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-2141741547'>createElement</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='core.html#ID-DocCrElNS'>createElementNS</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-392B75AE'>createEntityReference</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-135944439'>createProcessingInstruction</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='core.html#ID-1975348127'>createTextNode</a></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='core.html#ID-72AB8359'>data</a> <a class='index-inst'
href='core.html#ID-72AB8359'>1</a>, <a class='index-inst'
href='core.html#ID-837822393'>2</a></td>
<td width='30%'><a class='noxref'
href='introduction.html#ID-E7C30821'>data model</a> <a
class='index-inst' href='introduction.html#ID-E7C30821'>1</a>, <a
class='index-inst' href='glossary.html#dt-datamodel'>2</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-7C603781'>deleteData</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='core.html#Namespaces-Considerations'>descendant</a> <a
class='index-inst'
href='core.html#Namespaces-Considerations'>1</a>, <a
class='index-inst' href='core.html#Core-Document-importNode'>2</a>,
<a class='index-inst' href='core.html#ID-1938918D'>3</a>, <a
class='index-inst' href='core.html#ID-A6C90942'>4</a>, <a
class='index-inst' href='core.html#ID-527DCFF2'>5</a>, <a
class='index-inst' href='core.html#ID-11C98490'>6</a>, <a
class='index-inst' href='glossary.html#dt-descendant'>7</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-B63ED1A31'>doctype</a></td>
<td width='30%'><a class='noxref'
href='core.html#i-Document'>Document</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='core.html#ID-1841493061'>DOCUMENT_FRAGMENT_NODE</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-1841493061'>DOCUMENT_NODE</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-1841493061'>DOCUMENT_TYPE_NODE</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='core.html#ID-87CD092'>documentElement</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-B63ED1A3'>DocumentFragment</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-412266927'>DocumentType</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='introduction.html#ID-E7C30824'>DOM Level 1</a> <a
class='index-inst' href='introduction.html#ID-E7C30824'>1</a>, <a
class='index-inst' href='references.html#DOM-Level-1'>2</a></td>
<td width='30%'><a class='noxref'
href='introduction.html#ID-Conformance'>DOM Level 2 CSS</a> <a
class='index-inst' href='introduction.html#ID-Conformance'>1</a>,
<a class='index-inst' href='references.html#DOMCSS-inf'>2</a></td>
<td width='30%'><a class='noxref'
href='introduction.html#ID-Conformance'>DOM Level 2 Events</a> <a
class='index-inst' href='introduction.html#ID-Conformance'>1</a>,
<a class='index-inst'
href='references.html#DOMEvents-inf'>2</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='introduction.html#ID-Conformance'>DOM Level 2 HTML</a> <a
class='index-inst' href='introduction.html#ID-Conformance'>1</a>,
<a class='index-inst' href='core.html#ID-BBACDC08'>2</a>, <a
class='index-inst' href='core.html#ID-E067D597'>3</a>, <a
class='index-inst' href='references.html#DOMHTML-inf'>4</a></td>
<td width='30%'><a class='noxref'
href='introduction.html#ID-Conformance'>DOM Level 2 Range</a> <a
class='index-inst' href='introduction.html#ID-Conformance'>1</a>,
<a class='index-inst'
href='references.html#DOMRange-inf'>2</a></td>
<td width='30%'><a class='noxref'
href='introduction.html#ID-Conformance'>DOM Level 2 Style
Sheets</a> <a class='index-inst'
href='introduction.html#ID-Conformance'>1</a>, <a
class='index-inst'
href='references.html#DOMStyleSheets-inf'>2</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='introduction.html#ID-Conformance'>DOM Level 2 Traversal</a>
<a class='index-inst'
href='introduction.html#ID-Conformance'>1</a>, <a
class='index-inst'
href='references.html#DOMTraversal-inf'>2</a></td>
<td width='30%'><a class='noxref'
href='introduction.html#ID-Conformance'>DOM Level 2 Views</a> <a
class='index-inst' href='introduction.html#ID-Conformance'>1</a>,
<a class='index-inst'
href='references.html#DOMViews-inf'>2</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-17189187'>DOMException</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='core.html#ID-102161490'>DOMImplementation</a></td>
<td width='30%'><a class='noxref'
href='core.html#DOMString'>DOMString</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-258A00AF'>DOMSTRING_SIZE_ERR</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='core.html#DOMTimeStamp'>DOMTimeStamp</a></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='introduction.html#ID-E7C3082'>ECMAScript</a> <a
class='index-inst' href='introduction.html#ID-E7C3082'>1</a>, <a
class='index-inst' href='core.html#ID-249F15BA'>2</a>, <a
class='index-inst' href='glossary.html#dt-ECMAScript'>3</a>, <a
class='index-inst' href='references.html#ECMAScript'>4</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-745549614'>Element</a> <a class='index-inst'
href='core.html#ID-745549614'>1</a>, <a class='index-inst'
href='core.html#ID-1590626202'>2</a>, <a class='index-inst'
href='core.html#td-live'>3</a>, <a class='index-inst'
href='core.html#ID-5DFED1F0'>4</a>, <a class='index-inst'
href='core.html#Namespaces-Considerations'>5</a>, <a
class='index-inst' href='glossary.html#dt-element'>6</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-1841493061'>ELEMENT_NODE</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='core.html#ID-1788794630'>entities</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-527DCFF2'>Entity</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-1841493061'>ENTITY_NODE</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='core.html#ID-1841493061'>ENTITY_REFERENCE_NODE</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-11C98490'>EntityReference</a></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='core.html#ID-169727388'>firstChild</a></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='core.html#ID-666EE0F9'>getAttribute</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-217A91B8'>getAttributeNode</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-ElGetAtNodeNS'>getAttributeNodeNS</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='core.html#ID-ElGetAttrNS'>getAttributeNS</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-getElBId'>getElementById</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-A6C9094'>getElementsByTagName</a> <a
class='index-inst' href='core.html#ID-A6C9094'>1</a>, <a
class='index-inst' href='core.html#ID-1938918D'>2</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='core.html#ID-getElBTNNS'>getElementsByTagNameNS</a> <a
class='index-inst' href='core.html#ID-getElBTNNS'>1</a>, <a
class='index-inst' href='core.html#ID-A6C90942'>2</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-1074577549'>getNamedItem</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-getNamedItemNS'>getNamedItemNS</a></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='core.html#ID-ElHasAttr'>hasAttribute</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-ElHasAttrNS'>hasAttributeNS</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-NodeHasAttrs'>hasAttributes</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='core.html#ID-810594187'>hasChildNodes</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-5CED94D7'>hasFeature</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-258A00AF'>HIERARCHY_REQUEST_ERR</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='introduction.html#ID-E7C30824'>hosting implementation</a> <a
class='index-inst' href='introduction.html#ID-E7C30824'>1</a>, <a
class='index-inst'
href='glossary.html#dt-implementation'>2</a></td>
<td width='30%'><a class='noxref'
href='introduction.html#ID-E7C3082'>HTML</a> <a class='index-inst'
href='introduction.html#ID-E7C3082'>1</a>, <a class='index-inst'
href='glossary.html#dt-HTML'>2</a></td>
<td width='30%'><a class='noxref'
href='glossary.html#dt-HTML'>HTML4.0</a> <a class='index-inst'
href='glossary.html#dt-HTML'>1</a>, <a class='index-inst'
href='references.html#HTML40'>2</a></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='core.html#ID-1B793EBA'>implementation</a></td>
<td width='30%'><a class='noxref'
href='core.html#Core-Document-importNode'>importNode</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-258A00AF'>INDEX_SIZE_ERR</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='core.html#ID-1312295772'>information item</a> <a
class='index-inst' href='core.html#ID-1312295772'>1</a>, <a
class='index-inst' href='glossary.html#dt-infoitem'>2</a></td>
<td width='30%'><a class='noxref'
href='introduction.html#ID-E7C30821'>Infoset</a> <a
class='index-inst' href='introduction.html#ID-E7C30821'>1</a>, <a
class='index-inst' href='introduction.html#ID-E7C30822'>2</a>, <a
class='index-inst' href='glossary.html#dt-infoitem'>3</a>, <a
class='index-inst' href='references.html#InfoSet'>4</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-1CED5498'>inheritance</a> <a class='index-inst'
href='core.html#ID-1CED5498'>1</a>, <a class='index-inst'
href='glossary.html#dt-inheritance'>2</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='core.html#ID-952280727'>insertBefore</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-3EDB695F'>insertData</a></td>
<td width='30%'><a class='noxref'
href='introduction.html#ID-E7C3082'>interface</a> <a
class='index-inst' href='introduction.html#ID-E7C3082'>1</a>, <a
class='index-inst' href='glossary.html#dt-interface'>2</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='core.html#ID-Core-DocType-internalSubset'>internalSubset</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-258A00AF'>INUSE_ATTRIBUTE_ERR</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-258A00AF'>INVALID_ACCESS_ERR</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='core.html#ID-258A00AF'>INVALID_CHARACTER_ERR</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-258A00AF'>INVALID_MODIFICATION_ERR</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-258A00AF'>INVALID_STATE_ERR</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='core.html#ID-C74D1578'>ISO/IEC 10646</a> <a
class='index-inst' href='core.html#ID-C74D1578'>1</a>, <a
class='index-inst' href='glossary.html#dt-16-bit-unit'>2</a>, <a
class='index-inst' href='references.html#ISO10646'>3</a></td>
<td width='30%'><a class='noxref'
href='core.html#Level-2-Core-Node-supports'>isSupported</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-844377136'>item</a> <a class='index-inst'
href='core.html#ID-844377136'>1</a>, <a class='index-inst'
href='core.html#ID-349467F9'>2</a></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='introduction.html#ID-E7C3082'>Java</a> <a class='index-inst'
href='introduction.html#ID-E7C3082'>1</a>, <a class='index-inst'
href='references.html#Java'>2</a></td>
<td width='30%'><a class='noxref'
href='introduction.html#ID-E7C3082'>JavaIDL</a> <a
class='index-inst' href='introduction.html#ID-E7C3082'>1</a>, <a
class='index-inst' href='references.html#JavaIDL'>2</a></td>
<td width='30%'><a class='noxref'
href='introduction.html#ID-E7C3082'>JavaScript</a> <a
class='index-inst' href='introduction.html#ID-E7C3082'>1</a>, <a
class='index-inst' href='glossary.html#dt-ECMAScript'>2</a>, <a
class='index-inst' href='references.html#JavaScript'>3</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='introduction.html#ID-E7C3082'>JScript</a> <a
class='index-inst' href='introduction.html#ID-E7C3082'>1</a>, <a
class='index-inst' href='references.html#JScript'>2</a></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='introduction.html#ID-E7C3082'>language binding</a> <a
class='index-inst' href='introduction.html#ID-E7C3082'>1</a>, <a
class='index-inst' href='glossary.html#dt-lang-binding'>2</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-61AD09FB'>lastChild</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-203510337'>length</a> <a class='index-inst'
href='core.html#ID-203510337'>1</a>, <a class='index-inst'
href='core.html#ID-6D0FB19E'>2</a>, <a class='index-inst'
href='core.html#ID-7D61178C'>3</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref' href='core.html#td-live'>live</a>
<a class='index-inst' href='core.html#td-live'>1</a>, <a
class='index-inst' href='core.html#ID-536297177'>2</a>, <a
class='index-inst' href='core.html#ID-1780488922'>3</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-DocCrElNS'>local name</a> <a class='index-inst'
href='core.html#ID-DocCrElNS'>1</a>, <a class='index-inst'
href='core.html#ID-DocCrAttrNS'>2</a>, <a class='index-inst'
href='core.html#ID-getElBTNNS'>3</a>, <a class='index-inst'
href='core.html#ID-getNamedItemNS'>4</a>, <a class='index-inst'
href='core.html#ID-removeNamedItemNS'>5</a>, <a class='index-inst'
href='core.html#ID-ElGetAttrNS'>6</a>, <a class='index-inst'
href='core.html#ID-ElRemAtNS'>7</a>, <a class='index-inst'
href='core.html#ID-ElGetAtNodeNS'>8</a>, <a class='index-inst'
href='core.html#ID-ElSetAtNodeNS'>9</a>, <a class='index-inst'
href='core.html#ID-A6C90942'>10</a>, <a class='index-inst'
href='core.html#ID-ElHasAttrNS'>11</a>, <a class='index-inst'
href='glossary.html#dt-localname'>12</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-NodeNSLocalN'>localName</a></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='introduction.html#ID-Conformance'>method</a> <a
class='index-inst' href='introduction.html#ID-Conformance'>1</a>,
<a class='index-inst' href='glossary.html#dt-method'>2</a></td>
<td width='30%'><a class='noxref'
href='introduction.html#ID-E7C3082'>MIDL</a> <a class='index-inst'
href='introduction.html#ID-E7C3082'>1</a>, <a class='index-inst'
href='references.html#MSIDL'>2</a></td>
<td width='30%'><a class='noxref'
href='introduction.html#ID-E7C30821'>model</a> <a
class='index-inst' href='introduction.html#ID-E7C30821'>1</a>, <a
class='index-inst' href='glossary.html#dt-model'>2</a></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='core.html#ID-1112119403'>name</a> <a class='index-inst'
href='core.html#ID-1112119403'>1</a>, <a class='index-inst'
href='core.html#ID-1844763134'>2</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-1780488922'>NamedNodeMap</a></td>
<td width='30%'><a class='noxref'
href='core.html#Namespaces-Considerations'>namespace prefix</a> <a
class='index-inst'
href='core.html#Namespaces-Considerations'>1</a>, <a
class='index-inst' href='core.html#ID-392B75AE'>2</a>, <a
class='index-inst' href='core.html#ID-NodeNSPrefix'>3</a>, <a
class='index-inst' href='core.html#ID-527DCFF2'>4</a>, <a
class='index-inst' href='core.html#ID-11C98490'>5</a>, <a
class='index-inst'
href='glossary.html#dt-namespaceprefix'>6</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='core.html#Namespaces-Considerations'>namespace URI</a> <a
class='index-inst'
href='core.html#Namespaces-Considerations'>1</a>, <a
class='index-inst'
href='core.html#Level-2-Core-DOM-createDocument'>2</a>, <a
class='index-inst' href='core.html#ID-DocCrElNS'>3</a>, <a
class='index-inst' href='core.html#ID-DocCrAttrNS'>4</a>, <a
class='index-inst' href='core.html#ID-getElBTNNS'>5</a>, <a
class='index-inst' href='core.html#ID-NodeNSname'>6</a>, <a
class='index-inst' href='core.html#ID-getNamedItemNS'>7</a>, <a
class='index-inst' href='core.html#ID-removeNamedItemNS'>8</a>, <a
class='index-inst' href='core.html#ID-ElGetAttrNS'>9</a>, <a
class='index-inst' href='core.html#ID-ElSetAttrNS'>10</a>, <a
class='index-inst' href='core.html#ID-ElRemAtNS'>11</a>, <a
class='index-inst' href='core.html#ID-ElGetAtNodeNS'>12</a>, <a
class='index-inst' href='core.html#ID-ElSetAtNodeNS'>13</a>, <a
class='index-inst' href='core.html#ID-A6C90942'>14</a>, <a
class='index-inst' href='core.html#ID-ElHasAttrNS'>15</a>, <a
class='index-inst' href='core.html#ID-11C98490'>16</a>, <a
class='index-inst' href='glossary.html#dt-namespaceURI'>17</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-258A00AF'>NAMESPACE_ERR</a></td>
<td width='30%'><a class='noxref'
href='core.html#Namespaces-Considerations'>Namespaces</a> <a
class='index-inst'
href='core.html#Namespaces-Considerations'>1</a>, <a
class='index-inst'
href='core.html#Level-2-Core-DOM-createDocument'>2</a>, <a
class='index-inst' href='core.html#ID-DocCrElNS'>3</a>, <a
class='index-inst' href='core.html#ID-NodeNSname'>4</a>, <a
class='index-inst' href='core.html#ID-NodeNSPrefix'>5</a>, <a
class='index-inst' href='glossary.html#dt-localname'>6</a>, <a
class='index-inst' href='glossary.html#dt-namespaceprefix'>7</a>,
<a class='index-inst' href='glossary.html#dt-namespaceURI'>8</a>,
<a class='index-inst' href='glossary.html#dt-qualifiedname'>9</a>,
<a class='index-inst' href='glossary.html#dt-XML-namespace'>10</a>,
<a class='index-inst' href='references.html#Namespaces'>11</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='core.html#ID-NodeNSname'>namespaceURI</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-6AC54C2F'>nextSibling</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-258A00AF'>NO_DATA_ALLOWED_ERR</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='core.html#ID-258A00AF'>NO_MODIFICATION_ALLOWED_ERR</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-1950641247'>Node</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-536297177'>NodeList</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='core.html#ID-F68D095'>nodeName</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-111237558'>nodeType</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-F68D080'>nodeValue</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='core.html#ID-normalize'>normalize</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-258A00AF'>NOT_FOUND_ERR</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-258A00AF'>NOT_SUPPORTED_ERR</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='core.html#ID-5431D1B9'>Notation</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-1841493061'>NOTATION_NODE</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-6ABAEB38'>notationName</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='core.html#ID-D46829EF'>notations</a></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='introduction.html#ID-E7C30821'>object model</a> <a
class='index-inst' href='introduction.html#ID-E7C30821'>1</a>, <a
class='index-inst' href='introduction.html#ID-E7C30822'>2</a>, <a
class='index-inst' href='glossary.html#dt-object-model'>3</a></td>
<td width='30%'><a class='noxref'
href='introduction.html#ID-E7C3082'>OMGIDL</a> <a
class='index-inst' href='introduction.html#ID-E7C3082'>1</a>, <a
class='index-inst' href='core.html#ID-C74D1578'>2</a>, <a
class='index-inst' href='references.html#OMGIDL'>3</a></td>
<td width='30%'><a class='noxref'
href='core.html#node-ownerDoc'>ownerDocument</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='core.html#Attr-ownerElement'>ownerElement</a></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='core.html#ID-1060184317'>parent</a> <a class='index-inst'
href='core.html#ID-1060184317'>1</a>, <a class='index-inst'
href='glossary.html#dt-parent'>2</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-1060184317'>parentNode</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-NodeNSPrefix'>prefix</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='core.html#ID-640FB3C8'>previousSibling</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-1841493061'>PROCESSING_INSTRUCTION_NODE</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-1004215813'>ProcessingInstruction</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='core.html#ID-Core-DocType-publicId'>publicId</a> <a
class='index-inst' href='core.html#ID-Core-DocType-publicId'>1</a>,
<a class='index-inst' href='core.html#ID-54F2B4D0'>2</a>, <a
class='index-inst' href='core.html#ID-D7303025'>3</a></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='core.html#Namespaces-Considerations'>qualified name</a> <a
class='index-inst'
href='core.html#Namespaces-Considerations'>1</a>, <a
class='index-inst'
href='core.html#Level-2-Core-DOM-createDocType'>2</a>, <a
class='index-inst'
href='core.html#Level-2-Core-DOM-createDocument'>3</a>, <a
class='index-inst' href='core.html#ID-DocCrElNS'>4</a>, <a
class='index-inst' href='core.html#ID-DocCrAttrNS'>5</a>, <a
class='index-inst' href='core.html#ID-NodeNSPrefix'>6</a>, <a
class='index-inst' href='core.html#ID-NodeNSLocalN'>7</a>, <a
class='index-inst' href='core.html#ID-ElSetAttrNS'>8</a>, <a
class='index-inst' href='glossary.html#dt-qualifiedname'>9</a></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='core.html#ID-3A0ED0A4'>readonly node</a> <a
class='index-inst' href='core.html#ID-3A0ED0A4'>1</a>, <a
class='index-inst' href='core.html#ID-5431D1B9'>2</a>, <a
class='index-inst' href='core.html#ID-527DCFF2'>3</a>, <a
class='index-inst' href='core.html#ID-11C98490'>4</a>, <a
class='index-inst' href='glossary.html#dt-readonly-node'>5</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-6D6AC0F9'>removeAttribute</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-D589198'>removeAttributeNode</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='core.html#ID-ElRemAtNS'>removeAttributeNS</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-1734834066'>removeChild</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-D58B193'>removeNamedItem</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='core.html#ID-removeNamedItemNS'>removeNamedItemNS</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-785887307'>replaceChild</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-E5CBA7FB'>replaceData</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='glossary.html#dt-XML-namespace'>RFC2396</a> <a
class='index-inst' href='glossary.html#dt-XML-namespace'>1</a>, <a
class='index-inst' href='references.html#URIRef'>2</a></td>
<td width='30%'><a class='noxref' href='core.html#i-Document'>root
node</a> <a class='index-inst' href='core.html#i-Document'>1</a>,
<a class='index-inst' href='glossary.html#dt-root-node'>2</a></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='core.html#ID-F68F082'>setAttribute</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-887236154'>setAttributeNode</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-ElSetAtNodeNS'>setAttributeNodeNS</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='core.html#ID-ElSetAttrNS'>setAttributeNS</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-1025163788'>setNamedItem</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-setNamedItemNS'>setNamedItemNS</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='core.html#ID-B63ED1A3'>sibling</a> <a class='index-inst'
href='core.html#ID-B63ED1A3'>1</a>, <a class='index-inst'
href='core.html#ID-38853C1D'>2</a>, <a class='index-inst'
href='glossary.html#dt-sibling'>3</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-862529273'>specified</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-38853C1D'>splitText</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='core.html#ID-5DFED1F0'>string comparison</a> <a
class='index-inst' href='core.html#ID-5DFED1F0'>1</a>, <a
class='index-inst'
href='core.html#Namespaces-Considerations'>2</a>, <a
class='index-inst'
href='glossary.html#dt-string-compare'>3</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-6531BCCF'>substringData</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-258A00AF'>SYNTAX_ERR</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='core.html#ID-Core-DocType-systemId'>systemId</a> <a
class='index-inst' href='core.html#ID-Core-DocType-systemId'>1</a>,
<a class='index-inst' href='core.html#ID-E8AAB1D0'>2</a>, <a
class='index-inst' href='core.html#ID-D7C29F3E'>3</a></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='core.html#ID-104682815'>tagName</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-1478689192'>target</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-1312295772'>Text</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='core.html#ID-1841493061'>TEXT_NODE</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-1478689192'>token</a> <a class='index-inst'
href='core.html#ID-1478689192'>1</a>, <a class='index-inst'
href='glossary.html#dt-token'>2</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-637646024'>tokenized</a> <a class='index-inst'
href='core.html#ID-637646024'>1</a>, <a class='index-inst'
href='glossary.html#dt-tokenized'>2</a></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='core.html#ID-C74D1578'>Unicode</a> <a class='index-inst'
href='core.html#ID-C74D1578'>1</a>, <a class='index-inst'
href='glossary.html#dt-16-bit-unit'>2</a>, <a class='index-inst'
href='glossary.html#dt-string-compare'>3</a>, <a class='index-inst'
href='references.html#Unicode'>4</a></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='core.html#ID-221662474'>value</a></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='core.html#ID-B63ED1A3'>well-formed document</a> <a
class='index-inst' href='core.html#ID-B63ED1A3'>1</a>, <a
class='index-inst' href='glossary.html#dt-well-formed'>2</a></td>
<td width='30%'><a class='noxref'
href='core.html#ID-258A00AF'>WRONG_DOCUMENT_ERR</a></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='introduction.html#ID-E7C3082'>XML</a> <a class='index-inst'
href='introduction.html#ID-E7C3082'>1</a>, <a class='index-inst'
href='core.html#ID-5431D1B9'>2</a>, <a class='index-inst'
href='glossary.html#dt-XML'>3</a>, <a class='index-inst'
href='glossary.html#dt-element'>4</a>, <a class='index-inst'
href='glossary.html#dt-well-formed'>5</a>, <a class='index-inst'
href='glossary.html#dt-XML-name'>6</a>, <a class='index-inst'
href='references.html#XML'>7</a></td>
<td width='30%'><a class='noxref' href='core.html#ID-5CED94D7'>XML
name</a> <a class='index-inst' href='core.html#ID-5CED94D7'>1</a>,
<a class='index-inst' href='glossary.html#dt-XML-name'>2</a></td>
<td width='30%'><a class='noxref'
href='core.html#Namespaces-Considerations'>XML namespace</a> <a
class='index-inst'
href='core.html#Namespaces-Considerations'>1</a>, <a
class='index-inst' href='glossary.html#dt-XML-namespace'>2</a></td>
</tr>
<tr>
<td width='30%'><a class='noxref'
href='core.html#ID-normalize'>XPointer</a> <a class='index-inst'
href='core.html#ID-normalize'>1</a>, <a class='index-inst'
href='references.html#XPointer'>2</a></td>
</tr>
</table>
</div>
<!-- div1 Index -->
<div class='navbar' align='center'>
<hr title='Navigation area separator' />
<a accesskey='p' href='references.html'>previous</a> &nbsp; <a
accesskey='c' href='Overview.html#contents'>contents</a></div>
</body>
</html>
File diff suppressed because it is too large. Load diff
+220
View File
@@ -0,0 +1,220 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
Generated: Thu Nov 09 17:42:27 EST 2000 jfouffa.w3.org
-->
<html lang='en' xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Expanded Table of Contents</title>
<link rel='stylesheet' type='text/css' href='./spec.css' />
<link rel='stylesheet' type='text/css' href='W3C-REC.css' />
<link rel='next' href='copyright-notice.html' />
<link rel='contents' href='Overview.html#contents' />
<link rel='index' href='def-index.html' />
<link rel='previous' href='Overview.html' />
</head>
<body>
<div class='navbar' align='center'><a accesskey='p'
href='Overview.html'>previous</a> &nbsp; <a accesskey='n'
href='copyright-notice.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='noprint' style='text-align: right'>
<p style='font-family: monospace;font-size:small'>13 November,
2000</p>
</div>
<div class='div1'><a id="TOC" name='TOC'></a>
<h1 id='TOC-h1' class='div1'>Expanded Table of Contents</h1>
<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>
<ul class='toc'>
<li class='tocline3'><a class='tocxref'
href='copyright-notice.html#Copyright-notice-document'>W3C Document
Copyright Notice and License</a></li>
<li class='tocline3'><a class='tocxref'
href='copyright-notice.html#Copyright-notice-software'>W3C Software
Copyright Notice and License</a></li>
</ul>
</li>
<li class='tocline2'><a class='tocxref'
href='introduction.html'>What is the Document Object Model?</a>
<ul class='toc'>
<li class='tocline3'><a class='tocxref'
href='introduction.html#ID-E7C3082'>Introduction</a></li>
<li class='tocline3'><a class='tocxref'
href='introduction.html#ID-E7C30821'>What the Document Object Model
is</a></li>
<li class='tocline3'><a class='tocxref'
href='introduction.html#ID-E7C30822'>What the Document Object Model
is not</a></li>
<li class='tocline3'><a class='tocxref'
href='introduction.html#ID-E7C30823'>Where the Document Object
Model came from</a></li>
<li class='tocline3'><a class='tocxref'
href='introduction.html#ID-E7C30824'>Entities and the DOM
Core</a></li>
<li class='tocline3'><a class='tocxref'
href='introduction.html#ID-Conformance'>Conformance</a></li>
<li class='tocline3'><a class='tocxref'
href='introduction.html#ID-E7C30826'>DOM Interfaces and DOM
Implementations</a></li>
</ul>
</li>
</ul>
<ul class='toc'>
<li class='tocline2'><a class='tocxref' href='core.html'>1.
Document Object Model Core</a>
<ul class='toc'>
<li class='tocline3'><a class='tocxref'
href='core.html#ID-1590626201'>1.1. Overview of the DOM Core
Interfaces</a>
<ul class='toc'>
<li class='tocline4'><a class='tocxref'
href='core.html#ID-1590626202'>1.1.1. The DOM Structure
Model</a></li>
<li class='tocline4'><a class='tocxref'
href='core.html#ID-249F15BA'>1.1.2. Memory Management</a></li>
<li class='tocline4'><a class='tocxref'
href='core.html#ID-45A944CB'>1.1.3. Naming Conventions</a></li>
<li class='tocline4'><a class='tocxref'
href='core.html#ID-1CED5498'>1.1.4. Inheritance vs. Flattened Views
of the API</a></li>
<li class='tocline4'><a class='tocxref'
href='core.html#ID-C74D1578'>1.1.5. The DOMString type</a></li>
<li class='tocline4'><a class='tocxref'
href='core.html#Core-DOMTimeStamp'>1.1.6. The DOMTimeStamp
type</a></li>
<li class='tocline4'><a class='tocxref'
href='core.html#ID-5DFED1F0'>1.1.7. String comparisons in the
DOM</a></li>
<li class='tocline4'><a class='tocxref'
href='core.html#Namespaces-Considerations'>1.1.8. XML
Namespaces</a></li>
</ul>
</li>
<li class='tocline3'><a class='tocxref'
href='core.html#ID-BBACDC08'>1.2. Fundamental Interfaces</a></li>
<li class='tocline3'><a class='tocxref'
href='core.html#ID-E067D597'>1.3. Extended Interfaces</a></li>
</ul>
</li>
</ul>
<ul class='toc'>
<li class='tocline2'><a class='tocxref'
href='changes.html'>Appendix A: Changes</a>
<ul class='toc'>
<li class='tocline3'><a class='tocxref'
href='changes.html#DOMLevel1to2Changes'>A.1. Changes between DOM
Level 1 Core and DOM Level 2 Core</a>
<ul class='toc'>
<li class='tocline4'><a class='tocxref'
href='changes.html#DOMLevel1Changes'>A.1.1. Changes to DOM Level 1
Core interfaces and exceptions</a></li>
<li class='tocline4'><a class='tocxref'
href='changes.html#DOMLevel2Addons'>A.1.2. New features</a></li>
</ul>
</li>
</ul>
</li>
<li class='tocline2'><a class='tocxref' href='i18n.html'>Appendix
B: Accessing code point boundaries</a>
<ul class='toc'>
<li class='tocline3'><a class='tocxref'
href='i18n.html#i18n-introduction'>B.1. Introduction</a></li>
<li class='tocline3'><a class='tocxref'
href='i18n.html#i18n-methods'>B.2. Methods</a></li>
</ul>
</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>
<ul class='toc'>
<li class='tocline3'><a class='tocxref'
href='acknowledgements.html#Productions'>F.1. Production
Systems</a></li>
</ul>
</li>
<li class='tocline2'><a class='tocxref'
href='glossary.html'>Glossary</a></li>
<li class='tocline2'><a class='tocxref'
href='references.html'>References</a>
<ul class='toc'>
<li class='tocline3'><a class='tocxref'
href='references.html#References-Normative'>1. Normative
references</a></li>
<li class='tocline3'><a class='tocxref'
href='references.html#References-Informative'>2. Informative
references</a></li>
</ul>
</li>
<li class='tocline2'><a class='tocxref'
href='def-index.html'>Index</a></li>
</ul>
</div>
<!-- div1 TOC -->
<div class='navbar' align='center'>
<hr title='Navigation area separator' />
<a accesskey='p' href='Overview.html'>previous</a> &nbsp; <a
accesskey='n' href='copyright-notice.html'>next</a> &nbsp; <a
accesskey='c' href='Overview.html#contents'>contents</a> &nbsp; <a
accesskey='i' href='def-index.html'>index</a></div>
</body>
</html>
+356
View File
@@ -0,0 +1,356 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
Generated: Thu Nov 09 17:43:25 EST 2000 jfouffa.w3.org
-->
<html lang='en' xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Glossary</title>
<link rel='stylesheet' type='text/css' href='./spec.css' />
<link rel='stylesheet' type='text/css' href='W3C-REC.css' />
<link rel='next' href='references.html' />
<link rel='contents' href='Overview.html#contents' />
<link rel='index' href='def-index.html' />
<link rel='previous' href='acknowledgements.html' />
</head>
<body>
<div class='navbar' align='center'><a accesskey='p'
href='acknowledgements.html'>previous</a> &nbsp; <a accesskey='n'
href='references.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='noprint' style='text-align: right'>
<p style='font-family: monospace;font-size:small'>13 November,
2000</p>
</div>
<div class='div1'><a id="glossary" name='glossary'></a>
<h1 id='role-glossary' class='glossary'>Glossary</h1>
<dl>
<dt><i>Editors</i></dt>
<dd>Arnaud Le Hors, IBM</dd>
<dd>Lauren Wood, SoftQuad Software Inc.</dd>
<dd>Robert S. Sutor, IBM (for DOM Level 1)</dd>
</dl>
<p>Several of the following term definitions have been borrowed or
modified from similar definitions in other W3C or standards
documents. See the links within the definitions for more
information.</p>
<dl>
<dt><b><a id="dt-16-bit-unit" name='dt-16-bit-unit'>16-bit
unit</a></b></dt>
<dd>The base unit of a <a
href='core.html#DOMString'><code>DOMString</code></a>. This
indicates that indexing on a <a class='noxref'
href='core.html#DOMString'><code>DOMString</code></a> occurs in
units of 16 bits. This must not be misunderstood to mean that a <a
class='noxref'
href='core.html#DOMString'><code>DOMString</code></a> can store
arbitrary 16-bit units. A <a class='noxref'
href='core.html#DOMString'><code>DOMString</code></a> is a
character string encoded in UTF-16; this means that the
restrictions of UTF-16 as well as the other relevant restrictions
on character strings must be maintained. A single character, for
example in the form of a numeric character reference, may
correspond to one or two 16-bit units.<br />
For more information, see [<a class='noxref'
href='references.html#Unicode'>Unicode</a>] and [<a class='noxref'
href='references.html#ISO10646'>ISO/IEC 10646</a>].</dd>
<dt><b><a id="dt-ancestor" name='dt-ancestor'>ancestor</a></b></dt>
<dd>An <i>ancestor</i> node of any node A is any node above A in a
tree model of a document, where "above" means "toward the
root."</dd>
<dt><b><a id="dt-API" name='dt-API'>API</a></b></dt>
<dd>An <i>API</i> is an application programming interface, a set of
functions or <i>methods</i> used to access some functionality.</dd>
<dt><b><a id="dt-child" name='dt-child'>child</a></b></dt>
<dd>A <i>child</i> is an immediate <i>descendant</i> node of a
node.</dd>
<dt><b><a id="dt-application" name='dt-application'>client
application</a></b></dt>
<dd>A [client] application is any software that uses the Document
Object Model programming interfaces provided by the hosting
implementation to accomplish useful work. Some examples of client
applications are scripts within an HTML or XML document.</dd>
<dt><b><a id="dt-COM" name='dt-COM'>COM</a></b></dt>
<dd><i>COM</i> is Microsoft's Component Object Model [<a
class='noxref' href='references.html#COM'>COM</a>], a technology
for building applications from binary software components.</dd>
<dt><b><a id="dt-convenience"
name='dt-convenience'>convenience</a></b></dt>
<dd>A <i>convenience method</i> is an operation on an object that
could be accomplished by a program consisting of more basic
operations on the object. Convenience <i>methods</i> are usually
provided to make the API easier and simpler to use or to allow
specific programs to create more optimized implementations for
common operations. A similar definition holds for a <i>convenience
property</i>.</dd>
<dt><b><a id="dt-datamodel" name='dt-datamodel'>data
model</a></b></dt>
<dd>A <i>data model</i> is a collection of descriptions of data
structures and their contained fields, together with the operations
or functions that manipulate them.</dd>
<dt><b><a id="dt-descendant"
name='dt-descendant'>descendant</a></b></dt>
<dd>A <i>descendant</i> node of any node A is any node below A in a
tree model of a document, where "above" means "toward the
root."</dd>
<dt><b><a id="dt-ECMAScript"
name='dt-ECMAScript'>ECMAScript</a></b></dt>
<dd>The programming language defined by the ECMA-262 standard [<a
class='noxref' href='references.html#ECMAScript'>ECMAScript</a>].
As stated in the standard, the originating technology for
ECMAScript was JavaScript [<a class='noxref'
href='references.html#JavaScript'>JavaScript</a>]. Note that in the
ECMAScript Language binding, the word "property" is used in the
same sense as the IDL term "attribute."</dd>
<dt><b><a id="dt-element" name='dt-element'>element</a></b></dt>
<dd>Each document contains one or more elements, the boundaries of
which are either delimited by start-tags and end-tags, or, for
empty elements by an empty-element tag. Each element has a type,
identified by name, and may have a set of attributes. Each
attribute has a name and a value. See <a
href='http://www.w3.org/TR/1998/REC-xml-19980210#sec-logical-struct'>
<em>Logical Structures</em></a> in XML [<a class='noxref'
href='references.html#XML'>XML</a>].</dd>
<dt><b><a id="dt-infoitem" name='dt-infoitem'>information
item</a></b></dt>
<dd>An information item is an abstract representation of some
component of an XML document. See the [<a class='noxref'
href='references.html#InfoSet'>Infoset</a>] for details.</dd>
<dt><b><a id="dt-implementation" name='dt-implementation'>hosting
implementation</a></b></dt>
<dd>A [hosting] implementation is a software module that provides
an implementation of the DOM interfaces so that a client
application can use them. Some examples of hosting implementations
are browsers, editors and document repositories.</dd>
<dt><b><a id="dt-HTML" name='dt-HTML'>HTML</a></b></dt>
<dd>The HyperText Markup Language (<i>HTML</i>) is a simple markup
language used to create hypertext documents that are portable from
one platform to another. HTML documents are SGML documents with
generic semantics that are appropriate for representing information
from a wide range of applications. [<a class='noxref'
href='references.html#HTML40'>HTML4.0</a>]</dd>
<dt><b><a id="dt-inheritance"
name='dt-inheritance'>inheritance</a></b></dt>
<dd>In object-oriented programming, the ability to create new
classes (or interfaces) that contain all the methods and properties
of another class (or interface), plus additional methods and
properties. If class (or interface) D inherits from class (or
interface) B, then D is said to be <i>derived</i> from B. B is said
to be a <i>base</i> class (or interface) for D. Some programming
languages allow for multiple inheritance, that is, inheritance from
more than one class or interface.</dd>
<dt><b><a id="dt-interface"
name='dt-interface'>interface</a></b></dt>
<dd>An <i>interface</i> is a declaration of a set of <i>methods</i>
with no information given about their implementation. In object
systems that support interfaces and inheritance, interfaces can
usually inherit from one another.</dd>
<dt><b><a id="dt-lang-binding" name='dt-lang-binding'>language
binding</a></b></dt>
<dd>A programming <i>language binding</i> for an IDL specification
is an implementation of the interfaces in the specification for the
given language. For example, a Java language binding for the
Document Object Model IDL specification would implement the
concrete Java classes that provide the functionality exposed by the
interfaces.</dd>
<dt><b><a id="dt-localname" name='dt-localname'>local
name</a></b></dt>
<dd>A <i>local name</i> is the local part of a <i>qualified
name</i>. This is called the local part in Namespaces in XML [<a
class='noxref'
href='references.html#Namespaces'>Namespaces</a>].</dd>
<dt><b><a id="dt-method" name='dt-method'>method</a></b></dt>
<dd>A <i>method</i> is an operation or function that is associated
with an object and is allowed to manipulate the object's data.</dd>
<dt><b><a id="dt-model" name='dt-model'>model</a></b></dt>
<dd>A <i>model</i> is the actual data representation for the
information at hand. Examples are the structural model and the
style model representing the parse structure and the style
information associated with a document. The model might be a tree,
or a directed graph, or something else.</dd>
<dt><b><a id="dt-namespaceprefix"
name='dt-namespaceprefix'>namespace prefix</a></b></dt>
<dd>A <i>namespace prefix</i> is a string that associates an
element or attribute name with a <i>namespace URI</i> in XML. See
namespace prefix in Namespaces in XML [<a class='noxref'
href='references.html#Namespaces'>Namespaces</a>].</dd>
<dt><b><a id="dt-namespaceURI" name='dt-namespaceURI'>namespace
URI</a></b></dt>
<dd>A <i>namespace URI</i> is a URI that identifies an <i>XML
namespace</i>. Strictly speaking, this actually is a <i>namespace
URI reference</i>. This is called the namespace name in Namespaces
in XML [<a class='noxref'
href='references.html#Namespaces'>Namespaces</a>].</dd>
<dt><b><a id="dt-object-model" name='dt-object-model'>object
model</a></b></dt>
<dd>An <i>object model</i> is a collection of descriptions of
classes or interfaces, together with their member data, member
functions, and class-static operations.</dd>
<dt><b><a id="dt-parent" name='dt-parent'>parent</a></b></dt>
<dd>A <i>parent</i> is an immediate <i>ancestor</i> node of a
node.</dd>
<dt><b><a id="dt-qualifiedname" name='dt-qualifiedname'>qualified
name</a></b></dt>
<dd>A <i>qualified name</i> is the name of an element or attribute
defined as the concatenation of a <i>local name</i> (as defined in
this specification), optionally preceded by a <i>namespace
prefix</i> and colon character. See <a
href='http://www.w3.org/TR/1999/REC-xml-names-19990114/#ns-qualnames'>
<em>Qualified Names</em></a> in Namespaces in XML [<a
class='noxref'
href='references.html#Namespaces'>Namespaces</a>].</dd>
<dt><b><a id="dt-readonly-node" name='dt-readonly-node'>readonly
node</a></b></dt>
<dd>A <i>readonly node</i> is a node that is immutable. This means
its list of children, its content, and its attributes, when it is
an element, cannot be changed in any way. However, a readonly node
can possibly be moved, when it is not itself contained in a
readonly node.</dd>
<dt><b><a id="dt-root-node" name='dt-root-node'>root
node</a></b></dt>
<dd>The <i>root node</i> is the unique node that is not a
<i>child</i> of any other node. All other nodes are children or
other descendants of the root node.</dd>
<dt><b><a id="dt-sibling" name='dt-sibling'>sibling</a></b></dt>
<dd>Two nodes are <i>siblings</i> if and only if they have the same
<i>parent</i> node.</dd>
<dt><b><a id="dt-string-compare" name='dt-string-compare'>string
comparison</a></b></dt>
<dd>When string matching is required, it is to occur as though the
comparison was between 2 sequences of code points from the Unicode
3.0 standard [<a class='noxref'
href='references.html#Unicode'>Unicode</a>].</dd>
<dt><b><a id="dt-token" name='dt-token'>token</a></b></dt>
<dd>An information item such as an XML Name which has been <a
href='glossary.html#dt-tokenized'><em>tokenized</em></a>.</dd>
<dt><b><a id="dt-tokenized"
name='dt-tokenized'>tokenized</a></b></dt>
<dd>The description given to various information items (for
example, attribute values of various types, but not including the
StringType CDATA) after having been processed by the XML processor.
The process includes stripping leading and trailing white space,
and replacing multiple space characters by one. See the definition
of tokenized type.</dd>
<dt><b><a id="dt-well-formed" name='dt-well-formed'>well-formed
document</a></b></dt>
<dd>A document is <i>well-formed</i> if it is tag valid and
entities are limited to single elements (i.e., single sub-trees).
See <a
href='http://www.w3.org/TR/1998/REC-xml-19980210#sec-well-formed'><em>
Well-Formed XML Documents</em></a> in XML [<a class='noxref'
href='references.html#XML'>XML</a>].</dd>
<dt><b><a id="dt-XML" name='dt-XML'>XML</a></b></dt>
<dd>Extensible Markup Language (<i>XML</i>) is an extremely simple
dialect of SGML. The goal is to enable generic SGML to be served,
received, and processed on the Web in the way that is now possible
with HTML. XML [<a class='noxref'
href='references.html#XML'>XML</a>] has been designed for ease of
implementation and for interoperability with both SGML and
HTML.</dd>
<dt><b><a id="dt-XML-name" name='dt-XML-name'>XML name</a></b></dt>
<dd>See <a
href='http://www.w3.org/TR/1998/REC-xml-19980210#NT-Name'><em>XML
name</em></a> in the XML specification [<a class='noxref'
href='references.html#XML'>XML</a>].</dd>
<dt><b><a id="dt-XML-namespace" name='dt-XML-namespace'>XML
namespace</a></b></dt>
<dd>An <i>XML namespace</i> is a collection of names, identified by
a URI reference [<a class='noxref'
href='references.html#URIRef'>RFC2396</a>], which are used in XML
documents as element types and attribute names. [<a class='noxref'
href='references.html#Namespaces'>Namespaces</a>]</dd>
</dl>
</div>
<!-- div1 glossary -->
<div class='navbar' align='center'>
<hr title='Navigation area separator' />
<a accesskey='p' href='acknowledgements.html'>previous</a> &nbsp;
<a accesskey='n' href='references.html'>next</a> &nbsp; <a
accesskey='c' href='Overview.html#contents'>contents</a> &nbsp; <a
accesskey='i' href='def-index.html'>index</a></div>
</body>
</html>
+303
View File
@@ -0,0 +1,303 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
Generated: Thu Nov 09 17:43:02 EST 2000 jfouffa.w3.org
-->
<html lang='en' xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Accessing code point boundaries</title>
<link rel='stylesheet' type='text/css' href='./spec.css' />
<link rel='stylesheet' type='text/css' href='W3C-REC.css' />
<link rel='next' href='idl-definitions.html' />
<link rel='contents' href='Overview.html#contents' />
<link rel='index' href='def-index.html' />
<link rel='previous' href='changes.html' />
</head>
<body>
<div class='navbar' align='center'><a accesskey='p'
href='changes.html'>previous</a> &nbsp; <a accesskey='n'
href='idl-definitions.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='noprint' style='text-align: right'>
<p style='font-family: monospace;font-size:small'>13 November,
2000</p>
</div>
<div class='div1'><a id="i18n" name='i18n'></a>
<h1 id='i18n-h1' class='adiv1'>Appendix B: Accessing code point
boundaries</h1>
<dl>
<dd>Mark Davis, IBM</dd>
<dd>Lauren Wood, SoftQuad Software Inc.</dd>
</dl>
<div class='noprint'>
<h2 id='table-of-contents'>Table of contents</h2>
<ul class='toc'>
<li class='tocline3'><a class='tocxref'
href='#i18n-introduction'>2.1. Introduction</a></li>
<li class='tocline3'><a class='tocxref' href='#i18n-methods'>2.2.
Methods</a>
<ul class='toc'>
<li class='tocline4'><a
href='#i18n-methods-StringExtend'>StringExtend</a></li>
</ul>
</li>
</ul>
</div>
<div class='div2'><a id="i18n-introduction"
name='i18n-introduction'></a>
<h2 id='i18n-introduction-h2' class='adiv2'>B.1: Introduction</h2>
<p>This appendix is an informative, not a normative, part of the
Level 2 DOM specification.</p>
<p>Characters are represented in Unicode by numbers called <i>code
points</i> (also called <i>scalar values</i>). These numbers can
range from 0 up to 1,114,111 = 10FFFF<sub>16</sub> (although some
of these values are illegal). Each code point can be directly
encoded with a 32-bit code unit. This encoding is termed UCS-4 (or
UTF-32). The DOM specification, however, uses UTF-16, in which the
most frequent characters (which have values less than
FFFF<sub>16</sub>) are represented by a single 16-bit code unit,
while characters above FFFF<sub>16</sub> use a special pair of code
units called a <i>surrogate pair</i>. For more information, see [<a
class='noxref' href='references.html#Unicode'>Unicode</a>] or the
Unicode Web site.</p>
<p>While indexing by code points as opposed to code units is not
common in programs, some specifications such as XPath (and
therefore XSLT and XPointer) use code point indices. For
interfacing with such formats it is recommended that the
programming language provide string processing methods for
converting code point indices to code unit indices and back. Some
languages do not provide these functions natively; for these it is
recommended that the native <code>String</code> type that is bound
to <a href='core.html#DOMString'><code>DOMString</code></a> be
extended to enable this conversion. An example of how such an API
might look is supplied below.</p>
<p><b>Note:</b> Since these methods are supplied as an illustrative
example of the type of functionality that is required, the names of
the methods, exceptions, and interface may differ from those given
here.</p>
</div>
<!-- div2 i18n-introduction -->
<div class='div2'><a id="i18n-methods" name='i18n-methods'></a>
<h2 id='i18n-methods-h2' class='adiv2'>B.2: Methods</h2>
<dl>
<dt><b>Interface <i><a id="i18n-methods-StringExtend"
name='i18n-methods-StringExtend'>StringExtend</a></i></b></dt>
<dd>
<p>Extensions to a language's native String class or interface</p>
<dl>
<dt><br />
<b>IDL Definition</b></dt>
<dd>
<div class='idl-code'>
<pre>
interface StringExtend {
int findOffset16(in int offset32)
raises(StringIndexOutOfBoundsException);
int findOffset32(in int offset16)
raises(StringIndexOutOfBoundsException);
};
</pre>
</div>
<br />
</dd>
<dt><b>Methods</b></dt>
<dd>
<dl>
<dt><code class='method-name'><a
id="i18n-methods-StringExtend-findOffset16"
name='i18n-methods-StringExtend-findOffset16'>findOffset16</a></code></dt>
<dd>
<div class='method'>Returns the UTF-16 offset that corresponds to a
UTF-32 offset. Used for random access.
<p><b>Note:</b> You can always round-trip from a UTF-32 offset to a
UTF-16 offset and back. You can round-trip from a UTF-16 offset to
a UTF-32 offset and back if and only if the offset16 is not in the
middle of a surrogate pair. Unmatched surrogates count as a single
UTF-16 value.</p>
<div class='parameters'><b>Parameters</b>
<div class='paramtable'>
<dl>
<dt><code class='parameter-name'>offset32</code> of type
<code>int</code></dt>
<dd>UTF-32 offset.<br />
</dd>
</dl>
</div>
</div>
<!-- parameters -->
<div class='return'><b>Return Value</b>
<div class='returntable'>
<table
summary='Layout table: the first cell contains the type of the return value, the second contains a short description'
border='0'>
<tr>
<td valign='top'>
<p><code>int</code></p>
</td>
<td>
<p>UTF-16 offset</p>
</td>
</tr>
</table>
</div>
</div>
<!-- return -->
<div class='exceptions'><b>Exceptions</b>
<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
border='0'>
<tr>
<td valign='top'>
<p><code>StringIndexOutOfBoundsException</code></p>
</td>
<td>
<p>if <code>offset32</code> is out of bounds.</p>
</td>
</tr>
</table>
</div>
</div>
<!-- exceptions -->
</div>
<!-- method -->
</dd>
<dt><code class='method-name'><a
id="i18n-methods-StringExtend-findOffset32"
name='i18n-methods-StringExtend-findOffset32'>findOffset32</a></code></dt>
<dd>
<div class='method'>Returns the UTF-32 offset corresponding to a
UTF-16 offset. Used for random access. To find the UTF-32 length of
a string, use:
<div class='eg'>
<pre>
len32 = findOffset32(source, source.length());
</pre>
</div>
<p><b>Note:</b> If the UTF-16 offset is into the middle of a
surrogate pair, then the UTF-32 offset of the <em>end</em> of the
pair is returned; that is, the index of the char after the end of
the pair. You can always round-trip from a UTF-32 offset to a
UTF-16 offset and back. You can round-trip from a UTF-16 offset to
a UTF-32 offset and back if and only if the offset16 is not in the
middle of a surrogate pair. Unmatched surrogates count as a single
UTF-16 value.</p>
<div class='parameters'><b>Parameters</b>
<div class='paramtable'>
<dl>
<dt><code class='parameter-name'>offset16</code> of type
<code>int</code></dt>
<dd>UTF-16 offset<br />
</dd>
</dl>
</div>
</div>
<!-- parameters -->
<div class='return'><b>Return Value</b>
<div class='returntable'>
<table
summary='Layout table: the first cell contains the type of the return value, the second contains a short description'
border='0'>
<tr>
<td valign='top'>
<p><code>int</code></p>
</td>
<td>
<p>UTF-32 offset</p>
</td>
</tr>
</table>
</div>
</div>
<!-- return -->
<div class='exceptions'><b>Exceptions</b>
<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
border='0'>
<tr>
<td valign='top'>
<p><code>StringIndexOutOfBoundsException</code></p>
</td>
<td>
<p>if offset16 is out of bounds.</p>
</td>
</tr>
</table>
</div>
</div>
<!-- exceptions -->
</div>
<!-- method -->
</dd>
</dl>
</dd>
</dl>
</dd>
</dl>
</div>
<!-- div2 i18n-methods --></div>
<!-- div1 i18n -->
<div class='navbar' align='center'>
<hr title='Navigation area separator' />
<a accesskey='p' href='changes.html'>previous</a> &nbsp; <a
accesskey='n' href='idl-definitions.html'>next</a> &nbsp; <a
accesskey='c' href='Overview.html#contents'>contents</a> &nbsp; <a
accesskey='i' href='def-index.html'>index</a></div>
</body>
</html>
+367
View File
@@ -0,0 +1,367 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
Generated: Thu Nov 09 17:43:02 EST 2000 jfouffa.w3.org
-->
<html lang='en' xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>IDL Definitions</title>
<link rel='stylesheet' type='text/css' href='./spec.css' />
<link rel='stylesheet' type='text/css' href='W3C-REC.css' />
<link rel='next' href='java-binding.html' />
<link rel='contents' href='Overview.html#contents' />
<link rel='index' href='def-index.html' />
<link rel='previous' href='i18n.html' />
</head>
<body>
<div class='navbar' align='center'><a accesskey='p'
href='i18n.html'>previous</a> &nbsp; <a accesskey='n'
href='java-binding.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='noprint' style='text-align: right'>
<p style='font-family: monospace;font-size:small'>13 November,
2000</p>
</div>
<div class='div1'><a id="idl" name='idl'></a>
<h1 id='idl-h1' class='adiv1'>Appendix C: IDL Definitions</h1>
<p>This appendix contains the complete OMG IDL [<a class='noxref'
href='references.html#OMGIDL'>OMGIDL</a>] for the Level 2 Document
Object Model Core definitions.</p>
<p>The IDL files are also available as: <a
href='idl.zip'>http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/idl.zip</a></p>
<h3 id='idl-dom.idl'><a href='idl/dom.idl'>dom.idl</a>:</h3>
<div class='idl-code'>
<pre>
// File: dom.idl
#ifndef _DOM_IDL_
#define _DOM_IDL_
#pragma prefix "w3c.org"
module dom
{
valuetype DOMString sequence&lt;unsigned short&gt;;
typedef unsigned long long DOMTimeStamp;
interface DocumentType;
interface Document;
interface NodeList;
interface NamedNodeMap;
interface Element;
exception DOMException {
unsigned short code;
};
// ExceptionCode
const unsigned short INDEX_SIZE_ERR = 1;
const unsigned short DOMSTRING_SIZE_ERR = 2;
const unsigned short HIERARCHY_REQUEST_ERR = 3;
const unsigned short WRONG_DOCUMENT_ERR = 4;
const unsigned short INVALID_CHARACTER_ERR = 5;
const unsigned short NO_DATA_ALLOWED_ERR = 6;
const unsigned short NO_MODIFICATION_ALLOWED_ERR = 7;
const unsigned short NOT_FOUND_ERR = 8;
const unsigned short NOT_SUPPORTED_ERR = 9;
const unsigned short INUSE_ATTRIBUTE_ERR = 10;
// Introduced in DOM Level 2:
const unsigned short INVALID_STATE_ERR = 11;
// Introduced in DOM Level 2:
const unsigned short SYNTAX_ERR = 12;
// Introduced in DOM Level 2:
const unsigned short INVALID_MODIFICATION_ERR = 13;
// Introduced in DOM Level 2:
const unsigned short NAMESPACE_ERR = 14;
// Introduced in DOM Level 2:
const unsigned short INVALID_ACCESS_ERR = 15;
interface DOMImplementation {
boolean hasFeature(in DOMString feature,
in DOMString version);
// Introduced in DOM Level 2:
DocumentType createDocumentType(in DOMString qualifiedName,
in DOMString publicId,
in DOMString systemId)
raises(DOMException);
// Introduced in DOM Level 2:
Document createDocument(in DOMString namespaceURI,
in DOMString qualifiedName,
in DocumentType doctype)
raises(DOMException);
};
interface Node {
// NodeType
const unsigned short ELEMENT_NODE = 1;
const unsigned short ATTRIBUTE_NODE = 2;
const unsigned short TEXT_NODE = 3;
const unsigned short CDATA_SECTION_NODE = 4;
const unsigned short ENTITY_REFERENCE_NODE = 5;
const unsigned short ENTITY_NODE = 6;
const unsigned short PROCESSING_INSTRUCTION_NODE = 7;
const unsigned short COMMENT_NODE = 8;
const unsigned short DOCUMENT_NODE = 9;
const unsigned short DOCUMENT_TYPE_NODE = 10;
const unsigned short DOCUMENT_FRAGMENT_NODE = 11;
const unsigned short NOTATION_NODE = 12;
readonly attribute DOMString nodeName;
attribute DOMString nodeValue;
// raises(DOMException) on setting
// raises(DOMException) on retrieval
readonly attribute unsigned short nodeType;
readonly attribute Node parentNode;
readonly attribute NodeList childNodes;
readonly attribute Node firstChild;
readonly attribute Node lastChild;
readonly attribute Node previousSibling;
readonly attribute Node nextSibling;
readonly attribute NamedNodeMap attributes;
// Modified in DOM Level 2:
readonly attribute Document ownerDocument;
Node insertBefore(in Node newChild,
in Node refChild)
raises(DOMException);
Node replaceChild(in Node newChild,
in Node oldChild)
raises(DOMException);
Node removeChild(in Node oldChild)
raises(DOMException);
Node appendChild(in Node newChild)
raises(DOMException);
boolean hasChildNodes();
Node cloneNode(in boolean deep);
// Modified in DOM Level 2:
void normalize();
// Introduced in DOM Level 2:
boolean isSupported(in DOMString feature,
in DOMString version);
// Introduced in DOM Level 2:
readonly attribute DOMString namespaceURI;
// Introduced in DOM Level 2:
attribute DOMString prefix;
// raises(DOMException) on setting
// Introduced in DOM Level 2:
readonly attribute DOMString localName;
// Introduced in DOM Level 2:
boolean hasAttributes();
};
interface NodeList {
Node item(in unsigned long index);
readonly attribute unsigned long length;
};
interface NamedNodeMap {
Node getNamedItem(in DOMString name);
Node setNamedItem(in Node arg)
raises(DOMException);
Node removeNamedItem(in DOMString name)
raises(DOMException);
Node item(in unsigned long index);
readonly attribute unsigned long length;
// Introduced in DOM Level 2:
Node getNamedItemNS(in DOMString namespaceURI,
in DOMString localName);
// Introduced in DOM Level 2:
Node setNamedItemNS(in Node arg)
raises(DOMException);
// Introduced in DOM Level 2:
Node removeNamedItemNS(in DOMString namespaceURI,
in DOMString localName)
raises(DOMException);
};
interface CharacterData : Node {
attribute DOMString data;
// raises(DOMException) on setting
// raises(DOMException) on retrieval
readonly attribute unsigned long length;
DOMString substringData(in unsigned long offset,
in unsigned long count)
raises(DOMException);
void appendData(in DOMString arg)
raises(DOMException);
void insertData(in unsigned long offset,
in DOMString arg)
raises(DOMException);
void deleteData(in unsigned long offset,
in unsigned long count)
raises(DOMException);
void replaceData(in unsigned long offset,
in unsigned long count,
in DOMString arg)
raises(DOMException);
};
interface Attr : Node {
readonly attribute DOMString name;
readonly attribute boolean specified;
attribute DOMString value;
// raises(DOMException) on setting
// Introduced in DOM Level 2:
readonly attribute Element ownerElement;
};
interface Element : Node {
readonly attribute DOMString tagName;
DOMString getAttribute(in DOMString name);
void setAttribute(in DOMString name,
in DOMString value)
raises(DOMException);
void removeAttribute(in DOMString name)
raises(DOMException);
Attr getAttributeNode(in DOMString name);
Attr setAttributeNode(in Attr newAttr)
raises(DOMException);
Attr removeAttributeNode(in Attr oldAttr)
raises(DOMException);
NodeList getElementsByTagName(in DOMString name);
// Introduced in DOM Level 2:
DOMString getAttributeNS(in DOMString namespaceURI,
in DOMString localName);
// Introduced in DOM Level 2:
void setAttributeNS(in DOMString namespaceURI,
in DOMString qualifiedName,
in DOMString value)
raises(DOMException);
// Introduced in DOM Level 2:
void removeAttributeNS(in DOMString namespaceURI,
in DOMString localName)
raises(DOMException);
// Introduced in DOM Level 2:
Attr getAttributeNodeNS(in DOMString namespaceURI,
in DOMString localName);
// Introduced in DOM Level 2:
Attr setAttributeNodeNS(in Attr newAttr)
raises(DOMException);
// Introduced in DOM Level 2:
NodeList getElementsByTagNameNS(in DOMString namespaceURI,
in DOMString localName);
// Introduced in DOM Level 2:
boolean hasAttribute(in DOMString name);
// Introduced in DOM Level 2:
boolean hasAttributeNS(in DOMString namespaceURI,
in DOMString localName);
};
interface Text : CharacterData {
Text splitText(in unsigned long offset)
raises(DOMException);
};
interface Comment : CharacterData {
};
interface CDATASection : Text {
};
interface DocumentType : Node {
readonly attribute DOMString name;
readonly attribute NamedNodeMap entities;
readonly attribute NamedNodeMap notations;
// Introduced in DOM Level 2:
readonly attribute DOMString publicId;
// Introduced in DOM Level 2:
readonly attribute DOMString systemId;
// Introduced in DOM Level 2:
readonly attribute DOMString internalSubset;
};
interface Notation : Node {
readonly attribute DOMString publicId;
readonly attribute DOMString systemId;
};
interface Entity : Node {
readonly attribute DOMString publicId;
readonly attribute DOMString systemId;
readonly attribute DOMString notationName;
};
interface EntityReference : Node {
};
interface ProcessingInstruction : Node {
readonly attribute DOMString target;
attribute DOMString data;
// raises(DOMException) on setting
};
interface DocumentFragment : Node {
};
interface Document : Node {
readonly attribute DocumentType doctype;
readonly attribute DOMImplementation implementation;
readonly attribute Element documentElement;
Element createElement(in DOMString tagName)
raises(DOMException);
DocumentFragment createDocumentFragment();
Text createTextNode(in DOMString data);
Comment createComment(in DOMString data);
CDATASection createCDATASection(in DOMString data)
raises(DOMException);
ProcessingInstruction createProcessingInstruction(in DOMString target,
in DOMString data)
raises(DOMException);
Attr createAttribute(in DOMString name)
raises(DOMException);
EntityReference createEntityReference(in DOMString name)
raises(DOMException);
NodeList getElementsByTagName(in DOMString tagname);
// Introduced in DOM Level 2:
Node importNode(in Node importedNode,
in boolean deep)
raises(DOMException);
// Introduced in DOM Level 2:
Element createElementNS(in DOMString namespaceURI,
in DOMString qualifiedName)
raises(DOMException);
// Introduced in DOM Level 2:
Attr createAttributeNS(in DOMString namespaceURI,
in DOMString qualifiedName)
raises(DOMException);
// Introduced in DOM Level 2:
NodeList getElementsByTagNameNS(in DOMString namespaceURI,
in DOMString localName);
// Introduced in DOM Level 2:
Element getElementById(in DOMString elementId);
};
};
#endif // _DOM_IDL_
</pre>
</div>
</div>
<!-- div1 idl -->
<div class='navbar' align='center'>
<hr title='Navigation area separator' />
<a accesskey='p' href='i18n.html'>previous</a> &nbsp; <a
accesskey='n' href='java-binding.html'>next</a> &nbsp; <a
accesskey='c' href='Overview.html#contents'>contents</a> &nbsp; <a
accesskey='i' href='def-index.html'>index</a></div>
</body>
</html>
+320
View File
@@ -0,0 +1,320 @@
/*
* Copyright (c) 2000 World Wide Web Consortium,
* (Massachusetts Institute of Technology, Institut National de
* Recherche en Informatique et en Automatique, Keio University). All
* Rights Reserved. This program is distributed under the W3C's Software
* Intellectual Property License. This program is distributed in the
* hope that it will be useful, but WITHOUT ANY WARRANTY; without even
* the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
* PURPOSE.
* See W3C License http://www.w3.org/Consortium/Legal/ for more details.
*/
// File: http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/dom.idl
#ifndef _DOM_IDL_
#define _DOM_IDL_
#pragma prefix "w3c.org"
module dom
{
valuetype DOMString sequence<unsigned short>;
typedef unsigned long long DOMTimeStamp;
interface DocumentType;
interface Document;
interface NodeList;
interface NamedNodeMap;
interface Element;
exception DOMException {
unsigned short code;
};
// ExceptionCode
const unsigned short INDEX_SIZE_ERR = 1;
const unsigned short DOMSTRING_SIZE_ERR = 2;
const unsigned short HIERARCHY_REQUEST_ERR = 3;
const unsigned short WRONG_DOCUMENT_ERR = 4;
const unsigned short INVALID_CHARACTER_ERR = 5;
const unsigned short NO_DATA_ALLOWED_ERR = 6;
const unsigned short NO_MODIFICATION_ALLOWED_ERR = 7;
const unsigned short NOT_FOUND_ERR = 8;
const unsigned short NOT_SUPPORTED_ERR = 9;
const unsigned short INUSE_ATTRIBUTE_ERR = 10;
// Introduced in DOM Level 2:
const unsigned short INVALID_STATE_ERR = 11;
// Introduced in DOM Level 2:
const unsigned short SYNTAX_ERR = 12;
// Introduced in DOM Level 2:
const unsigned short INVALID_MODIFICATION_ERR = 13;
// Introduced in DOM Level 2:
const unsigned short NAMESPACE_ERR = 14;
// Introduced in DOM Level 2:
const unsigned short INVALID_ACCESS_ERR = 15;
interface DOMImplementation {
boolean hasFeature(in DOMString feature,
in DOMString version);
// Introduced in DOM Level 2:
DocumentType createDocumentType(in DOMString qualifiedName,
in DOMString publicId,
in DOMString systemId)
raises(DOMException);
// Introduced in DOM Level 2:
Document createDocument(in DOMString namespaceURI,
in DOMString qualifiedName,
in DocumentType doctype)
raises(DOMException);
};
interface Node {
// NodeType
const unsigned short ELEMENT_NODE = 1;
const unsigned short ATTRIBUTE_NODE = 2;
const unsigned short TEXT_NODE = 3;
const unsigned short CDATA_SECTION_NODE = 4;
const unsigned short ENTITY_REFERENCE_NODE = 5;
const unsigned short ENTITY_NODE = 6;
const unsigned short PROCESSING_INSTRUCTION_NODE = 7;
const unsigned short COMMENT_NODE = 8;
const unsigned short DOCUMENT_NODE = 9;
const unsigned short DOCUMENT_TYPE_NODE = 10;
const unsigned short DOCUMENT_FRAGMENT_NODE = 11;
const unsigned short NOTATION_NODE = 12;
readonly attribute DOMString nodeName;
attribute DOMString nodeValue;
// raises(DOMException) on setting
// raises(DOMException) on retrieval
readonly attribute unsigned short nodeType;
readonly attribute Node parentNode;
readonly attribute NodeList childNodes;
readonly attribute Node firstChild;
readonly attribute Node lastChild;
readonly attribute Node previousSibling;
readonly attribute Node nextSibling;
readonly attribute NamedNodeMap attributes;
// Modified in DOM Level 2:
readonly attribute Document ownerDocument;
Node insertBefore(in Node newChild,
in Node refChild)
raises(DOMException);
Node replaceChild(in Node newChild,
in Node oldChild)
raises(DOMException);
Node removeChild(in Node oldChild)
raises(DOMException);
Node appendChild(in Node newChild)
raises(DOMException);
boolean hasChildNodes();
Node cloneNode(in boolean deep);
// Modified in DOM Level 2:
void normalize();
// Introduced in DOM Level 2:
boolean isSupported(in DOMString feature,
in DOMString version);
// Introduced in DOM Level 2:
readonly attribute DOMString namespaceURI;
// Introduced in DOM Level 2:
attribute DOMString prefix;
// raises(DOMException) on setting
// Introduced in DOM Level 2:
readonly attribute DOMString localName;
// Introduced in DOM Level 2:
boolean hasAttributes();
};
interface NodeList {
Node item(in unsigned long index);
readonly attribute unsigned long length;
};
interface NamedNodeMap {
Node getNamedItem(in DOMString name);
Node setNamedItem(in Node arg)
raises(DOMException);
Node removeNamedItem(in DOMString name)
raises(DOMException);
Node item(in unsigned long index);
readonly attribute unsigned long length;
// Introduced in DOM Level 2:
Node getNamedItemNS(in DOMString namespaceURI,
in DOMString localName);
// Introduced in DOM Level 2:
Node setNamedItemNS(in Node arg)
raises(DOMException);
// Introduced in DOM Level 2:
Node removeNamedItemNS(in DOMString namespaceURI,
in DOMString localName)
raises(DOMException);
};
interface CharacterData : Node {
attribute DOMString data;
// raises(DOMException) on setting
// raises(DOMException) on retrieval
readonly attribute unsigned long length;
DOMString substringData(in unsigned long offset,
in unsigned long count)
raises(DOMException);
void appendData(in DOMString arg)
raises(DOMException);
void insertData(in unsigned long offset,
in DOMString arg)
raises(DOMException);
void deleteData(in unsigned long offset,
in unsigned long count)
raises(DOMException);
void replaceData(in unsigned long offset,
in unsigned long count,
in DOMString arg)
raises(DOMException);
};
interface Attr : Node {
readonly attribute DOMString name;
readonly attribute boolean specified;
attribute DOMString value;
// raises(DOMException) on setting
// Introduced in DOM Level 2:
readonly attribute Element ownerElement;
};
interface Element : Node {
readonly attribute DOMString tagName;
DOMString getAttribute(in DOMString name);
void setAttribute(in DOMString name,
in DOMString value)
raises(DOMException);
void removeAttribute(in DOMString name)
raises(DOMException);
Attr getAttributeNode(in DOMString name);
Attr setAttributeNode(in Attr newAttr)
raises(DOMException);
Attr removeAttributeNode(in Attr oldAttr)
raises(DOMException);
NodeList getElementsByTagName(in DOMString name);
// Introduced in DOM Level 2:
DOMString getAttributeNS(in DOMString namespaceURI,
in DOMString localName);
// Introduced in DOM Level 2:
void setAttributeNS(in DOMString namespaceURI,
in DOMString qualifiedName,
in DOMString value)
raises(DOMException);
// Introduced in DOM Level 2:
void removeAttributeNS(in DOMString namespaceURI,
in DOMString localName)
raises(DOMException);
// Introduced in DOM Level 2:
Attr getAttributeNodeNS(in DOMString namespaceURI,
in DOMString localName);
// Introduced in DOM Level 2:
Attr setAttributeNodeNS(in Attr newAttr)
raises(DOMException);
// Introduced in DOM Level 2:
NodeList getElementsByTagNameNS(in DOMString namespaceURI,
in DOMString localName);
// Introduced in DOM Level 2:
boolean hasAttribute(in DOMString name);
// Introduced in DOM Level 2:
boolean hasAttributeNS(in DOMString namespaceURI,
in DOMString localName);
};
interface Text : CharacterData {
Text splitText(in unsigned long offset)
raises(DOMException);
};
interface Comment : CharacterData {
};
interface CDATASection : Text {
};
interface DocumentType : Node {
readonly attribute DOMString name;
readonly attribute NamedNodeMap entities;
readonly attribute NamedNodeMap notations;
// Introduced in DOM Level 2:
readonly attribute DOMString publicId;
// Introduced in DOM Level 2:
readonly attribute DOMString systemId;
// Introduced in DOM Level 2:
readonly attribute DOMString internalSubset;
};
interface Notation : Node {
readonly attribute DOMString publicId;
readonly attribute DOMString systemId;
};
interface Entity : Node {
readonly attribute DOMString publicId;
readonly attribute DOMString systemId;
readonly attribute DOMString notationName;
};
interface EntityReference : Node {
};
interface ProcessingInstruction : Node {
readonly attribute DOMString target;
attribute DOMString data;
// raises(DOMException) on setting
};
interface DocumentFragment : Node {
};
interface Document : Node {
readonly attribute DocumentType doctype;
readonly attribute DOMImplementation implementation;
readonly attribute Element documentElement;
Element createElement(in DOMString tagName)
raises(DOMException);
DocumentFragment createDocumentFragment();
Text createTextNode(in DOMString data);
Comment createComment(in DOMString data);
CDATASection createCDATASection(in DOMString data)
raises(DOMException);
ProcessingInstruction createProcessingInstruction(in DOMString target,
in DOMString data)
raises(DOMException);
Attr createAttribute(in DOMString name)
raises(DOMException);
EntityReference createEntityReference(in DOMString name)
raises(DOMException);
NodeList getElementsByTagName(in DOMString tagname);
// Introduced in DOM Level 2:
Node importNode(in Node importedNode,
in boolean deep)
raises(DOMException);
// Introduced in DOM Level 2:
Element createElementNS(in DOMString namespaceURI,
in DOMString qualifiedName)
raises(DOMException);
// Introduced in DOM Level 2:
Attr createAttributeNS(in DOMString namespaceURI,
in DOMString qualifiedName)
raises(DOMException);
// Introduced in DOM Level 2:
NodeList getElementsByTagNameNS(in DOMString namespaceURI,
in DOMString localName);
// Introduced in DOM Level 2:
Element getElementById(in DOMString elementId);
};
};
#endif // _DOM_IDL_
Binary file not shown.

After

Width:  |  Height:  |  Size: 903 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 988 B

+512
View File
@@ -0,0 +1,512 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
Generated: Thu Nov 09 17:42:28 EST 2000 jfouffa.w3.org
-->
<html lang='en' xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>What is the Document Object Model?</title>
<link rel='stylesheet' type='text/css' href='./spec.css' />
<link rel='stylesheet' type='text/css' href='W3C-REC.css' />
<link rel='next' href='core.html' />
<link rel='contents' href='Overview.html#contents' />
<link rel='index' href='def-index.html' />
<link rel='previous' href='copyright-notice.html' />
</head>
<body>
<div class='navbar' align='center'><a accesskey='p'
href='copyright-notice.html'>previous</a> &nbsp; <a accesskey='n'
href='core.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='noprint' style='text-align: right'>
<p style='font-family: monospace;font-size:small'>13 November,
2000</p>
</div>
<div class='div1'><a id="Introduction" name='Introduction'></a>
<h1 id='Introduction-h1' class='div1'>What is the Document Object
Model?</h1>
<dl>
<dt><i>Editors</i></dt>
<dd>Philippe Le H&eacute;garet, W3C</dd>
<dd>Lauren Wood, SoftQuad Software Inc., WG Chair</dd>
<dd>Jonathan Robie, Texcel (for DOM Level 1)</dd>
</dl>
<div class='div2'><a id="ID-E7C3082" name='ID-E7C3082'></a>
<h2 id='ID-E7C3082-h2' class='div2'>Introduction</h2>
<p>The Document Object Model (DOM) is an application programming
interface (<a href='glossary.html#dt-API'><em>API</em></a>) for
valid <a href='glossary.html#dt-HTML'><em>HTML</em></a> and
well-formed <a href='glossary.html#dt-XML'><em>XML</em></a>
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.</p>
<p>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 <a
href='glossary.html#dt-interface'><em>interfaces</em></a> for the
XML internal and external subsets have not yet been specified.</p>
<p>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 <a
href='glossary.html#dt-application'><em>applications</em></a>. 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 [<a class='noxref'
href='references.html#OMGIDL'>OMGIDL</a>], as defined in the CORBA
2.3.1 specification [<a class='noxref'
href='references.html#CORBA'>CORBA</a>]. In addition to the OMG IDL
specification, we provide <a
href='glossary.html#dt-lang-binding'><em>language bindings</em></a>
for Java [<a class='noxref' href='references.html#Java'>Java</a>]
and ECMAScript [<a class='noxref'
href='references.html#ECMAScript'>ECMAScript</a>] (an
industry-standard scripting language based on JavaScript [<a
class='noxref' href='references.html#JavaScript'>JavaScript</a>]
and JScript [<a class='noxref'
href='references.html#JScript'>JScript</a>]).</p>
<p><b>Note:</b> OMG IDL is used only as a language-independent and
implementation-neutral way to specify <a
href='glossary.html#dt-interface'><em>interfaces</em></a>. Various
other IDLs could have been used ([<a class='noxref'
href='references.html#COM'>COM</a>], [<a class='noxref'
href='references.html#JavaIDL'>JavaIDL</a>], [<a class='noxref'
href='references.html#MSIDL'>MIDL</a>], ...). In general, IDLs are
designed for specific computing environments. The Document Object
Model can be implemented in any computing environment, and does not
require the object binding runtimes generally associated with such
IDLs.</p>
</div>
<!-- div2 ID-E7C3082 -->
<div class='div2'><a id="ID-E7C30821" name='ID-E7C30821'></a>
<h2 id='ID-E7C30821-h2' class='div2'>What the Document Object Model
is</h2>
<p>The DOM is a programming <a
href='glossary.html#dt-API'><em>API</em></a> for documents. It is
based on an object structure that closely resembles the structure
of the documents it <a
href='glossary.html#dt-model'><em>models</em></a>. For instance,
consider this table, taken from an HTML document:</p>
<div class='code-block'>
<pre>
&lt;TABLE&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;Shady Grove&lt;/TD&gt;
&lt;TD&gt;Aeolian&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Over the River, Charlie&lt;/TD&gt;
&lt;TD&gt;Dorian&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
</pre>
</div>
<p>A graphical representation of the DOM of the example table
is:<br />
</p>
<div align='center'>
<hr width='90%' size='2' />
<img src='./images/table.gif'
alt='graphical representation of the DOM of the example table' />
<hr width='90%' size='2' />
<b>graphical representation of the DOM of the example table</b>
<hr width='90%' size='2' />
</div>
<p>In the DOM, documents have a logical structure which is very
much like a tree; to be more precise, which is like a "forest" or
"grove", which can contain more than one tree. Each document
contains zero or one doctype nodes, one root element node, and zero
or more comments or processing instructions; the root element
serves as the root of the element tree for the document. However,
the DOM does not specify that documents must be
<em>implemented</em> as a tree or a grove, nor does it specify how
the relationships among objects be implemented. The DOM is a
logical model that may be implemented in any convenient manner. In
this specification, we use the term <em>structure model</em> to
describe the tree-like representation of a document. We also use
the term "tree" when referring to the arrangement of those
information items which can be reached by using "tree-walking"
methods; (this does not include attributes). One important property
of DOM structure models is <em>structural isomorphism</em>: if any
two Document Object Model implementations are used to create a
representation of the same document, they will create the same
structure model, in accordance with the XML Information Set [<a
class='noxref' href='references.html#InfoSet'>Infoset</a>].</p>
<p><b>Note:</b> There may be some variations depending on the
parser being used to build the DOM. For instance, the DOM may not
contain whitespaces in element content if the parser discards
them.</p>
<p>The name "Document Object Model" was chosen because it is an "<a
href='glossary.html#dt-object-model'><em>object model</em></a>" in
the traditional object oriented design sense: documents are modeled
using objects, and the model encompasses not only the structure of
a document, but also the behavior of a document and the objects of
which it is composed. In other words, the nodes in the above
diagram do not represent a data structure, they represent objects,
which have functions and identity. As an object model, the DOM
identifies:</p>
<ul>
<li>the interfaces and objects used to represent and manipulate a
document</li>
<li>the semantics of these interfaces and objects - including both
behavior and attributes</li>
<li>the relationships and collaborations among these interfaces and
objects</li>
</ul>
<p>The structure of SGML documents has traditionally been
represented by an abstract <a
href='glossary.html#dt-datamodel'><em>data model</em></a>, not by
an object model. In an abstract <a
href='glossary.html#dt-datamodel'><em>data model</em></a>, the
model is centered around the data. In object oriented programming
languages, the data itself is encapsulated in objects that hide the
data, protecting it from direct external manipulation. The
functions associated with these objects determine how the objects
may be manipulated, and they are part of the object model.</p>
</div>
<!-- div2 ID-E7C30821 -->
<div class='div2'><a id="ID-E7C30822" name='ID-E7C30822'></a>
<h2 id='ID-E7C30822-h2' class='div2'>What the Document Object Model
is not</h2>
<p>This section is designed to give a more precise understanding of
the DOM by distinguishing it from other systems that may seem to be
like it.</p>
<ul>
<li>The Document Object Model is not a binary specification. DOM
programs written in the same language binding will be source code
compatible across platforms, but the DOM does not define any form
of binary interoperability.</li>
<li>The Document Object Model is not a way of persisting objects to
XML or HTML. Instead of specifying how objects may be represented
in XML, the DOM specifies how XML and HTML documents are
represented as objects, so that they may be used in object oriented
programs.</li>
<li>The Document Object Model is not a set of data structures; it
is an <a href='glossary.html#dt-object-model'><em>object
model</em></a> that specifies interfaces. Although this document
contains diagrams showing parent/child relationships, these are
logical relationships defined by the programming interfaces, not
representations of any particular internal data structures.</li>
<li>The Document Object Model does not define what information in a
document is relevant or how information in a document is
structured. For XML, this is specified by the W3C XML Information
Set [<a class='noxref' href='references.html#InfoSet'>Infoset</a>].
The DOM is simply an <a
href='glossary.html#dt-API'><em>API</em></a> to this information
set.</li>
<li>The Document Object Model, despite its name, is not a
competitor to the Component Object Model (COM). COM, like CORBA, is
a language independent way to specify interfaces and objects; the
DOM is a set of interfaces and objects designed for managing HTML
and XML documents. The DOM may be implemented using
language-independent systems like COM or CORBA; it may also be
implemented using language-specific bindings like the Java or
ECMAScript bindings specified in this document.</li>
</ul>
</div>
<!-- div2 ID-E7C30822 -->
<div class='div2'><a id="ID-E7C30823" name='ID-E7C30823'></a>
<h2 id='ID-E7C30823-h2' class='div2'>Where the Document Object
Model came from</h2>
<p>The DOM originated as a specification to allow JavaScript
scripts and Java programs to be portable among Web browsers.
"Dynamic HTML" was the immediate ancestor of the Document Object
Model, and it was originally thought of largely in terms of
browsers. However, when the DOM Working Group was formed at W3C, it
was also joined by vendors in other domains, including HTML or XML
editors and document repositories. Several of these vendors had
worked with SGML before XML was developed; as a result, the DOM has
been influenced by SGML Groves and the HyTime standard. Some of
these vendors had also developed their own object models for
documents in order to provide an API for SGML/XML editors or
document repositories, and these object models have also influenced
the DOM.</p>
</div>
<!-- div2 ID-E7C30823 -->
<div class='div2'><a id="ID-E7C30824" name='ID-E7C30824'></a>
<h2 id='ID-E7C30824-h2' class='div2'>Entities and the DOM Core</h2>
<p>In the fundamental DOM interfaces, there are no objects
representing entities. Numeric character references, and references
to the pre-defined entities in HTML and XML, are replaced by the
single character that makes up the entity's replacement. For
example, in:</p>
<div class='code-block'>
<pre>
&lt;p&gt;This is a dog &amp;amp; a cat&lt;/p&gt;
</pre>
</div>
<p>the "&amp;amp;" will be replaced by the character "&amp;", and
the text in the P element will form a single continuous sequence of
characters. Since numeric character references and pre-defined
entities are not recognized as such in CDATA sections, or in the
SCRIPT and STYLE elements in HTML, they are not replaced by the
single character they appear to refer to. If the example above were
enclosed in a CDATA section, the "&amp;amp;" would not be replaced
by "&amp;"; neither would the &lt;p&gt; be recognized as a start
tag. The representation of general entities, both internal and
external, are defined within the extended (XML) interfaces of DOM
Level 1 [<a class='noxref' href='references.html#DOM-Level-1'>DOM
Level 1</a>].</p>
<p>Note: When a DOM representation of a document is serialized as
XML or HTML text, applications will need to check each character in
text data to see if it needs to be escaped using a numeric or
pre-defined entity. Failing to do so could result in invalid HTML
or XML. Also, <a
href='glossary.html#dt-implementation'><em>implementations</em></a>
should be aware of the fact that serialization into a character
encoding ("charset") that does not fully cover ISO 10646 may fail
if there are characters in markup or CDATA sections that are not
present in the encoding.</p>
</div>
<!-- div2 ID-E7C30824 -->
<div class='div2'><a id="ID-Conformance" name='ID-Conformance'></a>
<h2 id='ID-Conformance-h2' class='div2'>Conformance</h2>
<p>This section explains the different levels of conformance to DOM
Level 2. DOM Level 2 consists of 14 modules. It is possible to
conform to DOM Level 2, or to a DOM Level 2 module.</p>
<p>An implementation is DOM Level 2 conformant if it supports the
Core module defined in this document (see <a
href='core.html#ID-BBACDC08'>Fundamental Interfaces</a>). An
implementation conforms to a DOM Level 2 module if it supports all
the interfaces for that module and the associated semantics.</p>
<p>Here is the complete list of DOM Level 2.0 modules and the
features used by them. Feature names are case-insensitive.</p>
<dl>
<dt><b>Core module</b></dt>
<dd>defines the feature <a
href='core.html#ID-BBACDC08'><em>"Core"</em></a>.</dd>
<dt><b>XML module</b></dt>
<dd>defines the feature <a
href='core.html#ID-E067D597'><em>"XML"</em></a>.</dd>
<dt><b>HTML module</b></dt>
<dd>defines the feature "HTML". (see [<a class='noxref'
href='references.html#DOMHTML-inf'>DOM Level 2 HTML</a>]).
<p><b>Note:</b> At time of publication, this DOM Level 2 module is
not yet a W3C Recommendation.</p>
</dd>
<dt><b>Views module</b></dt>
<dd>defines the feature <a
href='http://www.w3.org/TR/DOM-Level-2-Views/views.html'><em>"Views"</em></a>
in [<a class='noxref' href='references.html#DOMViews-inf'>DOM Level
2 Views</a>].</dd>
<dt><b>Style Sheets module</b></dt>
<dd>defines the feature <a
href='http://www.w3.org/TR/DOM-Level-2-Style/stylesheets.html'><em>"StyleSheets"</em></a>
in [<a class='noxref' href='references.html#DOMStyleSheets-inf'>DOM
Level 2 Style Sheets</a>].</dd>
<dt><b>CSS module</b></dt>
<dd>defines the feature <a
href='http://www.w3.org/TR/DOM-Level-2-Style/css.html'><em>"CSS"</em></a>
in [<a class='noxref' href='references.html#DOMCSS-inf'>DOM Level 2
CSS</a>].</dd>
<dt><b>CSS2 module</b></dt>
<dd>defines the feature <a
href='http://www.w3.org/TR/DOM-Level-2-Style/css.html'><em>"CSS2"</em></a>
in [<a class='noxref' href='references.html#DOMCSS-inf'>DOM Level 2
CSS</a>].</dd>
<dt><b>Events module</b></dt>
<dd>defines the feature <a
href='http://www.w3.org/TR/DOM-Level-2-Events/events.html'><em>"Events"</em></a>
in [<a class='noxref' href='references.html#DOMEvents-inf'>DOM
Level 2 Events</a>].</dd>
<dt><b>User interface Events module</b></dt>
<dd>defines the feature <a
href='http://www.w3.org/TR/DOM-Level-2-Events/events.html'><em>"UIEvents"</em></a>
in [<a class='noxref' href='references.html#DOMEvents-inf'>DOM
Level 2 Events</a>].</dd>
<dt><b>Mouse Events module</b></dt>
<dd>defines the feature <a
href='http://www.w3.org/TR/DOM-Level-2-Events/events.html'><em>"MouseEvents"</em></a>
in [<a class='noxref' href='references.html#DOMEvents-inf'>DOM
Level 2 Events</a>].</dd>
<dt><b>Mutation Events module</b></dt>
<dd>defines the feature <a
href='http://www.w3.org/TR/DOM-Level-2-Events/events.html'><em>"MutationEvents"</em></a>
in [<a class='noxref' href='references.html#DOMEvents-inf'>DOM
Level 2 Events</a>].</dd>
<dt><b>HTML Events module</b></dt>
<dd>defines the feature <a
href='http://www.w3.org/TR/DOM-Level-2-Events/events.html'><em>"HTMLEvents"</em></a>
in [<a class='noxref' href='references.html#DOMEvents-inf'>DOM
Level 2 Events</a>].</dd>
<dt><b>Range module</b></dt>
<dd>defines the feature <a
href='http://www.w3.org/TR/DOM-Level-2-Traversal-Range/ranges.html'>
<em>"Range"</em></a> in [<a class='noxref'
href='references.html#DOMRange-inf'>DOM Level 2 Range</a>].</dd>
<dt><b>Traversal module</b></dt>
<dd>defines the feature <a
href='http://www.w3.org/TR/DOM-Level-2-Traversal-Range/traversal.html'>
<em>"Traversal"</em></a> in [<a class='noxref'
href='references.html#DOMTraversal-inf'>DOM Level 2
Traversal</a>].</dd>
</dl>
<p>A DOM implementation must not return <code>"true"</code> to the
<code>hasFeature(feature, version)</code> <a
href='glossary.html#dt-method'><em>method</em></a> of the <a
href='core.html#ID-102161490'><code>DOMImplementation</code></a>
interface for that feature unless the implementation conforms to
that module. The <code>version</code> number for all features used
in DOM Level 2.0 is "2.0".</p>
</div>
<!-- div2 ID-Conformance -->
<div class='div2'><a id="ID-E7C30826" name='ID-E7C30826'></a>
<h2 id='ID-E7C30826-h2' class='div2'>DOM Interfaces and DOM
Implementations</h2>
<p>The DOM specifies interfaces which may be used to manage XML or
HTML documents. It is important to realize that these interfaces
are an abstraction - much like "abstract base classes" in C++, they
are a means of specifying a way to access and manipulate an
application's internal representation of a document. Interfaces do
not imply a particular concrete implementation. Each DOM
application is free to maintain documents in any convenient
representation, as long as the interfaces shown in this
specification are supported. Some DOM implementations will be
existing programs that use the DOM interfaces to access software
written long before the DOM specification existed. Therefore, the
DOM is designed to avoid implementation dependencies; in
particular,</p>
<ol>
<li>Attributes defined in the IDL do not imply concrete objects
which must have specific data members - in the language bindings,
they are translated to a pair of get()/set() functions, not to a
data member. Read-only attributes have only a get() function in the
language bindings.</li>
<li>DOM applications may provide additional interfaces and objects
not found in this specification and still be considered DOM
conformant.</li>
<li>Because we specify interfaces and not the actual objects that
are to be created, the DOM cannot know what constructors to call
for an implementation. In general, DOM users call the createX()
methods on the Document class to create document structures, and
DOM implementations create their own internal representations of
these structures in their implementations of the createX()
functions.</li>
</ol>
<p>The Level 1 interfaces were extended to provide both Level 1 and
Level 2 functionality.</p>
<p>DOM implementations in languages other than Java or ECMAScript
may choose bindings that are appropriate and natural for their
language and run time environment. For example, some systems may
need to create a Document2 class which inherits from Document and
contains the new methods and attributes.</p>
<p>DOM Level 2 does not specify multithreading mechanisms.</p>
</div>
<!-- div2 ID-E7C30826 --></div>
<!-- div1 Introduction -->
<div class='navbar' align='center'>
<hr title='Navigation area separator' />
<a accesskey='p' href='copyright-notice.html'>previous</a> &nbsp;
<a accesskey='n' href='core.html'>next</a> &nbsp; <a accesskey='c'
href='Overview.html#contents'>contents</a> &nbsp; <a accesskey='i'
href='def-index.html'>index</a></div>
</body>
</html>
+555
View File
@@ -0,0 +1,555 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
Generated: Thu Nov 09 17:43:07 EST 2000 jfouffa.w3.org
-->
<html lang='en' xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Java Language Binding</title>
<link rel='stylesheet' type='text/css' href='./spec.css' />
<link rel='stylesheet' type='text/css' href='W3C-REC.css' />
<link rel='next' href='ecma-script-binding.html' />
<link rel='contents' href='Overview.html#contents' />
<link rel='index' href='def-index.html' />
<link rel='previous' href='idl-definitions.html' />
</head>
<body>
<div class='navbar' align='center'><a accesskey='p'
href='idl-definitions.html'>previous</a> &nbsp; <a accesskey='n'
href='ecma-script-binding.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='noprint' style='text-align: right'>
<p style='font-family: monospace;font-size:small'>13 November,
2000</p>
</div>
<div class='div1'><a id="java-binding" name='java-binding'></a>
<h1 id='java-binding-h1' class='adiv1'>Appendix D: Java Language
Binding</h1>
<p>This appendix contains the complete Java Language [<a
class='noxref' href='references.html#Java'>Java</a>] binding for
the Level 2 Document Object Model Core.</p>
<p>The Java files are also available as <a
href='java-binding.zip'>http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/java-binding.zip</a></p>
<h3 id='org.w3c.dom.DOMException'>
org/w3c/dom/DOMException.java:</h3>
<div class='java-code'>
<pre>
package org.w3c.dom;
public class DOMException extends RuntimeException {
public DOMException(short code, String message) {
super(message);
this.code = code;
}
public short code;
// ExceptionCode
public static final short INDEX_SIZE_ERR = 1;
public static final short DOMSTRING_SIZE_ERR = 2;
public static final short HIERARCHY_REQUEST_ERR = 3;
public static final short WRONG_DOCUMENT_ERR = 4;
public static final short INVALID_CHARACTER_ERR = 5;
public static final short NO_DATA_ALLOWED_ERR = 6;
public static final short NO_MODIFICATION_ALLOWED_ERR = 7;
public static final short NOT_FOUND_ERR = 8;
public static final short NOT_SUPPORTED_ERR = 9;
public static final short INUSE_ATTRIBUTE_ERR = 10;
public static final short INVALID_STATE_ERR = 11;
public static final short SYNTAX_ERR = 12;
public static final short INVALID_MODIFICATION_ERR = 13;
public static final short NAMESPACE_ERR = 14;
public static final short INVALID_ACCESS_ERR = 15;
}
</pre>
</div>
<h3 id='org.w3c.dom.DOMImplementation'>
org/w3c/dom/DOMImplementation.java:</h3>
<div class='java-code'>
<pre>
package org.w3c.dom;
public interface DOMImplementation {
public boolean hasFeature(String feature,
String version);
public DocumentType createDocumentType(String qualifiedName,
String publicId,
String systemId)
throws DOMException;
public Document createDocument(String namespaceURI,
String qualifiedName,
DocumentType doctype)
throws DOMException;
}
</pre>
</div>
<h3 id='org.w3c.dom.DocumentFragment'>
org/w3c/dom/DocumentFragment.java:</h3>
<div class='java-code'>
<pre>
package org.w3c.dom;
public interface DocumentFragment extends Node {
}
</pre>
</div>
<h3 id='org.w3c.dom.Document'>org/w3c/dom/Document.java:</h3>
<div class='java-code'>
<pre>
package org.w3c.dom;
public interface Document extends Node {
public DocumentType getDoctype();
public DOMImplementation getImplementation();
public Element getDocumentElement();
public Element createElement(String tagName)
throws DOMException;
public DocumentFragment createDocumentFragment();
public Text createTextNode(String data);
public Comment createComment(String data);
public CDATASection createCDATASection(String data)
throws DOMException;
public ProcessingInstruction createProcessingInstruction(String target,
String data)
throws DOMException;
public Attr createAttribute(String name)
throws DOMException;
public EntityReference createEntityReference(String name)
throws DOMException;
public NodeList getElementsByTagName(String tagname);
public Node importNode(Node importedNode,
boolean deep)
throws DOMException;
public Element createElementNS(String namespaceURI,
String qualifiedName)
throws DOMException;
public Attr createAttributeNS(String namespaceURI,
String qualifiedName)
throws DOMException;
public NodeList getElementsByTagNameNS(String namespaceURI,
String localName);
public Element getElementById(String elementId);
}
</pre>
</div>
<h3 id='org.w3c.dom.Node'>org/w3c/dom/Node.java:</h3>
<div class='java-code'>
<pre>
package org.w3c.dom;
public interface Node {
// NodeType
public static final short ELEMENT_NODE = 1;
public static final short ATTRIBUTE_NODE = 2;
public static final short TEXT_NODE = 3;
public static final short CDATA_SECTION_NODE = 4;
public static final short ENTITY_REFERENCE_NODE = 5;
public static final short ENTITY_NODE = 6;
public static final short PROCESSING_INSTRUCTION_NODE = 7;
public static final short COMMENT_NODE = 8;
public static final short DOCUMENT_NODE = 9;
public static final short DOCUMENT_TYPE_NODE = 10;
public static final short DOCUMENT_FRAGMENT_NODE = 11;
public static final short NOTATION_NODE = 12;
public String getNodeName();
public String getNodeValue()
throws DOMException;
public void setNodeValue(String nodeValue)
throws DOMException;
public short getNodeType();
public Node getParentNode();
public NodeList getChildNodes();
public Node getFirstChild();
public Node getLastChild();
public Node getPreviousSibling();
public Node getNextSibling();
public NamedNodeMap getAttributes();
public Document getOwnerDocument();
public Node insertBefore(Node newChild,
Node refChild)
throws DOMException;
public Node replaceChild(Node newChild,
Node oldChild)
throws DOMException;
public Node removeChild(Node oldChild)
throws DOMException;
public Node appendChild(Node newChild)
throws DOMException;
public boolean hasChildNodes();
public Node cloneNode(boolean deep);
public void normalize();
public boolean isSupported(String feature,
String version);
public String getNamespaceURI();
public String getPrefix();
public void setPrefix(String prefix)
throws DOMException;
public String getLocalName();
public boolean hasAttributes();
}
</pre>
</div>
<h3 id='org.w3c.dom.NodeList'>org/w3c/dom/NodeList.java:</h3>
<div class='java-code'>
<pre>
package org.w3c.dom;
public interface NodeList {
public Node item(int index);
public int getLength();
}
</pre>
</div>
<h3 id='org.w3c.dom.NamedNodeMap'>
org/w3c/dom/NamedNodeMap.java:</h3>
<div class='java-code'>
<pre>
package org.w3c.dom;
public interface NamedNodeMap {
public Node getNamedItem(String name);
public Node setNamedItem(Node arg)
throws DOMException;
public Node removeNamedItem(String name)
throws DOMException;
public Node item(int index);
public int getLength();
public Node getNamedItemNS(String namespaceURI,
String localName);
public Node setNamedItemNS(Node arg)
throws DOMException;
public Node removeNamedItemNS(String namespaceURI,
String localName)
throws DOMException;
}
</pre>
</div>
<h3 id='org.w3c.dom.CharacterData'>
org/w3c/dom/CharacterData.java:</h3>
<div class='java-code'>
<pre>
package org.w3c.dom;
public interface CharacterData extends Node {
public String getData()
throws DOMException;
public void setData(String data)
throws DOMException;
public int getLength();
public String substringData(int offset,
int count)
throws DOMException;
public void appendData(String arg)
throws DOMException;
public void insertData(int offset,
String arg)
throws DOMException;
public void deleteData(int offset,
int count)
throws DOMException;
public void replaceData(int offset,
int count,
String arg)
throws DOMException;
}
</pre>
</div>
<h3 id='org.w3c.dom.Attr'>org/w3c/dom/Attr.java:</h3>
<div class='java-code'>
<pre>
package org.w3c.dom;
public interface Attr extends Node {
public String getName();
public boolean getSpecified();
public String getValue();
public void setValue(String value)
throws DOMException;
public Element getOwnerElement();
}
</pre>
</div>
<h3 id='org.w3c.dom.Element'>org/w3c/dom/Element.java:</h3>
<div class='java-code'>
<pre>
package org.w3c.dom;
public interface Element extends Node {
public String getTagName();
public String getAttribute(String name);
public void setAttribute(String name,
String value)
throws DOMException;
public void removeAttribute(String name)
throws DOMException;
public Attr getAttributeNode(String name);
public Attr setAttributeNode(Attr newAttr)
throws DOMException;
public Attr removeAttributeNode(Attr oldAttr)
throws DOMException;
public NodeList getElementsByTagName(String name);
public String getAttributeNS(String namespaceURI,
String localName);
public void setAttributeNS(String namespaceURI,
String qualifiedName,
String value)
throws DOMException;
public void removeAttributeNS(String namespaceURI,
String localName)
throws DOMException;
public Attr getAttributeNodeNS(String namespaceURI,
String localName);
public Attr setAttributeNodeNS(Attr newAttr)
throws DOMException;
public NodeList getElementsByTagNameNS(String namespaceURI,
String localName);
public boolean hasAttribute(String name);
public boolean hasAttributeNS(String namespaceURI,
String localName);
}
</pre>
</div>
<h3 id='org.w3c.dom.Text'>org/w3c/dom/Text.java:</h3>
<div class='java-code'>
<pre>
package org.w3c.dom;
public interface Text extends CharacterData {
public Text splitText(int offset)
throws DOMException;
}
</pre>
</div>
<h3 id='org.w3c.dom.Comment'>org/w3c/dom/Comment.java:</h3>
<div class='java-code'>
<pre>
package org.w3c.dom;
public interface Comment extends CharacterData {
}
</pre>
</div>
<h3 id='org.w3c.dom.CDATASection'>
org/w3c/dom/CDATASection.java:</h3>
<div class='java-code'>
<pre>
package org.w3c.dom;
public interface CDATASection extends Text {
}
</pre>
</div>
<h3 id='org.w3c.dom.DocumentType'>
org/w3c/dom/DocumentType.java:</h3>
<div class='java-code'>
<pre>
package org.w3c.dom;
public interface DocumentType extends Node {
public String getName();
public NamedNodeMap getEntities();
public NamedNodeMap getNotations();
public String getPublicId();
public String getSystemId();
public String getInternalSubset();
}
</pre>
</div>
<h3 id='org.w3c.dom.Notation'>org/w3c/dom/Notation.java:</h3>
<div class='java-code'>
<pre>
package org.w3c.dom;
public interface Notation extends Node {
public String getPublicId();
public String getSystemId();
}
</pre>
</div>
<h3 id='org.w3c.dom.Entity'>org/w3c/dom/Entity.java:</h3>
<div class='java-code'>
<pre>
package org.w3c.dom;
public interface Entity extends Node {
public String getPublicId();
public String getSystemId();
public String getNotationName();
}
</pre>
</div>
<h3 id='org.w3c.dom.EntityReference'>
org/w3c/dom/EntityReference.java:</h3>
<div class='java-code'>
<pre>
package org.w3c.dom;
public interface EntityReference extends Node {
}
</pre>
</div>
<h3 id='org.w3c.dom.ProcessingInstruction'>
org/w3c/dom/ProcessingInstruction.java:</h3>
<div class='java-code'>
<pre>
package org.w3c.dom;
public interface ProcessingInstruction extends Node {
public String getTarget();
public String getData();
public void setData(String data)
throws DOMException;
}
</pre>
</div>
</div>
<!-- div1 java-binding -->
<div class='navbar' align='center'>
<hr title='Navigation area separator' />
<a accesskey='p' href='idl-definitions.html'>previous</a> &nbsp; <a
accesskey='n' href='ecma-script-binding.html'>next</a> &nbsp; <a
accesskey='c' href='Overview.html#contents'>contents</a> &nbsp; <a
accesskey='i' href='def-index.html'>index</a></div>
</body>
</html>
+260
View File
@@ -0,0 +1,260 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
Generated: Thu Nov 09 17:43:26 EST 2000 jfouffa.w3.org
-->
<html lang='en' xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>References</title>
<link rel='stylesheet' type='text/css' href='./spec.css' />
<link rel='stylesheet' type='text/css' href='W3C-REC.css' />
<link rel='next' href='def-index.html' />
<link rel='contents' href='Overview.html#contents' />
<link rel='index' href='def-index.html' />
<link rel='previous' href='glossary.html' />
</head>
<body>
<div class='navbar' align='center'><a accesskey='p'
href='glossary.html'>previous</a> &nbsp; <a accesskey='n'
href='def-index.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='noprint' style='text-align: right'>
<p style='font-family: monospace;font-size:small'>13 November,
2000</p>
</div>
<div class='div1'><a id="References" name='References'></a>
<h1 id='role-references' class='references'>References</h1>
<p>For the latest version of any W3C specification please consult
the list of <a href='http://www.w3.org/TR'>W3C Technical
Reports</a> available at http://www.w3.org/TR.</p>
<div class='div2'><a id="References-Normative"
name='References-Normative'></a>
<h2 id='References-Normative-h2' class='adiv2'>H.1: Normative
references</h2>
<dl>
<dt><b><a id="Charmod" name='Charmod'>Charmod</a></b></dt>
<dd>W3C (World Wide Web Consortium) <a
href='http://www.w3.org/TR/1999/WD-charmod-19991129'>Character
Model for the World Wide Web</a>, November 1999. Available at
http://www.w3.org/TR/1999/WD-charmod-19991129</dd>
<dt><b><a id="ECMAScript" name='ECMAScript'>ECMAScript</a></b></dt>
<dd>ECMA (European Computer Manufacturers Association) <a
href='http://www.ecma.ch/ecma1/STAND/ECMA-262.HTM'>ECMAScript
Language Specification</a>. Available at
http://www.ecma.ch/ecma1/STAND/ECMA-262.HTM</dd>
<dt><b><a id="HTML40" name='HTML40'>HTML4.0</a></b></dt>
<dd>W3C (World Wide Web Consortium) <a
href='http://www.w3.org/TR/1998/REC-html40-19980424'>HTML 4.0
Specification</a>, April 1998. Available at
http://www.w3.org/TR/1998/REC-html40-19980424</dd>
<dt><b><a id="ISO10646" name='ISO10646'>ISO/IEC 10646</a></b></dt>
<dd>ISO (International Organization for Standardization). ISO/IEC
10646-1:2000 (E). Information technology - Universal Multiple-Octet
Coded Character Set (UCS) - Part 1: Architecture and Basic
Multilingual Plane. [Geneva]: International Organization for
Standardization.</dd>
<dt><b><a id="Java" name='Java'>Java</a></b></dt>
<dd>Sun Microsystems Inc. <a
href='http://java.sun.com/docs/books/jls'>The Java Language
Specification</a>, James Gosling, Bill Joy, and Guy Steele,
September 1996. Available at
http://java.sun.com/docs/books/jls</dd>
<dt><b><a id="Namespaces" name='Namespaces'>Namespaces</a></b></dt>
<dd>W3C (World Wide Web Consortium) <a
href='http://www.w3.org/TR/1999/REC-xml-names-19990114'>Namespaces
in XML</a>, January 1999. Available at
http://www.w3.org/TR/1999/REC-xml-names-19990114</dd>
<dt><b><a id="OMGIDL" name='OMGIDL'>OMGIDL</a></b></dt>
<dd>OMG (<a href='http://www.omg.org/'>Object Management Group</a>)
IDL (Interface Definition Language) defined in The Common Object
Request Broker: Architecture and Specification, version 2.3.1,
October 1999. Available from http://www.omg.org/</dd>
<dt><b><a id="URIRef" name='URIRef'>RFC2396</a></b></dt>
<dd>IETF (Internet Engineering Task Force) <a
href='http://www.ietf.org/rfc/rfc2396.txt'>RFC 2396: Uniform
Resource Identifiers (URI): Generic Syntax</a>, eds. T.
Berners-Lee, R. Fielding, L. Masinter. August 1998. Available at
http://www.ietf.org/rfc/rfc2396.txt</dd>
<dt><b><a id="Unicode" name='Unicode'>Unicode</a></b></dt>
<dd>The Unicode Consortium. <a
href='http://www.unicode.org/unicode/standard/versions/Unicode3.0.html'>
The Unicode Standard, Version 3.0.</a>, February 2000. Available at
http://www.unicode.org/unicode/standard/versions/Unicode3.0.html.</dd>
<dt><b><a id="XML" name='XML'>XML</a></b></dt>
<dd>W3C (World Wide Web Consortium) <a
href='http://www.w3.org/TR/1998/REC-xml-19980210'>Extensible Markup
Language (XML) 1.0</a>, February 1998. Available at
http://www.w3.org/TR/1998/REC-xml-19980210</dd>
</dl>
</div>
<!-- div2 References-Normative -->
<div class='div2'><a id="References-Informative"
name='References-Informative'></a>
<h2 id='References-Informative-h2' class='adiv2'>H.2: Informative
references</h2>
<dl>
<dt><b><a id="DOMCSS-inf" name='DOMCSS-inf'>DOM Level 2
CSS</a></b></dt>
<dd>W3C (World Wide Web Consortium) <a
href='http://www.w3.org/TR/DOM-Level-2-Style/css'>Document Object
Model Level 2 CSS</a>. Available at
http://www.w3.org/TR/DOM-Level-2-Style/css</dd>
<dt><b><a id="COM" name='COM'>COM</a></b></dt>
<dd>Microsoft Corp. <a href='http://www.microsoft.com/com'>The
Component Object Model</a>. Available at
http://www.microsoft.com/com</dd>
<dt><b><a id="CORBA" name='CORBA'>CORBA</a></b></dt>
<dd>OMG (<a href='http://www.omg.org/'>Object Management Group</a>)
The Common Object Request Broker: Architecture and Specification,
version 2.3.1, October 1999. Available from
http://www.omg.org/</dd>
<dt><b><a id="DOM-Level-1" name='DOM-Level-1'>DOM Level
1</a></b></dt>
<dd>W3C (World Wide Web Consortium) <a
href='http://www.w3.org/TR/REC-DOM-Level-1'>DOM Level 1
Specification</a>, October 1998. Available at
http://www.w3.org/TR/REC-DOM-Level-1</dd>
<dt><b><a id="DOMHTML-inf" name='DOMHTML-inf'>DOM Level 2
HTML</a></b></dt>
<dd>W3C (World Wide Web Consortium) <a
href='http://www.w3.org/TR/DOM-Level-2-HTML'>Document Object Model
Level 2 HTML Specification</a>. Available at
http://www.w3.org/TR/DOM-Level-2-HTML</dd>
<dt><b><a id="DOMEvents-inf" name='DOMEvents-inf'>DOM Level 2
Events</a></b></dt>
<dd>W3C (World Wide Web Consortium) <a
href='http://www.w3.org/TR/DOM-Level-2-Events'>Document Object
Model Level 2 Events Specification</a>. Available at
http://www.w3.org/TR/DOM-Level-2-Events</dd>
<dt><b><a id="InfoSet" name='InfoSet'>Infoset</a></b></dt>
<dd>W3C (World Wide Web Consortium) <a
href='http://www.w3.org/TR/xml-infoset'>XML Information Set</a>,
December 1999. Available at http://www.w3.org/TR/xml-infoset</dd>
<dt><b><a id="JavaIDL" name='JavaIDL'>JavaIDL</a></b></dt>
<dd>Sun Microsystems Inc. <a
href='http://java.sun.com/products/jdk/1.2/docs/guide/idl'>Java
IDL</a>. Available at
http://java.sun.com/products/jdk/1.2/docs/guide/idl</dd>
<dt><b><a id="JavaScript" name='JavaScript'>JavaScript</a></b></dt>
<dd>Netscape Communications Corp. <a
href='http://developer.netscape.com/tech/javascript/resources.html'>
JavaScript Resources</a>. Available at
http://developer.netscape.com/tech/javascript/resources.html</dd>
<dt><b><a id="JScript" name='JScript'>JScript</a></b></dt>
<dd>Microsoft Corp. <a
href='http://msdn.microsoft.com/scripting/default.htm'>JScript
Resources</a>. Available at
http://msdn.microsoft.com/scripting/default.htm</dd>
<dt><b><a id="MSIDL" name='MSIDL'>MIDL</a></b></dt>
<dd>Microsoft Corp. <a
href='http://msdn.microsoft.com/library/psdk/midl/mi-laref_1r1h.htm'>
MIDL Language Reference</a>. Available at
http://msdn.microsoft.com/library/psdk/midl/mi-laref_1r1h.htm</dd>
<dt><b><a id="DOMStyleSheets-inf" name='DOMStyleSheets-inf'>DOM
Level 2 Style Sheets</a></b></dt>
<dd>W3C (World Wide Web Consortium) <a
href='http://www.w3.org/TR/DOM-Level-2-Style/stylesheets'>Document
Object Model Level 2 Style Sheets</a>. Available at
http://www.w3.org/TR/DOM-Level-2-Style/stylesheets</dd>
<dt><b><a id="DOMTraversal-inf" name='DOMTraversal-inf'>DOM Level 2
Traversal</a></b></dt>
<dd>W3C (World Wide Web Consortium) <a
href='http://www.w3.org/TR/DOM-Level-2-Traversal-Range/traversal'>Document
Object Model Level 2 Traversal</a>. Available at
http://www.w3.org/TR/DOM-Level-2-Traversal-Range/traversal</dd>
<dt><b><a id="DOMRange-inf" name='DOMRange-inf'>DOM Level 2
Range</a></b></dt>
<dd>W3C (World Wide Web Consortium) <a
href='http://www.w3.org/TR/DOM-Level-2-Traversal-Range/ranges.html'>
Document Object Model Level 2 Range</a>. Available at
http://www.w3.org/TR/DOM-Level-2-Traversal-Range/ranges</dd>
<dt><b><a id="DOMViews-inf" name='DOMViews-inf'>DOM Level 2
Views</a></b></dt>
<dd>W3C (World Wide Web Consortium) <a
href='http://www.w3.org/TR/DOM-Level-2-Views'>Document Object Model
Level 2 Views Specification</a>. Available at
http://www.w3.org/TR/DOM-Level-2-Views</dd>
<dt><b><a id="XPointer" name='XPointer'>XPointer</a></b></dt>
<dd>W3C (World Wide Web Consortium) <a
href='http://www.w3.org/TR/xptr'>XML Pointer Language
(XPointer)</a>, June 2000. Available at
http://www.w3.org/TR/xptr</dd>
</dl>
</div>
<!-- div2 References-Informative --></div>
<!-- div1 References -->
<div class='navbar' align='center'>
<hr title='Navigation area separator' />
<a accesskey='p' href='glossary.html'>previous</a> &nbsp; <a
accesskey='n' href='def-index.html'>next</a> &nbsp; <a
accesskey='c' href='Overview.html#contents'>contents</a> &nbsp; <a
accesskey='i' href='def-index.html'>index</a></div>
</body>
</html>
+75
View File
@@ -0,0 +1,75 @@
H4 {
text-align: left;
font-family: sans-serif;
font-weight: normal;
color: #0050B2;
}
.idl-code {
font-family: monospace;
border: 1px solid black;
white-space: pre;
color: black;
background-color: #dfdfdf;
}
.java-code {
font-family: monospace;
border: 1px solid black;
white-space: pre;
color: black;
background-color: #dfdfdf;
}
.code-block {
font-family: monospace;
border: 1px solid black;
white-space: pre;
color: black;
background-color: #dfdfdf;
}
.ecma-block {
border: 1px solid black;
color: black;
background-color: #dfdfdf;
}
.interface-name {
font-weight: bold
}
.attribute-name {
color: black;
background-color: #FFFFD2;
}
.constant-name {
color: black;
background-color: #DDFFD2;
}
.method-name {
color: black;
background-color: #D9E6F8;
}
.parameter-name {
color: black;
background-color: #FEE6F8;
}
UL.toc, OL.toc {list-style: none}
DIV.toc UL UL, DIV.toc OL OL {margin-left: 0}
DIV.toc UL UL UL, DIV.toc OL OL OL {margin-left: 1em}
DIV.toc UL UL UL UL, DIV.toc OL OL OL OL {margin-left: 0}
LI.tocline1 {font-weight: bold}
LI.tocline2 {font-weight: normal}
LI.tocline4 {font-style: italic}
code { font-family: monospace }
div.paramtable { margin-left: 1em }
div.returntable { margin-left: 1em }
div.exceptiontable { margin-left: 1em }