xpath
26.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><!-- Generated from data/head.php, ../../smarty/{head.tpl} --><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>XPath Current Status - W3C</title><link rel="stylesheet" href="/2008/site/css/minimum" type="text/css" media="handheld, all" /><style type="text/css" media="print, screen and (min-width: 481px)" xml:space="preserve">
@import url("/2008/site/css/advanced");
</style><link href="/2008/site/css/minimum" rel="stylesheet" type="text/css" media="handheld, only screen and (max-device-width: 480px)" /><meta name="viewport" content="width=device-width" /><link rel="stylesheet" href="/2008/site/css/print" type="text/css" media="print" /><link rel="shortcut icon" href="/2008/site/images/favicon.ico" type="image/x-icon" /></head><body id="www-w3-org" class="w3c_public"><div id="w3c_container">
<!-- Generated from data/mast.php, ../../smarty/{mast.tpl} -->
<div id="w3c_mast">
<!-- #w3c_mast / Page top header -->
<h1 class="logo">
<a tabindex="2" accesskey="1" href="/"><img src="/2008/site/images/logo-w3c-mobile-lg" width="90" height="53" alt="W3C" /></a>
<span class="alt-logo">W3C</span>
</h1>
<div id="w3c_nav">
<!-- Search form and media selection -->
<form action="/Help/search" method="get" enctype="application/x-www-form-urlencoded"><div class="w3c_sec_nav"><!-- --></div><ul class="main_nav"><li class="first-item">
<a href="/standards/">Standards</a>
</li><li>
<a href="/participate/">Participate</a>
</li><li>
<a href="/Consortium/membership">Membership</a>
</li><li class="last-item">
<a href="/Consortium/">About W3C</a>
</li><li class="search-item">
<div id="search-form">
<input tabindex="3" class="text" name="q" value="" title="Search" type="text" />
<button id="search-submit" name="search-submit" type="submit"><img class="submit" src="/2008/site/images/search-button" alt="Search" width="21" height="17" /></button>
</div>
</li></ul></form>
</div>
<!-- /end #w3c_nav -->
</div>
<!-- /end #w3c_mast -->
<div id="w3c_main">
<!-- Generated from data/crumbs.php, ../../smarty/{crumbs.tpl} -->
<div id="w3c_logo_shadow" class="w3c_leftCol">
<img height="32" alt="" src="/2008/site/images/logo-shadow" />
</div>
<div class="w3c_leftCol"><h2 class="offscreen">Site Navigation</h2>
<br /></div>
<div class="w3c_mainCol">
<div id="w3c_crumbs">
<div id="w3c_crumbs_frame">
<ul class="bct"> <!-- .bct / Breadcrumbs -->
<li class="skip"><a tabindex="1" accesskey="2" title="Skip to content (e.g., when browsing via audio)" href="#w3c_content_body">Skip</a></li>
<li><a href="/">W3C</a> <span class="cr">»</span> </li>
<li><a href="/standards/">Standards</a> <span class="cr">»</span> </li>
<li><a href="/TR/">All Standards and Drafts</a> <span class="cr">»</span> </li>
<li class="current">XPath Current Status</li>
</ul>
</div>
</div>
<h1 class="title">XPath Current Status</h1>
<ul class="w3c_toc">
<li>
<a href="#completed">completed work</a>
— including <a href="#stds">standards</a>
<span class="bullet">• </span>
</li>
<li>
<a href="#drafts">drafts</a>
<span class="bullet">• </span>
</li>
<li>
<a href="#obsolete">obsolete specifications</a>
</li>
</ul>
<div id="w3c_content_body">
<div id="w3c_generated_status">
<p id="w3c_toggle_include" class="default_open intro tPadding">This page summarizes the relationships among specifications, whether they are finished standards or drafts. Below, each title
links to the most recent version of a document.
For related introductory information, see: <a href="http://www.w3.org/standards/xml/query">Query</a>, <a href="http://www.w3.org/standards/xml/transformation">Transformation</a>.</p>
<h2 id="completed">Completed Work</h2>
<p>
<a href="/TR/tr-technology-stds">W3C Recommendations</a> have
been reviewed by W3C Members, by software developers, and by other
W3C groups and interested parties, and are endorsed by the
Director as Web Standards. Learn more about the <a href="/Consortium/Process/tr#rec-advance">W3C Recommendation
Track</a>.</p>
<p>
<a href="/2005/10/Process-20051014/tr.html#q75">Group Notes</a> are <em>not</em> standards and do not
have the same level of W3C endorsement.</p>
<h3 id="stds">Standards</h3>
<div class="data lMargin rMargin">
<table class="w3c_spec_summary_table">
<tbody>
<tr>
<td class="table_datecol">
<a href="../history/xpath-full-text-10" title="XQuery and XPath Full Text 1.0 publication history">2011-03-17</a>
</td>
<td>
<h4 class="w3c_status_title">
<a title="status is REC" href="http://www.w3.org/TR/2011/REC-xpath-full-text-10-20110317/">XQuery and XPath Full Text 1.0</a>
</h4>
<p class="rec_support_data">
<a href="http://www.w3.org/2003/03/Translations/byTechnology?technology=xpath-full-text-10">translations</a>
·
<a href="http://www.w3.org/XML/2012/qt-errata/xpath-full-text-10-errata.html">errata</a>
</p>
<div class="expand_description">
<p>This document defines the syntax and formal semantics of XQuery
and XPath Full Text 1.0 which is a language that extends XQuery 1.0
[XQuery 1.0: An XML Query Language] and XPath
2.0 [XML Path Language (XPath) 2.0] with
full-text search capabilities.</p>
</div>
</td>
</tr>
<tr>
<td>
<a href="../history/xpath20" title="XML Path Language (XPath) 2.0 (Second Edition) publication history">2010-12-14</a>
</td>
<td>
<h4 class="w3c_status_title">
<a title="status is REC" href="http://www.w3.org/TR/2010/REC-xpath20-20101214/">XML Path Language (XPath) 2.0 (Second Edition)</a>
</h4>
<p class="rec_support_data">
<a href="http://www.w3.org/2003/03/Translations/byTechnology?technology=xpath20">translations</a>
·
<a href="http://www.w3.org/XML/2010/qt-errata/xpath20-errata2e.html">errata</a>
</p>
<div class="expand_description">
<p>XPath is a way to refer to parts of an XML document.
XPath 2.0 is based on the XQuery 1.0 and XPath 2.0 Data Model (XDM),
and also introduces Schema awareness and data typing.</p>
</div>
</td>
</tr>
<tr>
<td>
<a href="../history/xpath-datamodel" title="XQuery 1.0 and XPath 2.0 Data Model (XDM) (Second Edition) publication history">2010-12-14</a>
</td>
<td>
<h4 class="w3c_status_title">
<a title="status is REC" href="http://www.w3.org/TR/2010/REC-xpath-datamodel-20101214/">XQuery 1.0 and XPath 2.0 Data Model (XDM) (Second Edition)</a>
</h4>
<p class="rec_support_data">
<a href="http://www.w3.org/2003/03/Translations/byTechnology?technology=xpath-datamodel">translations</a>
·
<a href="http://www.w3.org/XML/2010/qt-errata/xpath-datamodel-errata2e.html">errata</a>
</p>
<div class="expand_description">
<p>This document defines the W3C XQuery 1.0 and XPath 2.0 Data
Model (XDM), which is the data model of [XPath
2.0], [XSLT 2.0], and [XQuery], and any other specifications that reference
it. This data model is based on the [XPath
1.0] data model and earlier work on an [XML
Query Data Model]. This document is the result of joint work by
the [XSL Working Group] and the [XML Query Working Group].</p>
</div>
</td>
</tr>
<tr>
<td>
<a href="../history/xquery-semantics" title="XQuery 1.0 and XPath 2.0 Formal Semantics (Second Edition) publication history">2010-12-14</a>
</td>
<td>
<h4 class="w3c_status_title">
<a title="status is REC" href="http://www.w3.org/TR/2010/REC-xquery-semantics-20101214/">XQuery 1.0 and XPath 2.0 Formal Semantics (Second Edition)</a>
</h4>
<p class="rec_support_data">
<a href="http://www.w3.org/2003/03/Translations/byTechnology?technology=xquery-semantics">translations</a>
·
<a href="http://www.w3.org/XML/2010/qt-errata/xquery-semantics-errata2e.html">errata</a>
</p>
<div class="expand_description">
<p>This document defines formally the semantics of <span>XQuery 1.0 [XQuery 1.0: An XML Query
Language]</span>
<span>and</span>
<span>XPath 2.0 [XML Path Language (XPath)
2.0]</span>.</p>
</div>
</td>
</tr>
<tr>
<td>
<a href="../history/xpath-functions" title="XQuery 1.0 and XPath 2.0 Functions and Operators (Second Edition) publication history">2010-12-14</a>
</td>
<td>
<h4 class="w3c_status_title">
<a title="status is REC" href="http://www.w3.org/TR/2010/REC-xpath-functions-20101214/">XQuery 1.0 and XPath 2.0 Functions and Operators (Second Edition)</a>
</h4>
<p class="rec_support_data">
<a href="http://www.w3.org/2003/03/Translations/byTechnology?technology=xpath-functions">translations</a>
·
<a href="http://www.w3.org/XML/2010/qt-errata/xpath-functions-errata2e.html">errata</a>
</p>
<div class="expand_description">
<p>This document defines constructor functions, operators and
functions on the datatypes defined in [XML
Schema Part 2: Datatypes Second Edition] and the datatypes
defined in [XQuery 1.0 and XPath 2.0
Data Model]. It also discusses functions and operators on nodes
and node sequences as defined in the [XQuery 1.0 and XPath 2.0 Data Model]. These
functions and operators are defined for use in [XML Path Language (XPath) 2.0], [XQuery 1.0: An XML Query Language] and [XSL Transformations (XSLT) Version 2.0] and other
related XML standards. The signatures and summaries of functions
defined in this document are available at: http://www.w3.org/2005/xpath-functions.</p>
</div>
</td>
</tr>
<tr class="lastRow">
<td>
<a href="../history/xpath" title="XML Path Language (XPath) Version 1.0 publication history">1999-11-16</a>
</td>
<td>
<h4 class="w3c_status_title">
<a title="status is REC" href="http://www.w3.org/TR/1999/REC-xpath-19991116">XML Path Language (XPath) Version 1.0</a>
</h4>
<p class="rec_support_data">
<a href="http://www.w3.org/1999/11/REC-xpath-19991116-errata">errata</a>
</p>
<div class="expand_description">
<p>This is the original version of XPath from 1999; some
implementations are still stuck on this, and some
specifications still refer to it. For new work
you should consider XPath 2 instead.</p>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<h3 id="notes">Group Notes</h3>
<div class="data lMargin rMargin">
<table class="w3c_spec_summary_table">
<tbody>
<tr>
<td class="table_datecol">
<a href="../history/xpath-full-text-10-requirements" title="XQuery and XPath Full Text 1.0 Requirements publication history">2011-01-25</a>
</td>
<td>
<h4 class="w3c_status_title">
<a title="status is NOTE" href="http://www.w3.org/TR/2011/NOTE-xpath-full-text-10-requirements-20110125/">XQuery and XPath Full Text 1.0 Requirements</a>
</h4>
<div class="expand_description">
<p>The document specifies requirements for Full-Text Search for use
in XQuery [XQuery] and XPath [XPath].</p>
</div>
</td>
</tr>
<tr>
<td>
<a href="../history/xpath-full-text-10-use-cases" title="XQuery and XPath Full Text 1.0 Use Cases publication history">2011-01-25</a>
</td>
<td>
<h4 class="w3c_status_title">
<a title="status is NOTE" href="http://www.w3.org/TR/2011/NOTE-xpath-full-text-10-use-cases-20110125/">XQuery and XPath Full Text 1.0 Use Cases</a>
</h4>
<div class="expand_description">
<p>This document specifies usage scenarios for full-text queries as
part of XML Query [XQuery 1.0: An XML Query
Language] and XPath [XML Path Language
(XPath) 2.0].</p>
</div>
</td>
</tr>
<tr class="lastRow">
<td>
<a href="../history/DOM-Level-3-XPath" title="Document Object Model (DOM) Level 3 XPath Specification publication history">2004-02-26</a>
</td>
<td>
<h4 class="w3c_status_title">
<a title="status is NOTE" href="http://www.w3.org/TR/2004/NOTE-DOM-Level-3-XPath-20040226">Document Object Model (DOM) Level 3 XPath Specification</a>
</h4>
<div class="expand_description">
<p>How to use XPath with the DOM.</p>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<h2 id="drafts">Drafts</h2>
<p>Below are draft documents:
<a href="/2005/10/Process-20051014/tr.html#last-call">Last Call Drafts</a>, <a href="/2005/10/Process-20051014/tr.html#RecsWD">other Working Drafts</a>.
Some of these may become Web Standards through the <a href="/Consortium/Process/tr#rec-advance">W3C Recommendation Track
process</a>. Others may be published as Group Notes or
become obsolete specifications.</p>
<h3 id="lcwd">Last Call Drafts</h3>
<div class="data lMargin rMargin">
<table class="w3c_spec_summary_table">
<tbody>
<tr>
<td class="table_datecol">
<a href="../history/xpath-30" title="XML Path Language (XPath) 3.0 publication history">2011-12-13</a>
</td>
<td>
<h4 class="w3c_status_title">
<a title="status is LCWD" href="http://www.w3.org/TR/2011/WD-xpath-30-20111213/">XML Path Language (XPath) 3.0</a>
</h4>
<div class="expand_description">
<p>XPath 3.0 (renamed from XPath 2.1 to align with the family of "3.0"
specifications) is an expression language that allows the processing
of values conforming to the data model defined in [XQuery and XPath
Data Model (XDM) 3.0]. Some of the important new features since XPath 2.0 are:
<ul>
<li>Literal function items, inline functions, dynamic function
invocations, and function item coercion</li>
<li>Clarification of rules associated with sequence type matching</li>
<li>let expressions</li>
<li>EQNames (QNames with a namespace URI instead of a namespace prefix)</li>
<li>Support for union types in casting and function arguments</li>
</ul>
</p>
</div>
</td>
</tr>
<tr>
<td>
<a href="../history/xpath-functions-30" title="XPath and XQuery Functions and Operators 3.0 publication history">2011-12-13</a>
</td>
<td>
<h4 class="w3c_status_title">
<a title="status is LCWD" href="http://www.w3.org/TR/2011/WD-xpath-functions-30-20111213/">XPath and XQuery Functions and Operators 3.0</a>
</h4>
<div class="expand_description">
<p>XPath and XQuery Functions and Operators 3.0 (renamed from XPath and
XQuery Functions and Operators 1.1 to align with the family of "3.0"
specifications) defines a library of functions available for use in
XPath 3.0, XQuery 3.0, and XSLT 3.0. Some of the new features since
XPath 2.0 and XQuery 1.0 Functions and Operators include:
<ul>
<li>More than 30 new functions have been added, including functions
transferred from the XSLT 2.0 specification into Functions and
Operators 3.0 and additional versions of existing functions with
different signatures</li>
<li>The syntax for regular expressions was enhanced to allow for
non-capturing groups; additionally, a new flag value was added for
regular-expression-related functions that accept a flag argument</li>
<li>Support for function items has been added in the form of a number
of new functions</li>
<li>The description of fn:error was rewritten to accommodate the
addition of try/catch capabilities in XQuery 3.0</li>
</ul>
</p>
</div>
</td>
</tr>
<tr class="lastRow">
<td>
<a href="../history/xpath-datamodel-30" title="XQuery and XPath Data Model 3.0 publication history">2011-12-13</a>
</td>
<td>
<h4 class="w3c_status_title">
<a title="status is LCWD" href="http://www.w3.org/TR/2011/WD-xpath-datamodel-30-20111213/">XQuery and XPath Data Model 3.0</a>
</h4>
<div class="expand_description">
<p>XPath and XQuery Data Model (XDM) 3.0 (renamed from XPath and XQuery
Functions and Operators (XDM) 1.1 to align with the family of "3.0"
specifications) defines the data model on which all operations of
XPath 3.0, XQuery 3.0, and XSLT 3.0 operate. In this version of XDM,
two new data types have been added:
<ul>
<li>From XML Schema 1.1 Part 2 (Datatypes), the xs:dateTimeStamp data type</li>
<li>To support XPath 3.0's and XQuery 3.0's function item capabilities,
a function item data type</li>
</ul>
</p>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<h3 id="wd">Other Working Drafts</h3>
<div class="data lMargin rMargin">
<table class="w3c_spec_summary_table">
<tbody>
<tr class="lastRow">
<td class="table_datecol">
<a href="../history/xpath-full-text-30" title="XQuery and XPath Full Text 3.0 publication history">2011-12-13</a>
</td>
<td>
<h4 class="w3c_status_title">
<a title="status is WD" href="http://www.w3.org/TR/2011/WD-xpath-full-text-30-20111213/">XQuery and XPath Full Text 3.0</a>
</h4>
<div class="expand_description">
<p>This document defines the syntax and formal semantics of XQuery
and XPath Full Text 3.0, which is a language that extends XQuery 3.0
[XQuery 3.0: An XML Query Language] and XPath 3.0 [XML Path Language
(XPath) 3.0] with full-text search capabilities.</p>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<h2 id="obsolete">Obsolete Specifications</h2>
<p>These specifications have either been superseded by others,
or have been abandoned. They remain available for archival
purposes, but are not intended to be used.</p>
<h3 id="retired">
Retired
</h3>
<div class="data lMargin rMargin">
<table class="w3c_spec_summary_table">
<tbody>
<tr>
<td class="table_datecol">
<a href="../history/xpath20req" title="XPath Requirements Version 2.0 publication history">2005-06-03</a>
</td>
<td>
<h4 class="w3c_status_title">
<a title="status is RETIRED" href="http://www.w3.org/TR/2005/WD-xpath20req-20050603/">XPath Requirements Version 2.0</a>
</h4>
<div class="expand_description">
<p>Requirements for version 2.0 of XPath;
we are now working on Version 2.1.</p>
</div>
</td>
</tr>
<tr class="lastRow">
<td>
<a href="../history/xquery-xpath-parsing" title="Building a Tokenizer for XPath or XQuery publication history">2005-04-04</a>
</td>
<td>
<h4 class="w3c_status_title">
<a title="status is RETIRED" href="http://www.w3.org/TR/2005/WD-xquery-xpath-parsing-20050404/">Building a Tokenizer for XPath or XQuery</a>
</h4>
<div class="expand_description">
<p>This document describes possible strategies for tokenizing the [XML Path Language (XPath) 2.0] and [XQuery 1.0: An XML Query Language] languages, and is provided as a helpful guide to those who are designing an implementation for these languages, and as background material for the normative EBNF found in the language specifications. In the future this document may be expanded to cover more general parsing strategies.</p>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div><!-- Generated from data/footer.php, ../../smarty/{footer-block.tpl} --><div id="w3c_footer">
<div id="w3c_footer-inner">
<h2 class="offscreen">Footer Navigation</h2>
<div class="w3c_footer-nav">
<h3>Navigation</h3>
<ul class="footer_top_nav"><li>
<a href="/">Home</a>
</li><li>
<a href="/standards/">Standards</a>
</li><li>
<a href="/participate/">Participate</a>
</li><li>
<a href="/Consortium/membership">Membership</a>
</li><li class="last-item">
<a href="/Consortium/">About W3C</a>
</li></ul>
</div>
<div class="w3c_footer-nav">
<h3>Contact W3C</h3>
<ul class="footer_bottom_nav"><li>
<a href="/Consortium/contact">Contact</a>
</li><li>
<a accesskey="0" href="/Help/">Help and FAQ</a>
</li><li>
<a href="/Consortium/sponsor/">Sponsor / Donate</a>
</li><li>
<a href="/Consortium/siteindex">Site Map</a>
</li><li>
<address id="w3c_signature">
<a href="mailto:site-comments@w3.org">Feedback</a> (<a href="http://lists.w3.org/Archives/Public/site-comments/">archive</a>)</address>
</li></ul>
</div>
<div class="w3c_footer-nav">
<h3>W3C Updates</h3>
<ul class="footer_follow_nav"><li>
<a href="http://twitter.com/W3C" title="Follow W3C on Twitter">
<img src="/2008/site/images/twitter-bird" alt="Twitter" width="78" height="83" class="social-icon" />
</a>
<a href="http://identi.ca/w3c" title="See W3C on Identica">
<img src="/2008/site/images/identica-logo" alt="Identica" width="91" height="83" class="social-icon" />
</a>
</li></ul>
</div>
<p class="copyright">Copyright © 2012 W3C <sup>®</sup> (<a href="http://www.csail.mit.edu/">
<acronym title="Massachusetts Institute of Technology">MIT</acronym>
</a>, <a href="http://www.ercim.eu/">
<acronym title="European Research Consortium for Informatics and Mathematics"> ERCIM</acronym>
</a>, <a href="http://www.keio.ac.jp/">Keio</a>) <a href="/Consortium/Legal/ipr-notice">Usage policies apply</a>.</p>
</div>
</div><!-- /end #footer --><!-- Generated from data/scripts.php, ../../smarty/{scripts.tpl} --><!-- At the bottom for performance reasons --><!-- Generated from data/scripts.php, ../../smarty/{scripts.tpl} --><!-- At the bottom for performance reasons --><div id="w3c_scripts">
<script type="text/javascript" src="/2008/site/js/main" xml:space="preserve"><!-- --></script>
</div></body></html>