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

http://www.w3.org/TR/2004/NOTE-DOM-Level-3-XPath-20040226/


git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226246 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
mrglavas 2005-06-17 22:16:45 +00:00
parent b4c1723a47
commit 1f07579183
16 changed files with 2891 additions and 0 deletions

View File

@ -0,0 +1,122 @@
<!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<!--
Generated: Mon Feb 23 16:43:26 EST 2004 jfouffa.w3.org
-->
<html lang='en-US'>
<head>
<title>Document Object Model (DOM) Level 3 XPath Specification</title>
<link rel='stylesheet' type='text/css' href='./spec.css'>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel='stylesheet' type='text/css' href='W3C-WG-NOTE.css'>
<link rel='next' href='expanded-toc.html'>
<link rel='contents' href='Overview.html#contents'>
<link rel='copyright' href='copyright-notice.html'>
<link rel='glossary' href='glossary.html'>
<link rel='Start' href='Overview.html'>
<link rel='index' href='def-index.html'>
<link rel='author' href='mailto:www-dom@w3.org'>
<link rel='help' href='http://www.w3.org/DOM/'>
</head>
<body>
<div class='navbar' style='text-align: center'>
<map id='navbar-top' name='navbar-top' title='Navigation Bar'><p>
[<a title='Expanded Table of Contents' accesskey='n' href='expanded-toc.html'><strong><u>n</u></strong>ext</a>] &nbsp; [<a title='Table of Contents' accesskey='c' href='Overview.html#contents'><strong><u>c</u></strong>ontents</a>] &nbsp; [<a title='Index'
accesskey='i' href='def-index.html'><strong><u>i</u></strong>ndex</a>]</p>
<hr title='Navigation area separator'>
</map></div>
<div class='head'>
<p><a href='http://www.w3.org/'>
<img height='48' width='72'
alt='W3C' src='./images/w3c_home.gif'></a></p>
<h1 id='title'>Document Object Model (DOM) Level 3 XPath Specification</h1>
<h2 id='version'>Version 1.0</h2>
<!-- NOTE-DOM-Level-3-XPath-20040226
--> <h2 id='W3C-doctype'>W3C Working Group Note 26 February 2004</h2>
<dl><dt>This version:</dt>
<dd><a href='http://www.w3.org/TR/2004/NOTE-DOM-Level-3-XPath-20040226'>http://www.w3.org/TR/2004/NOTE-DOM-Level-3-XPath-20040226</a></dd><dt>Latest version:</dt>
<dd><a href='http://www.w3.org/TR/DOM-Level-3-XPath'>http://www.w3.org/TR/DOM-Level-3-XPath</a></dd>
<dt>Previous version:</dt>
<dd><a href='http://www.w3.org/TR/2003/CR-DOM-Level-3-XPath-20030331'>http://www.w3.org/TR/2003/CR-DOM-Level-3-XPath-20030331</a></dd>
</dl>
<dl><dt>Editor:
</dt><dd>Ray Whitmer,
<i>Netscape/AOL, then Invited Expert</i></dd>
</dl>
<p>This document is also available in these non-normative formats: <a href='http://www.w3.org/TR/2004/NOTE-DOM-Level-3-XPath-20040226/xml-source.xml'>XML file</a>, <a href='http://www.w3.org/TR/2004/NOTE-DOM-Level-3-XPath-20040226/DOM3-XPath.txt'>plain text</a>, <a href='http://www.w3.org/TR/2004/NOTE-DOM-Level-3-XPath-20040226/DOM3-XPath.ps'>PostScript file</a>, <a href='http://www.w3.org/TR/2004/NOTE-DOM-Level-3-XPath-20040226/DOM3-XPath.pdf'>PDF file</a>, <a href='http://www.w3.org/TR/2004/NOTE-DOM-Level-3-XPath-20040226/DOM3-XPath.html'>single HTML file</a>, and <a href='http://www.w3.org/TR/2004/NOTE-DOM-Level-3-XPath-20040226/DOM3-XPath.zip'>ZIP file</a>.</p>
<p class='copyright'><a href='http://www.w3.org/Consortium/Legal/ipr-notice#Copyright'> Copyright</a> &copy;2004 <a href='http://www.w3.org/'><abbr title='World Wide Web Consortium'>W3C</abbr></a><sup>&reg;</sup> (<a href='http://www.csail.mit.edu/'><abbr title='Massachusetts Institute of Technology'>MIT</abbr></a>, <a href='http://www.ercim.org/'><abbr title='European Research Consortium for Informatics and Mathematics'>ERCIM</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'>document use</a> and <a href='http://www.w3.org/Consortium/Legal/copyright-software'>software licensing</a> rules apply.</p>
</div>
<hr title='separator from header'>
<h2 id='abstract'>Abstract</h2>
<div class='abstract'>
<p>This specification defines the Document Object Model Level 3 XPath. It
provides simple functionalities to access a DOM tree using [<a class='noxref' href='references.html#XPath10'>XPath 1.0</a>].</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. A list of current W3C publications and the latest
revision of this technical report can be found in the <a href='http://www.w3.org/TR/'>W3C technical reports index</a>
at http://www.w3.org/TR/.</em>
</p><p>
This is a <a href='http://www.w3.org/Consortium/Process-20010719/tr.html#RecsCR'>Working
Group Note</a> of "DOM Level 3 XPath" and is based on the <a href='http://www.w3.org/2002/03/DOM-Level-3-XPath-issues'>feedback
received</a> during the Last Call period. The W3C DOM Working
Group participants do not expect to provide two interoperable
implementations of this module, <em>using the same
binding</em>. Implementation feedbacks are however welcome and
have to be sent to the public mailing list <a href='mailto:www-dom@w3.org'>www-dom@w3.org</a> (public <a href='http://lists.w3.org/Archives/Public/www-dom/'>archive</a>). Other W3C Working Groups
may continue the work and provide implementations of this
document.
</p><p>
Individuals or organizations are also invited to send a message
to the public mailing list if they intend to produce an
implementation of this module.
</p><p>
Publication as a Working Group Note does not imply endorsement
by the W3C Membership. This is a draft document and may be
updated, replaced or obsoleted by other documents at any time.
</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.
</p><p>
An <a href='http://www.w3.org/2003/02/19-dom-xpath-implementation.html'>implementation
report</a> is also available.
</p><p>
Patent disclosures relevant to this specification may be found
on the Working Group's <a href='http://www.w3.org/2002/08/02-DOM-Disclosures.html'>patent
disclosure page</a>.
</p></div>
<h2 id='table-of-contents'><a name='contents'>Table of contents</a></h2>
<ul class='toc'>
<li class='tocline2'><a class='tocxref' href='expanded-toc.html'>Expanded Table of Contents</a></li>
<li class='tocline2'><a class='tocxref' href='copyright-notice.html'>W3C Copyright Notices and Licenses</a></li>
</ul>
<ul class='toc'>
<li class='tocline2'><a class='tocxref' href='xpath.html'>1. Document Object Model XPath</a></li>
</ul>
<ul class='toc'>
<li class='tocline2'><a class='tocxref' href='idl-definitions.html'>Appendix A: IDL Definitions</a></li>
<li class='tocline2'><a class='tocxref' href='java-binding.html'>Appendix B: Java Language Binding</a></li>
<li class='tocline2'><a class='tocxref' href='ecma-script-binding.html'>Appendix C: ECMAScript Language Binding</a></li>
<li class='tocline2'><a class='tocxref' href='acknowledgements.html'>Appendix D: 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' style='text-align: center'>
<map id='navbar-bottom' name='navbar-bottom' title='Navigation Bar'><hr title='Navigation area separator'><p>
[<a title='Expanded Table of Contents' href='expanded-toc.html'><strong><u>n</u></strong>ext</a>] &nbsp; [<a title='Table of Contents' href='Overview.html#contents'><strong><u>c</u></strong>ontents</a>] &nbsp; [<a title='Index'
href='def-index.html'><strong><u>i</u></strong>ndex</a>]</p>
</map></div>
</body>
</html>

View File

@ -0,0 +1,93 @@
/* Style for a "Working Group Note" */
/*
Copyright 1997-2003 W3C (MIT, ERCIM, Keio). All Rights Reserved.
The following software licensing rules apply:
http://www.w3.org/Consortium/Legal/copyright-software */
/* $Id$ */
body {
padding: 2em 1em 2em 70px;
margin: 0;
font-family: sans-serif;
color: black;
background: white;
background-position: top left;
background-attachment: fixed;
background-repeat: no-repeat;
}
:link { color: #00C; background: transparent }
:visited { color: #609; background: transparent }
a:active { color: #C00; background: transparent }
a:link img, a:visited img { border-style: none } /* no border on img links */
a img { color: white; } /* trick to hide the border in Netscape 4 */
@media all { /* hide the next rule from Netscape 4 */
a img { color: inherit; } /* undo the color change above */
}
th, td { /* ns 4 */
font-family: sans-serif;
}
h1, h2, h3, h4, h5, h6 { text-align: left }
/* background should be transparent, but WebTV has a bug */
h1, h2, h3 { color: #005A9C; background: white }
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 }
p.copyright { font-size: small }
p.copyright small { font-size: small }
@media screen { /* hide from IE3 */
a[href]: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 }
}
/* Copyright 1997-2003 W3C (MIT, ERCIM, Keio). All Rights Reserved.
The following software licensing rules apply:
http://www.w3.org/Consortium/Legal/copyright-software */
body {
background-image: url(./images/logo-WG-Note.gif);
}

View File

@ -0,0 +1,102 @@
<!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<!--
Generated: Mon Feb 23 16:43:32 EST 2004 jfouffa.w3.org
-->
<html lang='en-US'>
<head>
<title>Acknowledgements</title>
<link rel='stylesheet' type='text/css' href='./spec.css'>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel='stylesheet' type='text/css' href='W3C-WG-NOTE.css'>
<link rel='next' href='glossary.html'>
<link rel='contents' href='Overview.html#contents'>
<link rel='copyright' href='copyright-notice.html'>
<link rel='glossary' href='glossary.html'>
<link rel='Start' href='Overview.html'>
<link rel='index' href='def-index.html'>
<link rel='author' href='mailto:www-dom@w3.org'>
<link rel='help' href='http://www.w3.org/DOM/'>
<link rel='prev' href='ecma-script-binding.html'>
</head>
<body>
<div class='navbar' style='text-align: center'>
<map id='navbar-top' name='navbar-top' title='Navigation Bar'><p>
[<a title='ECMAScript Language Binding' accesskey='p' href='ecma-script-binding.html'><strong><u>p</u></strong>revious</a>]
&nbsp; [<a title='Glossary' accesskey='n' href='glossary.html'><strong><u>n</u></strong>ext</a>] &nbsp; [<a title='Table of Contents' accesskey='c' href='Overview.html#contents'><strong><u>c</u></strong>ontents</a>] &nbsp; [<a title='Index'
accesskey='i' href='def-index.html'><strong><u>i</u></strong>ndex</a>]</p>
<hr title='Navigation area separator'>
</map></div>
<div class='noprint' style='text-align: right'>
<p style='font-family: monospace;font-size:small'>26 February 2004</p>
</div>
<div class='div1'><a name='contributors'></a>
<h1 id='contributors-h1' class='adiv1'>Appendix D: Acknowledgements</h1>
<p class='first'>Many people contributed to the DOM specifications (Level 1, 2 or 3),
including participants of the DOM Working Group and the DOM Interest Group. We
especially thank the following:</p><p>
Andrew Clover, Andrew Watson (Object Management Group), Andy
Heninger (IBM), Angel Diaz (IBM), Arnaud Le Hors (W3C and IBM),
Ashok Malhotra (IBM and Microsoft), Ben Chang (Oracle), Bill Smith
(Sun), Bill Shea (Merrill Lynch), Bob Sutor (IBM), Chris Lovett
(Microsoft), Chris Wilson (Microsoft), David Brownell (Sun), David
Ezell (Hewlett-Packard Company), David Singer (IBM), Dimitris
Dimitriadis (Improve AB and invited expert), Don Park (invited),
Elena Litani (IBM), Eric Vasilik (Microsoft), Gavin Nicol (INSO),
Ian Jacobs (W3C), James Clark (invited), James Davidson (Sun), Jared
Sorensen (Novell), Jeroen van Rotterdam (X-Hive Corporation), Joe
Kesselman (IBM), Joe Lapp (webMethods), Joe Marini (Macromedia),
Johnny Stenback (Netscape/AOL), Jon Ferraiolo (Adobe), Jonathan
Marsh (Microsoft), Jonathan Robie (Texcel Research and Software AG),
Kim Adamson-Sharpe (SoftQuad Software Inc.), Lauren Wood (SoftQuad
Software Inc., <em>former Chair</em>), Laurence Cable (Sun),
Mark Davis (IBM), Mark Scardina (Oracle), Martin D&#xfc;rst (W3C),
Mary Brady (NIST), 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&#xe9;garet
(W3C, <em>W3C Team Contact and former Chair</em>), Ramesh
Lekshmynarayanan (Merrill Lynch), Ray Whitmer (iMall, Excite@Home,
and Netscape/AOL, <em>Chair</em>), Rezaur Rahman (Intel), Rich
Rollman (Microsoft), Rick Gessner (Netscape), Rick Jelliffe
(invited), Rob Relyea (Microsoft), Scott Isaacs (Microsoft), Sharon
Adler (INSO), Steve Byrne (JavaSoft), Tim Bray (invited), Tim Yu
(Oracle), Tom Pixley (Netscape/AOL), Vidur Apparao (Netscape), Vinod
Anupam (Lucent).
</p><p>
Thanks to all those who have helped to improve this specification by
sending suggestions and corrections (Please, keep bugging us with your
issues!).
</p><p>
Special thanks to the <a class='normative' href='http://www.w3.org/DOM/Test'>DOM
Conformance Test Suites</a> contributors: Curt Arnold, Fred Drake,
Mary Brady (NIST), Rick Rivello (NIST), Robert Clary (Netscape).
</p>
<div class='div2'><a name='Productions'></a>
<h2 id='Productions-h2' class='adiv2'>D.1 Production Systems</h2>
<p>
This specification was written in XML. The HTML, OMG IDL, Java and
ECMAScript bindings were all produced automatically.
<p>
Thanks to Joe English, author of <a class='normative' 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&#xe9;garet maintained the scripts.
<p>
After DOM Level 1, we used <a class='normative' href='http://xml.apache.org/xerces-j'>Xerces</a> as the basis DOM
implementation and wish to thank the authors. Philippe Le H&#xe9;garet
and Arnaud Le Hors wrote the <a class='normative' href='http://dev.w3.org/cvsweb/java/classes/org/w3c/tools/specgenerator/'>Java
programs</a> which are the DOM application.
<p>
Thanks also to Jan K&#xe4;rrman, author of <a class='normative' href='http://user.it.uu.se/~jan/html2ps.html'>html2ps</a>, which we use
in creating the PostScript version of the specification.
</div> <!-- div2 Productions --></div> <!-- div1 contributors --><div class='navbar' style='text-align: center'>
<map id='navbar-bottom' name='navbar-bottom' title='Navigation Bar'><hr title='Navigation area separator'><p>
[<a title='ECMAScript Language Binding' href='ecma-script-binding.html'><strong><u>p</u></strong>revious</a>]
&nbsp; [<a title='Glossary' href='glossary.html'><strong><u>n</u></strong>ext</a>] &nbsp; [<a title='Table of Contents' href='Overview.html#contents'><strong><u>c</u></strong>ontents</a>] &nbsp; [<a title='Index'
href='def-index.html'><strong><u>i</u></strong>ndex</a>]</p>
</map></div>
</body>
</html>

View File

@ -0,0 +1,223 @@
<!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<!--
Generated: Mon Feb 23 16:43:27 EST 2004 jfouffa.w3.org
-->
<html lang='en-US'>
<head>
<title>W3C Copyright Notices and Licenses</title>
<link rel='stylesheet' type='text/css' href='./spec.css'>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel='stylesheet' type='text/css' href='W3C-WG-NOTE.css'>
<link rel='next' href='xpath.html'>
<link rel='contents' href='Overview.html#contents'>
<link rel='copyright' href='copyright-notice.html'>
<link rel='glossary' href='glossary.html'>
<link rel='Start' href='Overview.html'>
<link rel='index' href='def-index.html'>
<link rel='author' href='mailto:www-dom@w3.org'>
<link rel='help' href='http://www.w3.org/DOM/'>
<link rel='prev' href='expanded-toc.html'>
</head>
<body>
<div class='navbar' style='text-align: center'>
<map id='navbar-top' name='navbar-top' title='Navigation Bar'><p>
[<a title='Expanded Table of Contents' accesskey='p' href='expanded-toc.html'><strong><u>p</u></strong>revious</a>]
&nbsp; [<a title='Document Object Model XPath' accesskey='n' href='xpath.html'><strong><u>n</u></strong>ext</a>] &nbsp; [<a title='Table of Contents' accesskey='c' href='Overview.html#contents'><strong><u>c</u></strong>ontents</a>] &nbsp; [<a title='Index'
accesskey='i' href='def-index.html'><strong><u>i</u></strong>ndex</a>]</p>
<hr title='Navigation area separator'>
</map></div>
<div class='noprint' style='text-align: right'>
<p style='font-family: monospace;font-size:small'>26 February 2004</p>
</div>
<div class='div1'><a name='Copyright-Notice'></a>
<h1 id='Copyright-Notice-h1' class='div1'>W3C Copyright Notices and Licenses</h1>
<p><b>
Copyright &#xa9; 2004 <a class='normative' href='http://www.w3.org/'>World
Wide Web Consortium</a>, (<a class='normative' href='http://www.csail.mit.edu/'>Massachusetts Institute of
Technology</a>, <a class='normative' href='http://www.ercim.org/'>European
Research Consortium for Informatics and Mathematics</a>, <a class='normative' 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<sup>&#xae;</sup> Document Copyright Notice and License</a>. The bindings within this document
are published under the <a href='copyright-notice.html#Copyright-notice-software'>W3C<sup>&#xae;</sup> 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 name='Copyright-notice-document'></a>
<hr width='50' align='center' title='Area separator'>
<h2 id='Copyright-notice-document-h2' class='div2'>W3C<sup>&#xae;</sup> Document Copyright Notice and License</h2>
<p><b>Note:</b>
This section is a copy of the W3C<sup>&#xae;</sup> Document
Notice and License and could be found at <a class='normative' href='http://www.w3.org/Consortium/Legal/2002/copyright-documents-20021231'>http://www.w3.org/Consortium/Legal/2002/copyright-documents-20021231</a>.
</p>
<p><b>
Copyright &#xa9; 2004 <a class='normative' href='http://www.w3.org/'>World Wide Web Consortium</a>, (<a class='normative' href='http://www.lcs.mit.edu/'>Massachusetts Institute of
Technology</a>, <a class='normative' href='http://www.ercim.org/'>European
Research Consortium for Informatics and Mathematics</a>, <a class='normative' href='http://www.keio.ac.jp/'>Keio University</a>). All Rights
Reserved.
</b></p><p><b>
http://www.w3.org/Consortium/Legal/2002/copyright-documents-20021231
</b></p><p>
Public documents on the W3C site are provided by the copyright
holders under the following license. 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>
Permission to 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:
<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 (hypertext is preferred, but a
textual representation is permitted) of the form:
"Copyright &#xa9; [$date-of-document] <a class='normative' href='http://www.w3.org/'>World Wide Web Consortium</a>,
(<a class='normative' href='http://www.lcs.mit.edu/'>Massachusetts Institute
of Technology</a>, <a class='normative' href='http://www.ercim.org/'>European Research Consortium for
Informatics and Mathematics</a>, <a class='normative' href='http://www.keio.ac.jp/'>Keio University</a>). All
Rights Reserved. <a class='normative' href='http://www.w3.org/Consortium/Legal/2002/copyright-documents-20021231'>http://www.w3.org/Consortium/Legal/2002/copyright-documents-20021231</a>"
</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>
No right to create modifications or derivatives of W3C documents is
granted pursuant to this license. However, if additional requirements
(documented in the <a class='normative' href='http://www.w3.org/Consortium/Legal/IPR-FAQ'>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>
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>
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>
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.
</div> <!-- div2 Copyright-notice-document -->
<div class='div2'><a name='Copyright-notice-software'></a>
<hr width='50' align='center' title='Area separator'>
<h2 id='Copyright-notice-software-h2' class='div2'>W3C<sup>&#xae;</sup> Software Copyright Notice and License</h2>
<p><b>Note:</b>
This section is a copy of the W3C<sup>&#xae;</sup> Software
Copyright Notice and License and could be found at <a class='normative' href='http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231'>http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231</a>
</p>
<p><b>
Copyright &#xa9; 2004 <a class='normative' href='http://www.w3.org/'>World Wide Web Consortium</a>, (<a class='normative' href='http://www.lcs.mit.edu/'>Massachusetts Institute of
Technology</a>, <a class='normative' href='http://www.ercim.org/'>European
Research Consortium for Informatics and Mathematics</a>, <a class='normative' href='http://www.keio.ac.jp/'>Keio University</a>). All Rights
Reserved.
</b></p><p><b>
http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
</b></p><p>
This work (and included software, documentation such as READMEs,
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>
Permission to copy, modify, and distribute 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:
<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, the <a href='copyright-notice.html#Copyright-short-notice'>W3C<sup>&#xae;</sup> Short Software Notice</a> should be included (hypertext
is preferred, text is permitted) within the body of any
redistributed or derivative code.
</li>
<li>
Notice of any changes or modifications to the 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>
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>
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.
</div> <!-- div2 Copyright-notice-software -->
<div class='div2'><a name='Copyright-short-notice'></a>
<h2 id='Copyright-short-notice-h2' class='div2'>W3C<sup>&#xae;</sup> Short Software Notice</h2>
<p><b>Note:</b>
This section is a copy of the W3C<sup>&#xae;</sup> Short Software
Notice and could be found at <a class='normative' href='http://www.w3.org/Consortium/Legal/2002/copyright-software-short-notice-20021231'>http://www.w3.org/Consortium/Legal/2002/copyright-software-short-notice-20021231</a>
</p>
<p><b>
Copyright &#xa9; 2004 <a class='normative' href='http://www.w3.org/'>World
Wide Web Consortium</a>, (<a class='normative' href='http://www.lcs.mit.edu/'>Massachusetts Institute of
Technology</a>, <a class='normative' href='http://www.ercim.org/'>European
Research Consortium for Informatics and Mathematics</a>, <a class='normative' href='http://www.keio.ac.jp/'>Keio University</a>). All Rights
Reserved.
</b></p><p>
Copyright &#xa9; [$date-of-software] <a class='normative' href='http://www.w3.org/'>World Wide Web Consortium</a>, (<a class='normative' href='http://www.lcs.mit.edu/'>Massachusetts Institute of
Technology</a>, <a class='normative' href='http://www.ercim.org/'>European
Research Consortium for Informatics and Mathematics</a>, <a class='normative' href='http://www.keio.ac.jp/'>Keio University</a>). All Rights
Reserved. This work is distributed under the W3C<sup>&#xae;</sup>
Software License [1] 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.
<p>
[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
</div> <!-- div2 Copyright-short-notice --></div> <!-- div1 Copyright-Notice --><div class='navbar' style='text-align: center'>
<map id='navbar-bottom' name='navbar-bottom' title='Navigation Bar'><hr title='Navigation area separator'><p>
[<a title='Expanded Table of Contents' href='expanded-toc.html'><strong><u>p</u></strong>revious</a>]
&nbsp; [<a title='Document Object Model XPath' href='xpath.html'><strong><u>n</u></strong>ext</a>] &nbsp; [<a title='Table of Contents' href='Overview.html#contents'><strong><u>c</u></strong>ontents</a>] &nbsp; [<a title='Index'
href='def-index.html'><strong><u>i</u></strong>ndex</a>]</p>
</map></div>
</body>
</html>

View File

@ -0,0 +1,170 @@
<!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<!--
Generated: Mon Feb 23 16:43:32 EST 2004 jfouffa.w3.org
-->
<html lang='en-US'>
<head>
<title>Index</title>
<link rel='stylesheet' type='text/css' href='./spec.css'>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel='stylesheet' type='text/css' href='W3C-WG-NOTE.css'>
<link rel='contents' href='Overview.html#contents'>
<link rel='copyright' href='copyright-notice.html'>
<link rel='glossary' href='glossary.html'>
<link rel='Start' href='Overview.html'>
<link rel='author' href='mailto:www-dom@w3.org'>
<link rel='help' href='http://www.w3.org/DOM/'>
<link rel='prev' href='references.html'>
</head>
<body>
<div class='navbar' style='text-align: center'>
<map id='navbar-top' name='navbar-top' title='Navigation Bar'><p>
[<a title='References' accesskey='p' href='references.html'><strong><u>p</u></strong>revious</a>]
&nbsp; [<a title='Table of Contents' accesskey='c' href='Overview.html#contents'><strong><u>c</u></strong>ontents</a>]</p>
<hr title='Navigation area separator'>
</map></div>
<div class='noprint' style='text-align: right'>
<p style='font-family: monospace;font-size:small'>26 February 2004</p>
</div>
<div class='div1'><a 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='xpath.html#XPathResult-ANY-TYPE'>ANY_TYPE</a></td>
<td width='30%'><a class='noxref' href='xpath.html#XPathResult-ANY-UNORDERED-NODE-TYPE'>ANY_UNORDERED_NODE_TYPE</a></td>
<td width='30%'><a class='noxref' href='xpath.html#Introduction'>API</a> <a class='index-inst' href='xpath.html#Introduction'>1</a>,
<a class='index-inst' href='glossary.html#dt-API'>2</a></td>
<tr><td>&#160;
<tr>
<td width='30%'><a class='noxref' href='xpath.html#XPathResult-BOOLEAN-TYPE'>BOOLEAN_TYPE</a></td>
<td width='30%'><a class='noxref' href='xpath.html#XPathResult-booleanValue'>booleanValue</a></td>
<tr><td>&#160;
<tr>
<td width='30%'><a class='noxref' href='xpath.html#XPathEvaluator-createExpression'>createExpression</a></td>
<td width='30%'><a class='noxref' href='xpath.html#XPathEvaluator-createNSResolver'>createNSResolver</a></td>
<tr><td>&#160;
<tr>
<td width='30%'><a class='noxref' href='glossary.html#dt-document-element'>document element</a></td>
<td width='30%'><a class='noxref' href='xpath.html#DocumentOrder'>document order</a> <a class='index-inst' href='xpath.html#DocumentOrder'>1</a>,
<a class='index-inst' href='glossary.html#dt-document-order'>2</a></td>
<td width='30%'><a class='noxref' href='xpath.html#Mapping'>DOM Level 2 Core</a> <a class='index-inst' href='xpath.html#Mapping'>1</a>,
<a class='index-inst' href='xpath.html#Interfaces'>2</a>,
<a class='index-inst' href='references.html#DOM2Core'>3</a></td>
<tr>
<td width='30%'><a class='noxref' href='xpath.html#TextNodes'>DOM Level 3 Core</a> <a class='index-inst' href='xpath.html#TextNodes'>1</a>,
<a class='index-inst' href='xpath.html#Conformance'>2</a>,
<a class='index-inst' href='references.html#DOMCore'>3</a></td>
<tr><td>&#160;
<tr>
<td width='30%'><a class='noxref' href='references.html#ECMAScript'>ECMAScript</a></td>
<td width='30%'><a class='noxref' href='xpath.html#NamespaceNodes'>element</a> <a class='index-inst' href='xpath.html#NamespaceNodes'>1</a>,
<a class='index-inst' href='xpath.html#XPathNamespace-ownerElement'>2</a>,
<a class='index-inst' href='glossary.html#dt-element'>3</a></td>
<td width='30%'><a class='noxref' href='xpath.html#XPathEvaluator-evaluate'>evaluate</a> <a class='index-inst' href='xpath.html#XPathEvaluator-evaluate'>1</a>,
<a class='index-inst' href='xpath.html#XPathExpression-evaluate'>2</a></td>
<tr><td>&#160;
<tr>
<td width='30%'><a class='noxref' href='xpath.html#XPathResult-FIRST-ORDERED-NODE-TYPE'>FIRST_ORDERED_NODE_TYPE</a></td>
<tr><td>&#160;
<tr>
<td width='30%'><a class='noxref' href='xpath.html#INVALID_EXPRESSION_ERR'>INVALID_EXPRESSION_ERR</a></td>
<td width='30%'><a class='noxref' href='xpath.html#XPathResult-invalid-iterator-state'>invalidIteratorState</a></td>
<td width='30%'><a class='noxref' href='xpath.html#XPathResult-iterateNext'>iterateNext</a></td>
<tr><td>&#160;
<tr>
<td width='30%'><a class='noxref' href='references.html#Java'>Java</a></td>
<tr><td>&#160;
<tr>
<td width='30%'><a class='noxref' href='xpath.html#Introduction'>live</a> <a class='index-inst' href='xpath.html#Introduction'>1</a>,
<a class='index-inst' href='glossary.html#dt-live'>2</a></td>
<td width='30%'><a class='noxref' href='xpath.html#TextNodes'>logically-adjacent text nodes</a> <a class='index-inst' href='xpath.html#TextNodes'>1</a>,
<a class='index-inst' href='glossary.html#dt-logically-adjacent-text-nodes'>2</a></td>
<td width='30%'><a class='noxref' href='xpath.html#XPathNSResolver-lookupNamespaceURI'>lookupNamespaceURI</a></td>
<tr><td>&#160;
<tr>
<td width='30%'><a class='noxref' href='xpath.html#Introduction'>model</a> <a class='index-inst' href='xpath.html#Introduction'>1</a>,
<a class='index-inst' href='glossary.html#dt-model'>2</a></td>
<tr><td>&#160;
<tr>
<td width='30%'><a class='noxref' href='xpath.html#XPathEvaluator-createExpression'>namespace prefix</a> <a class='index-inst' href='xpath.html#XPathEvaluator-createExpression'>1</a>,
<a class='index-inst' href='xpath.html#XPathEvaluator-evaluate'>2</a>,
<a class='index-inst' href='xpath.html#XPathNSResolver-lookupNamespaceURI'>3</a>,
<a class='index-inst' href='glossary.html#dt-namespaceprefix'>4</a></td>
<td width='30%'><a class='noxref' href='xpath.html#XPathEvaluator-createExpression'>namespace URI</a> <a class='index-inst' href='xpath.html#XPathEvaluator-createExpression'>1</a>,
<a class='index-inst' href='xpath.html#XPathEvaluator-evaluate'>2</a>,
<a class='index-inst' href='xpath.html#XPathNSResolver-lookupNamespaceURI'>3</a>,
<a class='index-inst' href='glossary.html#dt-namespaceURI'>4</a></td>
<td width='30%'><a class='noxref' href='xpath.html#XPathResult-NUMBER-TYPE'>NUMBER_TYPE</a></td>
<tr>
<td width='30%'><a class='noxref' href='xpath.html#XPathResult-numberValue'>numberValue</a></td>
<tr><td>&#160;
<tr>
<td width='30%'><a class='noxref' href='references.html#OMGIDL'>OMG IDL</a></td>
<td width='30%'><a class='noxref' href='xpath.html#XPathResult-ORDERED-NODE-ITERATOR-TYPE'>ORDERED_NODE_ITERATOR_TYPE</a></td>
<td width='30%'><a class='noxref' href='xpath.html#XPathResult-ORDERED-NODE-SNAPSHOT-TYPE'>ORDERED_NODE_SNAPSHOT_TYPE</a></td>
<tr>
<td width='30%'><a class='noxref' href='xpath.html#XPathNamespace-ownerElement'>ownerElement</a></td>
<tr><td>&#160;
<tr>
<td width='30%'><a class='noxref' href='xpath.html#XPathNamespace'>read only node</a> <a class='index-inst' href='xpath.html#XPathNamespace'>1</a>,
<a class='index-inst' href='glossary.html#dt-readonly-node'>2</a></td>
<td width='30%'><a class='noxref' href='xpath.html#XPathResult-resultType'>resultType</a></td>
<tr><td>&#160;
<tr>
<td width='30%'><a class='noxref' href='xpath.html#XPathResult-singleNodeValue'>singleNodeValue</a></td>
<td width='30%'><a class='noxref' href='xpath.html#XPathResult-snapshotItem'>snapshotItem</a></td>
<td width='30%'><a class='noxref' href='xpath.html#XPathResult-snapshot-length'>snapshotLength</a></td>
<tr>
<td width='30%'><a class='noxref' href='xpath.html#XPathResult-STRING-TYPE'>STRING_TYPE</a></td>
<td width='30%'><a class='noxref' href='xpath.html#XPathResult-stringValue'>stringValue</a></td>
<tr><td>&#160;
<tr>
<td width='30%'><a class='noxref' href='xpath.html#TYPE_ERR'>TYPE_ERR</a></td>
<tr><td>&#160;
<tr>
<td width='30%'><a class='noxref' href='xpath.html#XPathResult-UNORDERED-NODE-ITERATOR-TYPE'>UNORDERED_NODE_ITERATOR_TYPE</a></td>
<td width='30%'><a class='noxref' href='xpath.html#XPathResult-UNORDERED-NODE-SNAPSHOT-TYPE'>UNORDERED_NODE_SNAPSHOT_TYPE</a></td>
<tr><td>&#160;
<tr>
<td width='30%'><a class='noxref' href='glossary.html#dt-document-element'>XML 1.0</a> <a class='index-inst' href='glossary.html#dt-document-element'>1</a>,
<a class='index-inst' href='glossary.html#dt-element'>2</a>,
<a class='index-inst' href='references.html#XML'>3</a></td>
<td width='30%'><a class='noxref' href='xpath.html#TextNodes'>XML Information Set</a> <a class='index-inst' href='xpath.html#TextNodes'>1</a>,
<a class='index-inst' href='references.html#InfoSet'>2</a></td>
<td width='30%'><a class='noxref' href='glossary.html#dt-namespaceprefix'>XML Namespaces</a> <a class='index-inst' href='glossary.html#dt-namespaceprefix'>1</a>,
<a class='index-inst' href='glossary.html#dt-namespaceURI'>2</a>,
<a class='index-inst' href='references.html#Namespaces'>3</a></td>
<tr>
<td width='30%'><a class='noxref' href='xpath.html#Introduction'>XPath 1.0</a> <a class='index-inst' href='xpath.html#Introduction'>1</a>,
<a class='index-inst' href='xpath.html#Mapping'>2</a>,
<a class='index-inst' href='xpath.html#XPathResult-NUMBER-TYPE'>3</a>,
<a class='index-inst' href='xpath.html#XPathResult-STRING-TYPE'>4</a>,
<a class='index-inst' href='xpath.html#XPathResult-BOOLEAN-TYPE'>5</a>,
<a class='index-inst' href='xpath.html#XPathResult-UNORDERED-NODE-ITERATOR-TYPE'>6</a>,
<a class='index-inst' href='xpath.html#XPathResult-ORDERED-NODE-ITERATOR-TYPE'>7</a>,
<a class='index-inst' href='xpath.html#XPathResult-UNORDERED-NODE-SNAPSHOT-TYPE'>8</a>,
<a class='index-inst' href='xpath.html#XPathResult-ORDERED-NODE-SNAPSHOT-TYPE'>9</a>,
<a class='index-inst' href='xpath.html#XPathResult-ANY-UNORDERED-NODE-TYPE'>10</a>,
<a class='index-inst' href='xpath.html#XPathResult-FIRST-ORDERED-NODE-TYPE'>11</a>,
<a class='index-inst' href='references.html#XPath10'>12</a></td>
<td width='30%'><a class='noxref' href='xpath.html#XPATH_NAMESPACE_NODE'>XPATH_NAMESPACE_NODE</a></td>
<td width='30%'><a class='noxref' href='xpath.html#XPathEvaluator'>XPathEvaluator</a></td>
<tr>
<td width='30%'><a class='noxref' href='xpath.html#XPathException'>XPathException</a></td>
<td width='30%'><a class='noxref' href='xpath.html#XPathExpression'>XPathExpression</a></td>
<td width='30%'><a class='noxref' href='xpath.html#XPathNamespace'>XPathNamespace</a></td>
<tr>
<td width='30%'><a class='noxref' href='xpath.html#XPathNSResolver'>XPathNSResolver</a></td>
<td width='30%'><a class='noxref' href='xpath.html#XPathResult'>XPathResult</a></td>
</table>
</div> <!-- div1 Index --><div class='navbar' style='text-align: center'>
<map id='navbar-bottom' name='navbar-bottom' title='Navigation Bar'><hr title='Navigation area separator'><p>
[<a title='References' href='references.html'><strong><u>p</u></strong>revious</a>]
&nbsp; [<a title='Table of Contents' href='Overview.html#contents'><strong><u>c</u></strong>ontents</a>]</p>
</map></div>
</body>
</html>

View File

@ -0,0 +1,219 @@
<!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<!--
Generated: Mon Feb 23 16:43:32 EST 2004 jfouffa.w3.org
-->
<html lang='en-US'>
<head>
<title>ECMAScript Language Binding</title>
<link rel='stylesheet' type='text/css' href='./spec.css'>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel='stylesheet' type='text/css' href='W3C-WG-NOTE.css'>
<link rel='next' href='acknowledgements.html'>
<link rel='contents' href='Overview.html#contents'>
<link rel='copyright' href='copyright-notice.html'>
<link rel='glossary' href='glossary.html'>
<link rel='Start' href='Overview.html'>
<link rel='index' href='def-index.html'>
<link rel='author' href='mailto:www-dom@w3.org'>
<link rel='help' href='http://www.w3.org/DOM/'>
<link rel='prev' href='java-binding.html'>
</head>
<body>
<div class='navbar' style='text-align: center'>
<map id='navbar-top' name='navbar-top' title='Navigation Bar'><p>
[<a title='Java Language Binding' accesskey='p' href='java-binding.html'><strong><u>p</u></strong>revious</a>]
&nbsp; [<a title='Acknowledgements' accesskey='n' href='acknowledgements.html'><strong><u>n</u></strong>ext</a>] &nbsp; [<a title='Table of Contents' accesskey='c' href='Overview.html#contents'><strong><u>c</u></strong>ontents</a>] &nbsp; [<a title='Index'
accesskey='i' href='def-index.html'><strong><u>i</u></strong>ndex</a>]</p>
<hr title='Navigation area separator'>
</map></div>
<div class='noprint' style='text-align: right'>
<p style='font-family: monospace;font-size:small'>26 February 2004</p>
</div>
<div class='div1'><a name='ecma-binding'></a>
<h1 id='ecma-binding-h1' class='adiv1'>Appendix C: ECMAScript Language Binding</h1>
<p class='first'>This appendix contains the complete ECMAScript [<cite><a class='noxref normative' href='references.html#ECMAScript'>ECMAScript</a></cite>] binding for the Level 3 Document Object Model XPath
definitions.</p><div class='ecma-block'>
<dl>
<dt>Properties of the <b>XPathException</b> Constructor function:</dt>
<dd>
<dl>
<dt><b>XPathException.INVALID_EXPRESSION_ERR</b></dt>
<dd>
The value of the constant <b>XPathException.INVALID_EXPRESSION_ERR</b> is <b>51</b>.</dd>
<dt><b>XPathException.TYPE_ERR</b></dt>
<dd>
The value of the constant <b>XPathException.TYPE_ERR</b> is <b>52</b>.</dd>
</dl></dd>
<dt>Objects that implement the <b>XPathException</b> interface:</dt>
<dd>
<dl>
<dt>Properties of objects that implement the <b>XPathException</b> interface:</dt>
<dd><dl>
<dt><b>code</b></dt>
<dd>
This property is
a <b>Number</b>.</dd></dl></dd>
</dl>
</dd>
<dt>Objects that implement the <b>XPathEvaluator</b> interface:</dt>
<dd>
<dl>
<dt>Functions of objects that implement the <b>XPathEvaluator</b> interface:</dt>
<dd><dl>
<dt><b>createExpression(expression, resolver)</b></dt>
<dd>This function returns an object that implements the <b>XPathExpression</b> interface.<br>The <b>expression</b> parameter is a <b>String</b>.
<br>The <b>resolver</b> parameter is an object that implements the <b>XPathNSResolver</b> interface.
<br>This function can raise an object that implements the <b>XPathException</b> interface or the <b>DOMException</b> interface.</dd>
<dt><b>createNSResolver(nodeResolver)</b></dt>
<dd>This function returns an object that implements the <b>XPathNSResolver</b> interface.<br>The <b>nodeResolver</b> parameter is an object that implements the <b>Node</b> interface.
</dd>
<dt><b>evaluate(expression, contextNode, resolver, type, result)</b></dt>
<dd>This function returns an object that implements the <b>Object</b> interface.<br>The <b>expression</b> parameter is a <b>String</b>.
<br>The <b>contextNode</b> parameter is an object that implements the <b>Node</b> interface.
<br>The <b>resolver</b> parameter is an object that implements the <b>XPathNSResolver</b> interface.
<br>The <b>type</b> parameter is a <b>Number</b>.
<br>The <b>result</b> parameter is an object that implements the <b>Object</b> interface.
<br>This function can raise an object that implements the <b>XPathException</b> interface or the <b>DOMException</b> interface.</dd>
</dl></dd>
</dl>
</dd>
<dt>Objects that implement the <b>XPathExpression</b> interface:</dt>
<dd>
<dl>
<dt>Functions of objects that implement the <b>XPathExpression</b> interface:</dt>
<dd><dl>
<dt><b>evaluate(contextNode, type, result)</b></dt>
<dd>This function returns an object that implements the <b>Object</b> interface.<br>The <b>contextNode</b> parameter is an object that implements the <b>Node</b> interface.
<br>The <b>type</b> parameter is a <b>Number</b>.
<br>The <b>result</b> parameter is an object that implements the <b>Object</b> interface.
<br>This function can raise an object that implements the <b>XPathException</b> interface or the <b>DOMException</b> interface.</dd>
</dl></dd>
</dl>
</dd>
<dt>Objects that implement the <b>XPathNSResolver</b> interface:</dt>
<dd>
<dl>
<dt>Functions of objects that implement the <b>XPathNSResolver</b> interface:</dt>
<dd><dl>
<dt><b>lookupNamespaceURI(prefix)</b></dt>
<dd>This function returns a <b>String</b>.<br>The <b>prefix</b> parameter is a <b>String</b>.
</dd>
</dl></dd>
</dl>
</dd>
<dt>Properties of the <b>XPathResult</b> Constructor function:</dt>
<dd>
<dl>
<dt><b>XPathResult.ANY_TYPE</b></dt>
<dd>
The value of the constant <b>XPathResult.ANY_TYPE</b> is <b>0</b>.</dd>
<dt><b>XPathResult.NUMBER_TYPE</b></dt>
<dd>
The value of the constant <b>XPathResult.NUMBER_TYPE</b> is <b>1</b>.</dd>
<dt><b>XPathResult.STRING_TYPE</b></dt>
<dd>
The value of the constant <b>XPathResult.STRING_TYPE</b> is <b>2</b>.</dd>
<dt><b>XPathResult.BOOLEAN_TYPE</b></dt>
<dd>
The value of the constant <b>XPathResult.BOOLEAN_TYPE</b> is <b>3</b>.</dd>
<dt><b>XPathResult.UNORDERED_NODE_ITERATOR_TYPE</b></dt>
<dd>
The value of the constant <b>XPathResult.UNORDERED_NODE_ITERATOR_TYPE</b> is <b>4</b>.</dd>
<dt><b>XPathResult.ORDERED_NODE_ITERATOR_TYPE</b></dt>
<dd>
The value of the constant <b>XPathResult.ORDERED_NODE_ITERATOR_TYPE</b> is <b>5</b>.</dd>
<dt><b>XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE</b></dt>
<dd>
The value of the constant <b>XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE</b> is <b>6</b>.</dd>
<dt><b>XPathResult.ORDERED_NODE_SNAPSHOT_TYPE</b></dt>
<dd>
The value of the constant <b>XPathResult.ORDERED_NODE_SNAPSHOT_TYPE</b> is <b>7</b>.</dd>
<dt><b>XPathResult.ANY_UNORDERED_NODE_TYPE</b></dt>
<dd>
The value of the constant <b>XPathResult.ANY_UNORDERED_NODE_TYPE</b> is <b>8</b>.</dd>
<dt><b>XPathResult.FIRST_ORDERED_NODE_TYPE</b></dt>
<dd>
The value of the constant <b>XPathResult.FIRST_ORDERED_NODE_TYPE</b> is <b>9</b>.</dd>
</dl></dd>
<dt>Objects that implement the <b>XPathResult</b> interface:</dt>
<dd>
<dl>
<dt>Properties of objects that implement the <b>XPathResult</b> interface:</dt>
<dd><dl>
<dt><b>resultType</b></dt>
<dd>
This read-only property is a <b>Number</b>.</dd>
<dt><b>numberValue</b></dt>
<dd>
This read-only property is a <b>Number</b> and can raise an object that implements the <b>XPathException</b> interface on retrieval.</dd>
<dt><b>stringValue</b></dt>
<dd>
This read-only property is a <b>String</b> and can raise an object that implements the <b>XPathException</b> interface on retrieval.</dd>
<dt><b>booleanValue</b></dt>
<dd>
This read-only property is a <b>Boolean</b> and can raise an object that implements the <b>XPathException</b> interface on retrieval.</dd>
<dt><b>singleNodeValue</b></dt>
<dd>
This read-only property is an object that implements the <b>Node</b> interface and can raise an object that implements the <b>XPathException</b> interface on retrieval.</dd>
<dt><b>invalidIteratorState</b></dt>
<dd>
This read-only property is a <b>Boolean</b>.</dd>
<dt><b>snapshotLength</b></dt>
<dd>
This read-only property is a <b>Number</b> and can raise an object that implements the <b>XPathException</b> interface on retrieval.</dd>
</dl></dd>
<dt>Functions of objects that implement the <b>XPathResult</b> interface:</dt>
<dd><dl>
<dt><b>iterateNext()</b></dt>
<dd>This function returns an object that implements the <b>Node</b> interface.<br>This function can raise an object that implements the <b>XPathException</b> interface or the <b>DOMException</b> interface.</dd>
<dt><b>snapshotItem(index)</b></dt>
<dd>This function returns an object that implements the <b>Node</b> interface.<br>The <b>index</b> parameter is a <b>Number</b>.
<br>This function can raise an object that implements the <b>XPathException</b> interface.</dd>
</dl></dd>
</dl>
</dd>
<dt>Properties of the <b>XPathNamespace</b> Constructor function:</dt>
<dd>
<dl>
<dt><b>XPathNamespace.XPATH_NAMESPACE_NODE</b></dt>
<dd>
The value of the constant <b>XPathNamespace.XPATH_NAMESPACE_NODE</b> is <b>13</b>.</dd>
</dl></dd>
<dt>Objects that implement the <b>XPathNamespace</b> interface:</dt>
<dd>
<dl>
<dt>Objects that implement the <b>XPathNamespace</b> interface have all properties and functions of the <b>Node</b> interface as well as the properties and functions defined below.</dt>
<dt>Properties of objects that implement the <b>XPathNamespace</b> interface:</dt>
<dd><dl>
<dt><b>ownerElement</b></dt>
<dd>
This read-only property is an object that implements the <b>Element</b> interface.</dd>
</dl></dd>
</dl>
</dd>
</dl>
</div> <!-- ecma-block -->
<p><b>Note:</b>
The parameter <code>resolver</code> of the method
<a href='xpath.html#XPathEvaluator-evaluate'><code>XPathEvaluator.evaluate</code></a> is specified as an object
that implements the <a href='xpath.html#XPathNSResolver'><code>XPathNSResolver</code></a>
interface. ECMAScript users can also pass to this method a
function which returns a <code>String</code> and takes a
<code>String</code> parameter instead of the
<code>resolver</code> parameter.
</p>
</div> <!-- div1 ecma-binding --><div class='navbar' style='text-align: center'>
<map id='navbar-bottom' name='navbar-bottom' title='Navigation Bar'><hr title='Navigation area separator'><p>
[<a title='Java Language Binding' href='java-binding.html'><strong><u>p</u></strong>revious</a>]
&nbsp; [<a title='Acknowledgements' href='acknowledgements.html'><strong><u>n</u></strong>ext</a>] &nbsp; [<a title='Table of Contents' href='Overview.html#contents'><strong><u>c</u></strong>ontents</a>] &nbsp; [<a title='Index'
href='def-index.html'><strong><u>i</u></strong>ndex</a>]</p>
</map></div>
</body>
</html>

View File

@ -0,0 +1,112 @@
<!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<!--
Generated: Mon Feb 23 16:43:26 EST 2004 jfouffa.w3.org
-->
<html lang='en-US'>
<head>
<title>Expanded Table of Contents</title>
<link rel='stylesheet' type='text/css' href='./spec.css'>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel='stylesheet' type='text/css' href='W3C-WG-NOTE.css'>
<link rel='next' href='copyright-notice.html'>
<link rel='contents' href='Overview.html#contents'>
<link rel='copyright' href='copyright-notice.html'>
<link rel='glossary' href='glossary.html'>
<link rel='Start' href='Overview.html'>
<link rel='index' href='def-index.html'>
<link rel='author' href='mailto:www-dom@w3.org'>
<link rel='help' href='http://www.w3.org/DOM/'>
<link rel='prev' href='Overview.html'>
</head>
<body>
<div class='navbar' style='text-align: center'>
<map id='navbar-top' name='navbar-top' title='Navigation Bar'><p>
[<a title='overview' accesskey='p' href='Overview.html'><strong><u>p</u></strong>revious</a>]
&nbsp; [<a title='W3C Copyright Notices and Licenses' accesskey='n' href='copyright-notice.html'><strong><u>n</u></strong>ext</a>] &nbsp; [<a title='Table of Contents' accesskey='c' href='Overview.html#contents'><strong><u>c</u></strong>ontents</a>] &nbsp; [<a title='Index'
accesskey='i' href='def-index.html'><strong><u>i</u></strong>ndex</a>]</p>
<hr title='Navigation area separator'>
</map></div>
<div class='noprint' style='text-align: right'>
<p style='font-family: monospace;font-size:small'>26 February 2004</p>
</div>
<div class='div1'><a 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'>W3C Copyright Notices and Licenses</a>
<ul class='toc'>
<li class='tocline3'><a class='tocxref' href='copyright-notice.html#Copyright-notice-document'>W3C<sup>&#xae;</sup> Document Copyright Notice and License</a>
</li>
<li class='tocline3'><a class='tocxref' href='copyright-notice.html#Copyright-notice-software'>W3C<sup>&#xae;</sup> Software Copyright Notice and License</a>
</li>
<li class='tocline3'><a class='tocxref' href='copyright-notice.html#Copyright-short-notice'>W3C<sup>&#xae;</sup> Short Software Notice</a>
</li>
</ul>
</li>
</ul>
<ul class='toc'>
<li class='tocline2'><a class='tocxref' href='xpath.html'>1 Document Object Model XPath</a>
<ul class='toc'>
<li class='tocline3'><a class='tocxref' href='xpath.html#Introduction'>1.1 Introduction</a>
</li>
<li class='tocline3'><a class='tocxref' href='xpath.html#Mapping'>1.2 Mapping DOM to XPath</a>
<ul class='toc'>
<li class='tocline4'><a class='tocxref' href='xpath.html#ElementNodes'>1.2.1 Element Nodes</a>
<li class='tocline4'><a class='tocxref' href='xpath.html#AttributeNodes'>1.2.2 Attribute Nodes</a>
<li class='tocline4'><a class='tocxref' href='xpath.html#NamespaceNodes'>1.2.3 Namespace Nodes</a>
<li class='tocline4'><a class='tocxref' href='xpath.html#TextNodes'>1.2.4 Text Nodes</a>
<li class='tocline4'><a class='tocxref' href='xpath.html#EntityReferences'>1.2.5 Entity Reference Nodes</a>
<li class='tocline4'><a class='tocxref' href='xpath.html#CommentNodes'>1.2.6 Comment Nodes</a>
<li class='tocline4'><a class='tocxref' href='xpath.html#PINodes'>1.2.7 Processing Instruction Nodes</a>
<li class='tocline4'><a class='tocxref' href='xpath.html#DocumentOrder'>1.2.8 Document order</a>
</ul></li>
<li class='tocline3'><a class='tocxref' href='xpath.html#Conformance'>1.3 Conformance</a>
</li>
<li class='tocline3'><a class='tocxref' href='xpath.html#Interfaces'>1.4 Interfaces</a>
</li>
</ul>
</li>
</ul>
<ul class='toc'>
<li class='tocline2'><a class='tocxref' href='idl-definitions.html'>Appendix A: IDL Definitions</a>
</li>
<li class='tocline2'><a class='tocxref' href='java-binding.html'>Appendix B: Java Language Binding</a>
<ul class='toc'>
<li class='tocline3'><a class='tocxref' href='java-binding.html#JavaXPathInterfaces'>B.1 Other XPath interfaces</a>
</li>
</ul>
</li>
<li class='tocline2'><a class='tocxref' href='ecma-script-binding.html'>Appendix C: ECMAScript Language Binding</a>
</li>
<li class='tocline2'><a class='tocxref' href='acknowledgements.html'>Appendix D: Acknowledgements</a>
<ul class='toc'>
<li class='tocline3'><a class='tocxref' href='acknowledgements.html#Productions'>D.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' style='text-align: center'>
<map id='navbar-bottom' name='navbar-bottom' title='Navigation Bar'><hr title='Navigation area separator'><p>
[<a title='overview' href='Overview.html'><strong><u>p</u></strong>revious</a>]
&nbsp; [<a title='W3C Copyright Notices and Licenses' href='copyright-notice.html'><strong><u>n</u></strong>ext</a>] &nbsp; [<a title='Table of Contents' href='Overview.html#contents'><strong><u>c</u></strong>ontents</a>] &nbsp; [<a title='Index'
href='def-index.html'><strong><u>i</u></strong>ndex</a>]</p>
</map></div>
</body>
</html>

View File

@ -0,0 +1,115 @@
<!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<!--
Generated: Mon Feb 23 16:43:32 EST 2004 jfouffa.w3.org
-->
<html lang='en-US'>
<head>
<title>Glossary</title>
<link rel='stylesheet' type='text/css' href='./spec.css'>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel='stylesheet' type='text/css' href='W3C-WG-NOTE.css'>
<link rel='next' href='references.html'>
<link rel='contents' href='Overview.html#contents'>
<link rel='copyright' href='copyright-notice.html'>
<link rel='glossary' href='glossary.html'>
<link rel='Start' href='Overview.html'>
<link rel='index' href='def-index.html'>
<link rel='author' href='mailto:www-dom@w3.org'>
<link rel='help' href='http://www.w3.org/DOM/'>
<link rel='prev' href='acknowledgements.html'>
</head>
<body>
<div class='navbar' style='text-align: center'>
<map id='navbar-top' name='navbar-top' title='Navigation Bar'><p>
[<a title='Acknowledgements' accesskey='p' href='acknowledgements.html'><strong><u>p</u></strong>revious</a>]
&nbsp; [<a title='References' accesskey='n' href='references.html'><strong><u>n</u></strong>ext</a>] &nbsp; [<a title='Table of Contents' accesskey='c' href='Overview.html#contents'><strong><u>c</u></strong>ontents</a>] &nbsp; [<a title='Index'
accesskey='i' href='def-index.html'><strong><u>i</u></strong>ndex</a>]</p>
<hr title='Navigation area separator'>
</map></div>
<div class='noprint' style='text-align: right'>
<p style='font-family: monospace;font-size:small'>26 February 2004</p>
</div>
<div class='div1'><a name='glossary'></a>
<h1 id='role-glossary' class='glossary'>
Glossary</h1>
<dl>
<dt><i>Editors</i>:
</dt><dd>Arnaud Le Hors, W3C</dd>
<dd>Robert S. Sutor, IBM Research (for DOM Level 1)</dd>
</dl>
<p class='first'>Some 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 name='dt-API'>API</a></b></dt>
<dd>An <i>API</i> is an Application Programming
Interface, a set of functions or methods used to access some
functionality.</dd><dt><b><a name='dt-document-element'>document element</a></b></dt>
<dd>
There is only one document element in a <code>Document</code>. This
element node is a child of the <code>Document</code> node. See
<a class='normative' href='http://www.w3.org/TR/2004/REC-xml-20040204#dt-root'><em>Well-Formed XML
Documents</em></a> in XML [<cite><a class='noxref informative' href='references.html#XML'>XML 1.0</a></cite>].
</dd><dt><b><a name='dt-document-order'>document order</a></b></dt>
<dd>There is an ordering, <i>document order</i>, defined on all
the nodes in the document corresponding to the order in which the first
character of the XML representation of each node occurs in the XML
representation of the document after expansion of general entities. Thus,
the <a href='glossary.html#dt-document-element'>document element</a> node
will be the first node. Element nodes occur before their children. Thus,
document order orders element nodes in order of the occurrence of their
start-tag in the XML (after expansion of entities). The attribute nodes
of an element occur after the element and before its children. The
relative order of attribute nodes is implementation-dependent.</dd><dt><b><a 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 class='normative' href='http://www.w3.org/TR/2004/REC-xml-20040204#sec-logical-struct'><em>Logical
Structures</em></a> in XML [<cite><a class='noxref informative' href='references.html#XML'>XML 1.0</a></cite>].
</dd><dt><b><a name='dt-logically-adjacent-text-nodes'>logically-adjacent text nodes</a></b></dt>
<dd>
<i>Logically-adjacent text nodes</i> are <code>Text</code>
or <code>CDATASection</code> nodes that can be visited
sequentially in <a href='glossary.html#dt-document-order'>document
order</a> or in reversed document order without entering,
exiting, or passing over <code>Element</code>,
<code>Comment</code>, or <code>ProcessingInstruction</code>
nodes.
</dd><dt><b><a name='dt-live'>live</a></b></dt>
<dd>An object is <i>live</i> if any change to the underlying
document structure is reflected in the object.</dd><dt><b><a 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 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 [<cite><a class='noxref informative' href='references.html#Namespaces'>XML Namespaces</a></cite>].</dd><dt><b><a name='dt-namespaceURI'>namespace URI</a></b></dt>
<dd>
A <i>namespace URI</i> is a URI that identifies an XML
namespace. This is called the namespace name in
Namespaces in XML [<cite><a class='noxref informative' href='references.html#Namespaces'>XML Namespaces</a></cite>]. See also sections 1.3.2 "<a class='normative' href='http://www.w3.org/TR/DOM-Level-3-Core/core.html#baseURIs-Considerations'><em>DOM
URIs</em></a>" and 1.3.3 "<a class='normative' href='http://www.w3.org/TR/DOM-Level-3-Core/core.html#Namespaces-Considerations'><em>XML
Namespaces</em></a>" regarding URIs and namespace URIs
handling and comparison in the DOM APIs.
</dd><dt><b><a name='dt-readonly-node'>read only node</a></b></dt>
<dd>A <i>read only 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 read only node
can possibly be moved, when it is not itself contained in a read only
node.</dd></dl>
</div> <!-- div1 glossary --><div class='navbar' style='text-align: center'>
<map id='navbar-bottom' name='navbar-bottom' title='Navigation Bar'><hr title='Navigation area separator'><p>
[<a title='Acknowledgements' href='acknowledgements.html'><strong><u>p</u></strong>revious</a>]
&nbsp; [<a title='References' href='references.html'><strong><u>n</u></strong>ext</a>] &nbsp; [<a title='Table of Contents' href='Overview.html#contents'><strong><u>c</u></strong>ontents</a>] &nbsp; [<a title='Index'
href='def-index.html'><strong><u>i</u></strong>ndex</a>]</p>
</map></div>
</body>
</html>

View File

@ -0,0 +1,153 @@
<!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<!--
Generated: Mon Feb 23 16:43:29 EST 2004 jfouffa.w3.org
-->
<html lang='en-US'>
<head>
<title>IDL Definitions</title>
<link rel='stylesheet' type='text/css' href='./spec.css'>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel='stylesheet' type='text/css' href='W3C-WG-NOTE.css'>
<link rel='next' href='java-binding.html'>
<link rel='contents' href='Overview.html#contents'>
<link rel='copyright' href='copyright-notice.html'>
<link rel='glossary' href='glossary.html'>
<link rel='Start' href='Overview.html'>
<link rel='index' href='def-index.html'>
<link rel='author' href='mailto:www-dom@w3.org'>
<link rel='help' href='http://www.w3.org/DOM/'>
<link rel='prev' href='xpath.html'>
</head>
<body>
<div class='navbar' style='text-align: center'>
<map id='navbar-top' name='navbar-top' title='Navigation Bar'><p>
[<a title='Document Object Model XPath' accesskey='p' href='xpath.html'><strong><u>p</u></strong>revious</a>]
&nbsp; [<a title='Java Language Binding' accesskey='n' href='java-binding.html'><strong><u>n</u></strong>ext</a>] &nbsp; [<a title='Table of Contents' accesskey='c' href='Overview.html#contents'><strong><u>c</u></strong>ontents</a>] &nbsp; [<a title='Index'
accesskey='i' href='def-index.html'><strong><u>i</u></strong>ndex</a>]</p>
<hr title='Navigation area separator'>
</map></div>
<div class='noprint' style='text-align: right'>
<p style='font-family: monospace;font-size:small'>26 February 2004</p>
</div>
<div class='div1'><a name='idl'></a>
<h1 id='idl-h1' class='adiv1'>Appendix A: IDL Definitions</h1>
<p class='first'>This appendix contains the complete OMG IDL [<cite><a class='noxref normative' href='references.html#OMGIDL'>OMG IDL</a></cite>] for
the Level 3 Document Object Model XPath definitions.</p><p>The IDL files are also available as: <a class='normative' href='idl.zip'>http://www.w3.org/TR/2004/NOTE-DOM-Level-3-XPath-20040226/idl.zip</a></p><h3 id='idl-xpath.idl'><a href='idl/xpath.idl'>xpath.idl</a>:</h3>
<div class='idl-code'>
<pre>
// File: xpath.idl
#ifndef _XPATH_IDL_
#define _XPATH_IDL_
#include "dom.idl"
#pragma prefix "dom.w3c.org"
module xpath
{
typedef dom::DOMString DOMString;
typedef dom::Node Node;
typedef dom::DOMObject DOMObject;
typedef dom::Element Element;
interface XPathNSResolver;
interface XPathExpression;
exception <a class='noxref' href='xpath.html#XPathException'>XPathException</a> {
unsigned short code;
};
// XPathExceptionCode
const unsigned short <a class='noxref' href='xpath.html#INVALID_EXPRESSION_ERR'>INVALID_EXPRESSION_ERR</a> = 51;
const unsigned short <a class='noxref' href='xpath.html#TYPE_ERR'>TYPE_ERR</a> = 52;
interface <a class='noxref' href='xpath.html#XPathEvaluator'>XPathEvaluator</a> {
<a class='noxref' href='xpath.html#XPathExpression'>XPathExpression</a> <a class='noxref' href='xpath.html#XPathEvaluator-createExpression'>createExpression</a>(in DOMString expression,
in <a class='noxref' href='xpath.html#XPathNSResolver'>XPathNSResolver</a> resolver)
raises(<a class='noxref' href='xpath.html#XPathException'>XPathException</a>,
dom::DOMException);
<a class='noxref' href='xpath.html#XPathNSResolver'>XPathNSResolver</a> <a class='noxref' href='xpath.html#XPathEvaluator-createNSResolver'>createNSResolver</a>(in Node nodeResolver);
DOMObject <a class='noxref' href='xpath.html#XPathEvaluator-evaluate'>evaluate</a>(in DOMString expression,
in Node contextNode,
in <a class='noxref' href='xpath.html#XPathNSResolver'>XPathNSResolver</a> resolver,
in unsigned short type,
in DOMObject result)
raises(<a class='noxref' href='xpath.html#XPathException'>XPathException</a>,
dom::DOMException);
};
interface <a class='noxref' href='xpath.html#XPathExpression'>XPathExpression</a> {
DOMObject <a class='noxref' href='xpath.html#XPathExpression-evaluate'>evaluate</a>(in Node contextNode,
in unsigned short type,
in DOMObject result)
raises(<a class='noxref' href='xpath.html#XPathException'>XPathException</a>,
dom::DOMException);
};
interface <a class='noxref' href='xpath.html#XPathNSResolver'>XPathNSResolver</a> {
DOMString <a class='noxref' href='xpath.html#XPathNSResolver-lookupNamespaceURI'>lookupNamespaceURI</a>(in DOMString prefix);
};
interface <a class='noxref' href='xpath.html#XPathResult'>XPathResult</a> {
// XPathResultType
const unsigned short <a class='noxref' href='xpath.html#XPathResult-ANY-TYPE'>ANY_TYPE</a> = 0;
const unsigned short <a class='noxref' href='xpath.html#XPathResult-NUMBER-TYPE'>NUMBER_TYPE</a> = 1;
const unsigned short <a class='noxref' href='xpath.html#XPathResult-STRING-TYPE'>STRING_TYPE</a> = 2;
const unsigned short <a class='noxref' href='xpath.html#XPathResult-BOOLEAN-TYPE'>BOOLEAN_TYPE</a> = 3;
const unsigned short <a class='noxref' href='xpath.html#XPathResult-UNORDERED-NODE-ITERATOR-TYPE'>UNORDERED_NODE_ITERATOR_TYPE</a> = 4;
const unsigned short <a class='noxref' href='xpath.html#XPathResult-ORDERED-NODE-ITERATOR-TYPE'>ORDERED_NODE_ITERATOR_TYPE</a> = 5;
const unsigned short <a class='noxref' href='xpath.html#XPathResult-UNORDERED-NODE-SNAPSHOT-TYPE'>UNORDERED_NODE_SNAPSHOT_TYPE</a> = 6;
const unsigned short <a class='noxref' href='xpath.html#XPathResult-ORDERED-NODE-SNAPSHOT-TYPE'>ORDERED_NODE_SNAPSHOT_TYPE</a> = 7;
const unsigned short <a class='noxref' href='xpath.html#XPathResult-ANY-UNORDERED-NODE-TYPE'>ANY_UNORDERED_NODE_TYPE</a> = 8;
const unsigned short <a class='noxref' href='xpath.html#XPathResult-FIRST-ORDERED-NODE-TYPE'>FIRST_ORDERED_NODE_TYPE</a> = 9;
readonly attribute unsigned short <a class='noxref' href='xpath.html#XPathResult-resultType'>resultType</a>;
readonly attribute double <a class='noxref' href='xpath.html#XPathResult-numberValue'>numberValue</a>;
// raises(<a class='noxref' href='xpath.html#XPathException'>XPathException</a>) on retrieval
readonly attribute DOMString <a class='noxref' href='xpath.html#XPathResult-stringValue'>stringValue</a>;
// raises(<a class='noxref' href='xpath.html#XPathException'>XPathException</a>) on retrieval
readonly attribute boolean <a class='noxref' href='xpath.html#XPathResult-booleanValue'>booleanValue</a>;
// raises(<a class='noxref' href='xpath.html#XPathException'>XPathException</a>) on retrieval
readonly attribute Node <a class='noxref' href='xpath.html#XPathResult-singleNodeValue'>singleNodeValue</a>;
// raises(<a class='noxref' href='xpath.html#XPathException'>XPathException</a>) on retrieval
readonly attribute boolean <a class='noxref' href='xpath.html#XPathResult-invalid-iterator-state'>invalidIteratorState</a>;
readonly attribute unsigned long <a class='noxref' href='xpath.html#XPathResult-snapshot-length'>snapshotLength</a>;
// raises(<a class='noxref' href='xpath.html#XPathException'>XPathException</a>) on retrieval
Node <a class='noxref' href='xpath.html#XPathResult-iterateNext'>iterateNext</a>()
raises(<a class='noxref' href='xpath.html#XPathException'>XPathException</a>,
dom::DOMException);
Node <a class='noxref' href='xpath.html#XPathResult-snapshotItem'>snapshotItem</a>(in unsigned long index)
raises(<a class='noxref' href='xpath.html#XPathException'>XPathException</a>);
};
interface <a class='noxref' href='xpath.html#XPathNamespace'>XPathNamespace</a> : Node {
// XPathNodeType
const unsigned short <a class='noxref' href='xpath.html#XPATH_NAMESPACE_NODE'>XPATH_NAMESPACE_NODE</a> = 13;
readonly attribute Element <a class='noxref' href='xpath.html#XPathNamespace-ownerElement'>ownerElement</a>;
};
};
#endif // _XPATH_IDL_
</pre>
</div>
</div> <!-- div1 idl --><div class='navbar' style='text-align: center'>
<map id='navbar-bottom' name='navbar-bottom' title='Navigation Bar'><hr title='Navigation area separator'><p>
[<a title='Document Object Model XPath' href='xpath.html'><strong><u>p</u></strong>revious</a>]
&nbsp; [<a title='Java Language Binding' href='java-binding.html'><strong><u>n</u></strong>ext</a>] &nbsp; [<a title='Table of Contents' href='Overview.html#contents'><strong><u>c</u></strong>ontents</a>] &nbsp; [<a title='Index'
href='def-index.html'><strong><u>i</u></strong>ndex</a>]</p>
</map></div>
</body>
</html>

View File

@ -0,0 +1,115 @@
/*
* Copyright (c) 2004 World Wide Web Consortium,
*
* (Massachusetts Institute of Technology, European Research Consortium for
* Informatics and Mathematics, Keio University). All Rights Reserved. This
* work is distributed under the W3C(r) Software License [1] 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.
*
* [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
*/
// File: http://www.w3.org/TR/2004/NOTE-DOM-Level-3-XPath-20040226/xpath.idl
#ifndef _XPATH_IDL_
#define _XPATH_IDL_
#include "dom.idl"
#pragma prefix "dom.w3c.org"
module xpath
{
typedef dom::DOMString DOMString;
typedef dom::Node Node;
typedef dom::DOMObject DOMObject;
typedef dom::Element Element;
interface XPathNSResolver;
interface XPathExpression;
exception XPathException {
unsigned short code;
};
// XPathExceptionCode
const unsigned short INVALID_EXPRESSION_ERR = 51;
const unsigned short TYPE_ERR = 52;
interface XPathEvaluator {
XPathExpression createExpression(in DOMString expression,
in XPathNSResolver resolver)
raises(XPathException,
dom::DOMException);
XPathNSResolver createNSResolver(in Node nodeResolver);
DOMObject evaluate(in DOMString expression,
in Node contextNode,
in XPathNSResolver resolver,
in unsigned short type,
in DOMObject result)
raises(XPathException,
dom::DOMException);
};
interface XPathExpression {
DOMObject evaluate(in Node contextNode,
in unsigned short type,
in DOMObject result)
raises(XPathException,
dom::DOMException);
};
interface XPathNSResolver {
DOMString lookupNamespaceURI(in DOMString prefix);
};
interface XPathResult {
// XPathResultType
const unsigned short ANY_TYPE = 0;
const unsigned short NUMBER_TYPE = 1;
const unsigned short STRING_TYPE = 2;
const unsigned short BOOLEAN_TYPE = 3;
const unsigned short UNORDERED_NODE_ITERATOR_TYPE = 4;
const unsigned short ORDERED_NODE_ITERATOR_TYPE = 5;
const unsigned short UNORDERED_NODE_SNAPSHOT_TYPE = 6;
const unsigned short ORDERED_NODE_SNAPSHOT_TYPE = 7;
const unsigned short ANY_UNORDERED_NODE_TYPE = 8;
const unsigned short FIRST_ORDERED_NODE_TYPE = 9;
readonly attribute unsigned short resultType;
readonly attribute double numberValue;
// raises(XPathException) on retrieval
readonly attribute DOMString stringValue;
// raises(XPathException) on retrieval
readonly attribute boolean booleanValue;
// raises(XPathException) on retrieval
readonly attribute Node singleNodeValue;
// raises(XPathException) on retrieval
readonly attribute boolean invalidIteratorState;
readonly attribute unsigned long snapshotLength;
// raises(XPathException) on retrieval
Node iterateNext()
raises(XPathException,
dom::DOMException);
Node snapshotItem(in unsigned long index)
raises(XPathException);
};
interface XPathNamespace : Node {
// XPathNodeType
const unsigned short XPATH_NAMESPACE_NODE = 13;
readonly attribute Element ownerElement;
};
};
#endif // _XPATH_IDL_

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 988 B

View File

@ -0,0 +1,185 @@
<!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<!--
Generated: Mon Feb 23 16:43:30 EST 2004 jfouffa.w3.org
-->
<html lang='en-US'>
<head>
<title>Java Language Binding</title>
<link rel='stylesheet' type='text/css' href='./spec.css'>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel='stylesheet' type='text/css' href='W3C-WG-NOTE.css'>
<link rel='next' href='ecma-script-binding.html'>
<link rel='contents' href='Overview.html#contents'>
<link rel='copyright' href='copyright-notice.html'>
<link rel='glossary' href='glossary.html'>
<link rel='Start' href='Overview.html'>
<link rel='index' href='def-index.html'>
<link rel='author' href='mailto:www-dom@w3.org'>
<link rel='help' href='http://www.w3.org/DOM/'>
<link rel='prev' href='idl-definitions.html'>
</head>
<body>
<div class='navbar' style='text-align: center'>
<map id='navbar-top' name='navbar-top' title='Navigation Bar'><p>
[<a title='IDL Definitions' accesskey='p' href='idl-definitions.html'><strong><u>p</u></strong>revious</a>]
&nbsp; [<a title='ECMAScript Language Binding' accesskey='n' href='ecma-script-binding.html'><strong><u>n</u></strong>ext</a>] &nbsp; [<a title='Table of Contents' accesskey='c' href='Overview.html#contents'><strong><u>c</u></strong>ontents</a>] &nbsp; [<a title='Index'
accesskey='i' href='def-index.html'><strong><u>i</u></strong>ndex</a>]</p>
<hr title='Navigation area separator'>
</map></div>
<div class='noprint' style='text-align: right'>
<p style='font-family: monospace;font-size:small'>26 February 2004</p>
</div>
<div class='div1'><a name='java-binding'></a>
<h1 id='java-binding-h1' class='adiv1'>Appendix B: Java Language Binding</h1>
<p class='first'>This appendix contains the complete Java [<cite><a class='noxref normative' href='references.html#Java'>Java</a></cite>] bindings
for the Level 3 Document Object Model XPath.</p><p>The Java files are also available as <a class='normative' href='java-binding.zip'>http://www.w3.org/TR/2004/NOTE-DOM-Level-3-XPath-20040226/java-binding.zip</a></p>
<div class='div2'><a name='JavaXPathInterfaces'></a>
<h2 id='JavaXPathInterfaces-h2' class='adiv2'>B.1 Other XPath interfaces</h2>
<h3 id='org.w3c.dom.xpath.XPathException'>org/w3c/dom/xpath/XPathException.java:</h3>
<div class='java-code'>
<pre>
package org.w3c.dom.xpath;
public class XPathException extends RuntimeException {
public XPathException(short code, String message) {
super(message);
this.code = code;
}
public short code;
// XPathExceptionCode
public static final short INVALID_EXPRESSION_ERR = 51;
public static final short TYPE_ERR = 52;
}
</pre>
</div>
<h3 id='org.w3c.dom.xpath.XPathEvaluator'>org/w3c/dom/xpath/XPathEvaluator.java:</h3>
<div class='java-code'>
<pre>
package org.w3c.dom.xpath;
import org.w3c.dom.Node;
import org.w3c.dom.DOMException;
public interface XPathEvaluator {
public XPathExpression createExpression(String expression,
XPathNSResolver resolver)
throws XPathException, DOMException;
public XPathNSResolver createNSResolver(Node nodeResolver);
public Object evaluate(String expression,
Node contextNode,
XPathNSResolver resolver,
short type,
Object result)
throws XPathException, DOMException;
}
</pre>
</div>
<h3 id='org.w3c.dom.xpath.XPathExpression'>org/w3c/dom/xpath/XPathExpression.java:</h3>
<div class='java-code'>
<pre>
package org.w3c.dom.xpath;
import org.w3c.dom.Node;
import org.w3c.dom.DOMException;
public interface XPathExpression {
public Object evaluate(Node contextNode,
short type,
Object result)
throws XPathException, DOMException;
}
</pre>
</div>
<h3 id='org.w3c.dom.xpath.XPathNSResolver'>org/w3c/dom/xpath/XPathNSResolver.java:</h3>
<div class='java-code'>
<pre>
package org.w3c.dom.xpath;
public interface XPathNSResolver {
public String lookupNamespaceURI(String prefix);
}
</pre>
</div>
<h3 id='org.w3c.dom.xpath.XPathResult'>org/w3c/dom/xpath/XPathResult.java:</h3>
<div class='java-code'>
<pre>
package org.w3c.dom.xpath;
import org.w3c.dom.Node;
import org.w3c.dom.DOMException;
public interface XPathResult {
// XPathResultType
public static final short ANY_TYPE = 0;
public static final short NUMBER_TYPE = 1;
public static final short STRING_TYPE = 2;
public static final short BOOLEAN_TYPE = 3;
public static final short UNORDERED_NODE_ITERATOR_TYPE = 4;
public static final short ORDERED_NODE_ITERATOR_TYPE = 5;
public static final short UNORDERED_NODE_SNAPSHOT_TYPE = 6;
public static final short ORDERED_NODE_SNAPSHOT_TYPE = 7;
public static final short ANY_UNORDERED_NODE_TYPE = 8;
public static final short FIRST_ORDERED_NODE_TYPE = 9;
public short getResultType();
public double getNumberValue()
throws XPathException;
public String getStringValue()
throws XPathException;
public boolean getBooleanValue()
throws XPathException;
public Node getSingleNodeValue()
throws XPathException;
public boolean getInvalidIteratorState();
public int getSnapshotLength()
throws XPathException;
public Node iterateNext()
throws XPathException, DOMException;
public Node snapshotItem(int index)
throws XPathException;
}
</pre>
</div>
<h3 id='org.w3c.dom.xpath.XPathNamespace'>org/w3c/dom/xpath/XPathNamespace.java:</h3>
<div class='java-code'>
<pre>
package org.w3c.dom.xpath;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
public interface XPathNamespace extends Node {
// XPathNodeType
public static final short XPATH_NAMESPACE_NODE = 13;
public Element getOwnerElement();
}
</pre>
</div>
</div> <!-- div2 JavaXPathInterfaces --></div> <!-- div1 java-binding --><div class='navbar' style='text-align: center'>
<map id='navbar-bottom' name='navbar-bottom' title='Navigation Bar'><hr title='Navigation area separator'><p>
[<a title='IDL Definitions' href='idl-definitions.html'><strong><u>p</u></strong>revious</a>]
&nbsp; [<a title='ECMAScript Language Binding' href='ecma-script-binding.html'><strong><u>n</u></strong>ext</a>] &nbsp; [<a title='Table of Contents' href='Overview.html#contents'><strong><u>c</u></strong>ontents</a>] &nbsp; [<a title='Index'
href='def-index.html'><strong><u>i</u></strong>ndex</a>]</p>
</map></div>
</body>
</html>

View File

@ -0,0 +1,122 @@
<!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<!--
Generated: Mon Feb 23 16:43:32 EST 2004 jfouffa.w3.org
-->
<html lang='en-US'>
<head>
<title>References</title>
<link rel='stylesheet' type='text/css' href='./spec.css'>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel='stylesheet' type='text/css' href='W3C-WG-NOTE.css'>
<link rel='next' href='def-index.html'>
<link rel='contents' href='Overview.html#contents'>
<link rel='copyright' href='copyright-notice.html'>
<link rel='glossary' href='glossary.html'>
<link rel='Start' href='Overview.html'>
<link rel='index' href='def-index.html'>
<link rel='author' href='mailto:www-dom@w3.org'>
<link rel='help' href='http://www.w3.org/DOM/'>
<link rel='prev' href='glossary.html'>
</head>
<body>
<div class='navbar' style='text-align: center'>
<map id='navbar-top' name='navbar-top' title='Navigation Bar'><p>
[<a title='Glossary' accesskey='p' href='glossary.html'><strong><u>p</u></strong>revious</a>]
&nbsp; [<a title='Index' accesskey='n' href='def-index.html'><strong><u>n</u></strong>ext</a>] &nbsp; [<a title='Table of Contents' accesskey='c' href='Overview.html#contents'><strong><u>c</u></strong>ontents</a>] &nbsp; [<a title='Index'
accesskey='i' href='def-index.html'><strong><u>i</u></strong>ndex</a>]</p>
<hr title='Navigation area separator'>
</map></div>
<div class='noprint' style='text-align: right'>
<p style='font-family: monospace;font-size:small'>26 February 2004</p>
</div>
<div class='div1'><a name='References'></a>
<h1 id='role-references' class='references'>
References</h1>
<p class='first'>
For the latest version of any W3C specification please consult the list of
<a class='normative' href='http://www.w3.org/TR'>W3C Technical Reports</a> available at
http://www.w3.org/TR.
</p>
<div class='div2'><a name='References-Normative'></a>
<h2 id='References-Normative-h2' class='adiv2'>F.1 Normative references</h2>
<dl><dt><b>[<a name='DOM2Core'>DOM Level 2 Core</a>]</b></dt><dd>
<cite><a href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113'>Document Object Model Level 2 Core
Specification</a></cite>, A. Le Hors, et al., Editors. World
Wide Web Consortium, 13 November 2000. This version of the DOM
Level 2 Core Recommendation is http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113. The <a class='normative' href='http://www.w3.org/TR/DOM-Level-2-Core'>latest version of
DOM Level 2 Core</a> is available at
http://www.w3.org/TR/DOM-Level-2-Core.
</dd>
<dt><b>[<a name='ECMAScript'>ECMAScript</a>]</b></dt><dd>
<cite>
ECMAScript Language Specification</cite>, Third
Edition. European Computer Manufacturers Association, Standard
ECMA-262, December 1999. This version of the ECMAScript
Language is available from http://www.ecma-international.org/.
</dd>
<dt><b>[<a name='Java'>Java</a>]</b></dt><dd>
<cite><a href='http://java.sun.com/docs/books/jls'>The Java Language Specification</a></cite>, J.
Gosling, B. Joy, and G. Steele, Authors. Addison-Wesley,
September 1996. Available at http://java.sun.com/docs/books/jls
</dd>
<dt><b>[<a name='OMGIDL'>OMG IDL</a>]</b></dt><dd>
<cite>"OMG IDL Syntax and Semantics"</cite> defined in
<cite><a href='http://www.omg.org/technology/documents/formal/corba_2.htm'>The Common Object Request Broker: Architecture and
Specification, version 2</a></cite>, Object Management
Group. The latest version of CORBA version 2.0 is available at
http://www.omg.org/technology/documents/formal/corba_2.htm.
</dd>
<dt><b>[<a name='InfoSet'>XML Information Set</a>]</b></dt><dd>
<cite><a href='http://www.w3.org/TR/2004/REC-xml-infoset-20040204/'>XML Information Set (Second Edition)</a></cite>,
J. Cowan and R. Tobin, Editors. World Wide Web Consortium, 4
February 2004, revised 24 October 2001. This version of the XML
Information Set Recommendation is http://www.w3.org/TR/2004/REC-xml-infoset-20040204. The <a class='normative' href='http://www.w3.org/TR/xml-infoset/'>latest version of XML
Information Set</a> is available at
http://www.w3.org/TR/xml-infoset.
</dd>
<dt><b>[<a name='XPath10'>XPath 1.0</a>]</b></dt><dd>
<cite><a href='http://www.w3.org/TR/1999/REC-xpath-19991116'>XML Path Language (XPath) Version 1.0</a></cite>,
J. Clark and S. DeRose, Editors. World Wide Web
Consortium, 16 November 1999. This version of the XPath 1.0
Recommendation is http://www.w3.org/TR/1999/REC-xpath-19991116. The <a class='normative' href='http://www.w3.org/TR/xpath'>latest version of XPath
1.0</a> is available at http://www.w3.org/TR/xpath.
</dd>
</dl></div> <!-- div2 References-Normative -->
<div class='div2'><a name='References-Informative'></a>
<h2 id='References-Informative-h2' class='adiv2'>F.2 Informative references</h2>
<dl><dt><b>[<a name='DOMCore'>DOM Level 3 Core</a>]</b></dt><dd>
<cite><a href='http://www.w3.org/TR/2004/PR-DOM-Level-3-Core-20040205'>Document Object Model Level 3 Core
Specification</a></cite>, A. Le Hors, et al., Editors. World
Wide Web Consortium, February 2004. This version of the Document
Object Model Level 3 Core specification is
http://www.w3.org/TR/2004/PR-DOM-Level-3-Core-20040205. The <a class='normative' href='http://www.w3.org/TR/DOM-Level-3-Core'>latest version of
DOM Level 3 Core</a> is available at
http://www.w3.org/TR/DOM-Level-3-Core.
</dd>
<dt><b>[<a name='XML'>XML 1.0</a>]</b></dt><dd>
<cite><a href='http://www.w3.org/TR/2004/REC-xml-20040204'>Extensible Markup Language (XML) 1.0 (Third
Edition)</a></cite>, T. Bray, J. Paoli, C. M. Sperberg-McQueen,
E. Maler, and F. Yergeau, Editors. World Wide Web Consortium, 4
February 2004, revised 10 February 1998 and 6 October 2000. This
version of the XML 1.0 Recommendation is http://www.w3.org/TR/2004/REC-xml-20040204. The <a class='normative' href='http://www.w3.org/TR/REC-xml'>latest version of XML
1.0</a> is available at http://www.w3.org/TR/REC-xml.
</dd>
<dt><b>[<a name='Namespaces'>XML Namespaces</a>]</b></dt><dd>
<cite><a href='http://www.w3.org/TR/1999/REC-xml-names-19990114/'>Namespaces in XML</a></cite>, T. Bray, D. Hollander,
and A. Layman, Editors. World Wide Web Consortium, 14 January
1999. This version of the Namespaces in XML Recommendation is
http://www.w3.org/TR/1999/REC-xml-names-19990114. The <a class='normative' href='http://www.w3.org/TR/REC-xml-names/'>latest version of
Namespaces in XML</a> is available at
http://www.w3.org/TR/REC-xml-names.
</dd>
</dl></div> <!-- div2 References-Informative --></div> <!-- div1 References --><div class='navbar' style='text-align: center'>
<map id='navbar-bottom' name='navbar-bottom' title='Navigation Bar'><hr title='Navigation area separator'><p>
[<a title='Glossary' href='glossary.html'><strong><u>p</u></strong>revious</a>]
&nbsp; [<a title='Index' href='def-index.html'><strong><u>n</u></strong>ext</a>] &nbsp; [<a title='Table of Contents' href='Overview.html#contents'><strong><u>c</u></strong>ontents</a>] &nbsp; [<a title='Index'
href='def-index.html'><strong><u>i</u></strong>ndex</a>]</p>
</map></div>
</body>
</html>

92
java/external/xdocs/dom/xpath/spec.css vendored Normal file
View File

@ -0,0 +1,92 @@
h4 {
text-align: left;
font-family: sans-serif;
font-weight: normal;
color: #005A9C;
}
.idl-code {
font-family: monospace;
border: 1px solid black;
white-space: pre;
color: black;
background-color: #dfdfdf;
}
.idl-code a {
font-family: monospace;
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;
padding: 0.5em;
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 }
/* default alignment for tables */
table {
margin-bottom: 1em;
}
td {
vertical-align: middle;
}
p.first:first-letter {
font-size: 200%;
}

1068
java/external/xdocs/dom/xpath/xpath.html vendored Normal file

File diff suppressed because it is too large Load Diff