== Pointers and links
=== XLink ===
See [http://www.w3.org/TR/xlink/ XML Linking Language (XLink) Version 1.0].
Each element could use the XLink attributes for example:
*
The best german punk band is
Slime
.
=== XPointer ===
See [http://www.w3.org/TR/xptr-framework/ XML Pointer Language (XPointer)]. XPointer could be used in URI's such as provided by XLink.
Examples:
*
This is discussed in
the first paragraph of the example document
.
*
This is discussed in
the first division of the example document
.
*
This is discussed in
the second element of the first element
.
*
Einstein said in his diary that he doesn't like a further delay of his shipping tour to south america (see page 53, sentence 2).
==== XPoints ====
[[Image(xpoint.png)]]
* Examples
* point(1.0) is just inside the beginning of the p element.
* point(1.2) is between the end of the em element and the following text node (which contains "world.").
* point(.0) immediately precedes the root node.
* point(1/2/1.1) immediately following the "b" in the middle text node.
==== Range ====
* xpointer(id("chap1")/range-to(id("chap2"))) (the range from the start point of the element with ID "chap1" to the end point of the element with ID "chap2")
* string-range(//title,"Thomas Pynchon")[17] (the 17th of those "Thomas Pynchon" strings appearing in a title element)
*
See the text passage on page 53, sentence 2, character 3 to 10).
=== TEI: Elements for simple pointers and links ===
* a pointer to another location in the current document in terms of one or more identifiable elements.
* a reference to another location in the current document, in terms of one or more identifiable elements, possibly modified by additional text or comment.
* defines an association or hypertextual link among elements or passages, of some type not more precisely specifiable by other elements (also possible between different documents)
* Example:
...
* Link groups
* Example:
* specifies a location or point within a document so that it may be pointed to.
* identifies a span or segment of text within a document so that it may be pointed to.
=== TEI: Elements for extended pointers ===
(also TEI XPointer could be used)
* defines a pointer to another location in the current document or an external document.
* Examples:
*
This is discussed in .
*
*
* (the third
element directly contained by whatever element has the identifier SA)
*
This is discussed in
* defines a pointer to another location in the current document or an external document, possibly modified by additional text or comment.
* Examples:
*
This is discussed in The TEI Guidelines.
*
This is discussed in the chapter on linking
--> HTML: