«
DRX
Web Developer Resource Index: XPointer
A Fragment Identifier is used at the end of a URI to address a particular element that has
a unique id (or name) attribute in a document. Note that in XHTML 1.0 named
anchors are deprecated, and in XHTML 1.1 they are removed. This syntax allows the hyperlink
author to address not only a document, but a particular location in the document. For
instance, each resource in this application has a unique id, which allows me to address
an individual record using this syntax by adding the pound, or # hash character
followed by the fragment identifier onto the end of the URI. For example, by selecting
this XPointer Framwork hyperlink, your browser will move you down to the first record on this page.
XPointer is more powerful method of doing the same thing. Instead of being limited to addressing
single elements that have unique identifiers, you can address sub-elements and match instances of
these elements using an XPath expression. XPointer is designed primarily for use with
XML documents. Consider the following list structure. Rather than having unique identifiers
for each item in the list, you would instead have a single id for the entire list:
You could then select the third item in the list using XPointer syntax:
Updated: Wednesday, August 10th, 2005 @ 12:35 AM EDT [14]
Navigation
Resources
-
1.
XPointer Framework
This specification defines the XML Pointer Language (XPointer) Framework, an extensible system for XML addressing that underlies additional XPointer scheme specifications. The framework is intended to be used as a basis for fragment identifiers. [204]
★★★★☆
URI:http://w3.org/TR/xptr-framework/
Author:Paul Grosso [2]
Reviewed:Monday, April 11th, 2005 @ 8:53 PM EDT
by:Douglas Clifton
XPointer Framework
referencespecw3cxmlxpointer
-
2.
XML Bible: XPointerAn incredibly detailed and well written tutorial on XPointer from the author of the XML Bible. If you don't understand all the intricacies of XML pointer syntax (typically with XPath and XSLT), then give this document a solid read. [1477]
★★★★☆
URI:http://ibiblio.org/xml/books/bible3/chapters/ch18.html
Author:Elliotte Rusty Harold [3]
Reviewed:Wednesday, August 10th, 2005 @ 12:35 AM EDT
by:Douglas Clifton
XML Bible: XPointer
tutorialxpointer
-
3.
XPointer TutorialXPointer is intended to point to XML-based media types. [207]
★★★★☆
URI:http://zvon.org/xxl/XPointerTutorial/Output/
Author:Jiří Jirát [2]
Reviewed:Monday, April 11th, 2005 @ 9:11 PM EDT
by:Douglas Clifton
XPointer Tutorial
xmlxpointer
-
4.
XPointer xmlns() SchemeThe XPointer xmlns() scheme is intended to be used with the XPointer Framework to allow correct interpretation of namespace prefixes in pointers, for instance, namespace-qualified scheme names and element or attribute names appearing within scheme data. [206]
★★★★☆
URI:http://w3.org/TR/xptr-xmlns/
Author:Steven J. DeRose [1]
Reviewed:Monday, April 11th, 2005 @ 9:07 PM EDT
by:Douglas Clifton
XPointer xmlns() Scheme
w3cxpointer
-
5.
XPointer element() SchemeThe XPointer element() scheme is intended to be used with the XPointer Framework [XPtrFrame] to allow basic addressing of XML elements. [205]
★★★★☆
URI:http://w3.org/TR/xptr-element/
Author:Paul Grosso [2]
Reviewed:Monday, April 11th, 2005 @ 8:55 PM EDT
by:Douglas Clifton
XPointer element() Scheme
w3cxpointer
Related Categories
Matching Tags
reference spec tutorial w3c xml xpointer
Indexes
Search for XPointer on:

Last updated: Wednesday, August 10th, 2005 @ 12:35 AM EDT [2005-08-10T04:35:43Z]














































































