Changes between Version 3 and Version 4 of schema/tei-pointers


Ignore:
Timestamp:
Feb 18, 2011, 3:35:08 PM (13 years ago)
Author:
jwillenborg
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • schema/tei-pointers

    v3 v4  
    1 == Simple pointers and links: within a document by Id attribute ==
     1== Pointers and links
     2
     3=== XLink ===
     4See [http://www.w3.org/TR/xlink/ XML Linking Language (XLink) Version 1.0].
     5
     6Each element could use the XLink attributes for example:
     7* <p>The best german punk band is <div xlink:href="http://slime.de/">Slime</div>.</p>
     8
     9=== XPointer ===
     10See [http://www.w3.org/TR/xptr-framework/ XML Pointer Language (XPointer)]. XPointer could be used in URI's such as provided by XLink. Examples:
     11
     12* <p>This is discussed in <div xlink:href="example.xml#xpointer((//p)[1])">the first paragraph of the example document</div>.</p> 
     13* <p>This is discussed in <div xlink:href="example.xml#xpointer(id('4711')/div[1])">the first division of the example document</div>.</p>
     14
     15==== XPoints ====
     16
     17  [[Image(xpoint.png)]]
     18 
     19* Examples
     20  * point(1.0) is just inside the beginning of the p element.
     21  * point(1.2) is between the end of the em element and the following text node (which contains "world.").
     22  * point(.0) immediately precedes the root node.
     23  * point(1/2/1.1) immediately following the "b" in the middle text node.
     24
     25==== Range ====
     26* 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")
     27* string-range(//title,"Thomas Pynchon")[17] (the 17th of those "Thomas Pynchon" strings appearing in a title  element)
     28* ...
     29
     30
     31=== TEI: Elements for simple pointers and links ===
    232
    333* <ptr> a pointer to another location in the current document in terms of one or more identifiable elements.
     
    2555* <seg> identifies a span or segment of text within a document so that it may be pointed to.
    2656
    27 == Extended pointers: Between documents and by XPointer ==
     57=== TEI: Elements for extended pointers ===
     58(also TEI XPointer could be used)
    2859
    2960* <xptr> defines a pointer to another location in the current document or an external document.
     
    4374    --> HTML: <p>This is discussed in <a href="http://www.tei-c.org/TEI/Guidelines/SA.html#SAXR">the subsection on external linking</a>
    4475
    45 * XPointers in a URL:
    46   * example.xml#xpointer((//p)[1])
    47   * example.xml#xpointer(id('4711')/div[1])
    48 
    49 * XPoints
    50 
    51   [[Image(xpoint.png)]]
    52  
    53   * Examples
    54     * point(1.0) is just inside the beginning of the p element.
    55     * point(1.2) is between the end of the em element and the following text node (which contains "world.").
    56     * point(.0) immediately precedes the root node.
    57     * point(1/2/1.1) immediately following the "b" in the middle text node.