Changes between Version 20 and Version 21 of schema/xpointer


Ignore:
Timestamp:
Apr 19, 2011, 2:13:46 PM (13 years ago)
Author:
jwillenborg
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • schema/xpointer

    v20 v21  
    3333  * <p>... (see <ref target="http://mpdl-proto.mpiwg-berlin.mpg.de/tei/en/ramones_2004.xml#xpointer(id('page6'))">Dick Porter: Ramones – The Complete Twisted History, London: Plexus, 2004. Page 6. ISBN 0859653269</ref>)
    3434  * if the document contains no pages (no <pb/> elements) then the page number doesnt't have to be specified (all elements are on the first page internally)
    35   * Working example (in test system):
    36     * [[http://mpdl-test.mpiwg-berlin.mpg.de:30030/documents/echo/la/Benedetti_1585.xml#xpointer(id(%27page7%27))|Benedetti, page 7]]
     35  * Working example:
     36    * [[http://mpdl-text.mpiwg-berlin.mpg.de/documents/echo/la/Benedetti_1585.xml#xpointer(id(%27page7%27))|Benedetti, page 7]]
    3737* XPointer to an element on a page in an XML document. The result of the XPointer URL is the page and the requested element is highlighted. Example:
    3838  * <p>Joey Ramone said: "When we started up in March of ’74, it was because the bands we loved, the rock ’n’ roll that we knew, had disappeared. We were playing music for ourselves." (see <ref target="http://mpdl-proto.mpiwg-berlin.mpg.de/tei/en/ramones_2004.xml#xpointer(id('page6')/tei[1]/text[1]/body[1]/chap[1]/p[1]/s[2])">page 6, sentence 2</ref>).</p>
    39   * Working example (in test system):
    40     * [[http://mpdl-test.mpiwg-berlin.mpg.de:30030/documents/echo/la/Benedetti_1585.xml#xpointer(id(%27page7%27)/echo[1]/text[1]/div[1]/div[2]/p[1]/s[1])|Benedetti, page 7, sentence 1]]
     39  * Working example:
     40    * [[http://mpdl-text.mpiwg-berlin.mpg.de/documents/echo/la/Benedetti_1585.xml#xpointer(id(%27page7%27)/echo[1]/text[1]/div[1]/div[2]/p[1]/s[1])|Benedetti, page 7, sentence 1]]
    4141* XPointer to a text portion (range) of an element on a page in an XML document. The result of the XPointer URL is the page and the requested text portion of the element is highlighted.
    4242  * function "range" with two parameters:
     
    4545  * Example:
    4646    * <p>The Ramones started up in March 1974 (see <ref target="http://mpdl-proto.mpiwg-berlin.mpg.de/tei/en/ramones_2004.xml#xpointer(id('page6')/tei[1]/text[1]/body[1]/chap[1]/p[1]/s[1]/range(22, 34))">page 6, sentence 1, character 22 to 32</ref>).</p>
    47   * Working example (in test system):
    48     * [[http://mpdl-test.mpiwg-berlin.mpg.de:30030/documents/echo/la/Benedetti_1585.xml#xpointer(id(%27page7%27)/echo[1]/text[1]/div[1]/div[2]/p[1]/s[1]/range(7,42))|Benedetti, page 7, sentence 1, range 7-42]]
     47  * Working example:
     48    * [[http://mpdl-text.mpiwg-berlin.mpg.de/documents/echo/la/Benedetti_1585.xml#xpointer(id(%27page7%27)/echo[1]/text[1]/div[1]/div[2]/p[1]/s[1]/range(7,42))|Benedetti, page 7, sentence 1, range 7-42]]
    4949* XPointer to a text point (point) of an element on a page in an XML document. The result of the XPointer URL is the page and the requested text point of the element is highlighted.
    5050  * function "point" with one parameter:
     
    5555  * Example:
    5656    * <p>The Ramones started up in March 1974 (see <ref target="http://mpdl-proto.mpiwg-berlin.mpg.de/tei/en/ramones_2004.xml#xpointer(id('page6')/tei[1]/text[1]/body[1]/chap[1]/p[1]/s[1]/point(22))">page 6, sentence 1, character 22</ref>).</p>
    57   * Working example (in test system):
    58     * [[http://mpdl-test.mpiwg-berlin.mpg.de:30030/documents/echo/la/Benedetti_1585.xml#xpointer(id(%27page7%27)/echo[1]/text[1]/div[1]/div[2]/p[1]/s[1]/point(42))|Benedetti, page 7, sentence 1, point to character 42]]
     57  * Working example:
     58    * [[http://mpdl-text.mpiwg-berlin.mpg.de/documents/echo/la/Benedetti_1585.xml#xpointer(id(%27page7%27)/echo[1]/text[1]/div[1]/div[2]/p[1]/s[1]/point(42))|Benedetti, page 7, sentence 1, point to character 42]]
    5959
    6060External elements of documents (e.g. user annotations) are stored separated from the document. They are positioned into the document by an XPointer with page number, xpath expression and a point. This point could have 3 values: ".0", ".1" or a positive integer (see below).