Changes between Version 4 and Version 5 of schema/tei-pointers
- Timestamp:
- Feb 18, 2011, 5:22:59 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
schema/tei-pointers
v4 v5 8 8 9 9 === XPointer === 10 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: 10 See [http://www.w3.org/TR/xptr-framework/ XML Pointer Language (XPointer)]. XPointer could be used in URI's such as provided by XLink. 11 12 Examples: 11 13 12 14 * <p>This is discussed in <div xlink:href="example.xml#xpointer((//p)[1])">the first paragraph of the example document</div>.</p> 13 15 * <p>This is discussed in <div xlink:href="example.xml#xpointer(id('4711')/div[1])">the first division of the example document</div>.</p> 16 * <p>This is discussed in <div xlink:href="example.xml#element(/1/2)">the second element of the first element</div>.</p> 17 * <p>Einstein said in his diary that he doesn't like a further delay of his shipping tour to south america (see <note xlink:href="http://mpdl.mpiwg-berlin.mpg.de/physics/einstein/diary.xml#xpointer((id('page53')/echo[1]/text[1]/body[1]/chap[1]/p[1]/s[2])">page 53, sentence 2</note>).</p> 14 18 15 19 ==== XPoints ==== … … 26 30 * 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 31 * string-range(//title,"Thomas Pynchon")[17] (the 17th of those "Thomas Pynchon" strings appearing in a title element) 28 * ...32 * <p>See the <note xlink:href="http://mpdl.mpiwg-berlin.mpg.de/physics/einstein/diary.xml#xpointer((id('page53')/echo[1]/text[1]/body[1]/chap[1]/p[1]/s[2]/range(1.3, 1.10))">text passage on page 53, sentence 2, character 3 to 10</note>).</p> 29 33 30 34