This document is also available in these non-normative formats: XML, (its DTD), and (an XSL stylesheet for it).
Copyright © 2002 W3C® (MIT, INRIA, Keio), All Rights Reserved. W3C liability, trademark, document use, and software licensing rules apply.
The XPointer xpointer()
scheme is intended to be used with the XPointer Framework
[XPtrFrame] to provide a high level of
functionality for addressing portions of XML documents.
It is based on XPath [XPath], and adds the
ability to address strings, points, and ranges in accordance
with definitions provided in DOM 2: Range.[DOM2]
This is a W3C Working Draft for review by W3C members and other interested parties. It is a draft document and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use W3C Working Drafts as reference material or to cite them as other than "work in progress". Comments on this document should be sent to the public mailing list www-xml-linking-comments@w3.org (archive).
This document has been produced by the W3C XML Linking Working Group as part of the XML Activity. The goals of this work are set out in the XPointer Requirements document.
There are patent disclosures and license commitments associated with this working draft, which may be found on the XPointer IPR Statement page in conformance with W3C policy.
This specification is one of four into which the prior XPointer specification has been divided. This version addresses comments received on the
XPointer
Candidate Recommendation which were relevant to the xpointer()
scheme it defines. Except for responding to the relevant Last Call comments, and incorporating non-substantive editorial improvements, this documents is substantially identical to that part of the Last Call XPointer specification which is not covered by
[XPtrFrame],
[XPtr-xmlns], and
[XPtr-element],
A list of current W3C Recommendations and other technical documents can be found at http://www.w3.org/TR/
1 Introduction
1.1 Origin and Goals
1.2 Notation and Document Conventions
2 Terms and Concepts
3 Conformance
4 Language and Processing
4.1 Syntax
4.2 Additions to XPath Terms and Concepts
4.3 Evaluation Context Initialization
4.4 The point and range Location Types
4.4.1 Definition of Point Location
4.4.2 Definition of Range Location
4.4.3 Covering Ranges for All Location Types
4.4.4 Tests for point and range Locations
4.4.5 Document order
4.5 Functions Added by the xpointer() Scheme
4.5.1 range-to Function
4.5.2 string-range Function
4.5.3 Additional Range-Related Functions
4.5.3.1 covering-range Function
4.5.3.2 range-inside Function
4.5.3.3 start-point Function
4.5.3.4 end-point Function
4.5.4 here Function
4.5.5 origin Function
4.6 Root Node Children
A References
A.1 Normative References
A.2 Non-Normative References
B On points and ranges (Non-Normative)
B.1 Notation
B.2 Ranges equivalent to points, characters, and nodes
C Working Group Members (Non-Normative)