Concepts

The XPointer standard provides a way to create hypertext links that does not depend on the target object being an XML element, or on a target element having a unique identifier. Although primarily aimed at support for hypertext linking for user navigation through documents, it may also be used in other application areas.

Absent identifiers

There may be times when it is necessary to provide a link to an object that has no unique identifier. Those responsible for preparing the text may not be able to identify the elements that will later be the target of hypertext links, and the cost of adding unique values to all elements (just in case) may not be justifiable.

Ranges and text

Consider a very large paragraph that contains a single short ...

Get XML Companion, The, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.