Changes between Version 11 and Version 12 of schema/xpointer


Ignore:
Timestamp:
Mar 8, 2011, 12:51:12 PM (13 years ago)
Author:
jwillenborg
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • schema/xpointer

    v11 v12  
    11== XPointers and XLink
    22
    3 === XLink ===
    4 See [http://www.w3.org/TR/xlink/ XML Linking Language (XLink) Version 1.0].
    5 
    6 Example:
    7 * <p>The best german punk band is <div xlink:href="http://slime.de/">Slime</div>.</p>
    8 
    9 
    103=== XPointer ===
    11 See [http://www.w3.org/TR/xptr-framework/ XML Pointer Language (XPointer)]. XPointer could be used in all URI attributes especially xlink:href.
     4See [http://www.w3.org/TR/xptr-framework/ XML Pointer Language (XPointer)]. XPointer could be used in all URI attributes.
    125
    136Examples:
     
    3326* <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>
    3427
    35 === Support of XLink ===
    36 XLink will be supported in all elements of the TEI Lite schema (in the near future).
     28==== Support of XPointer ====
    3729
    38 === Support of XPointer ===
    39 
    40 The MPDL project sets a special focus on the presentation of document pages. An important requirement for MPDL-XPointers is the support of pointers relative to document pages. Another special requirement is to point not only to elements on a page but also to text portions in elements (point or range). XPointer could be used in all URI attributes especially xlink:href. The MPDL project supports the following subset of XPointer (in the near future):
     30The MPDL project sets a special focus on the presentation of document pages. An important requirement for MPDL-XPointers is the support of pointers relative to document pages. Another special requirement is to point not only to elements on a page but also to text portions in elements (point or range). XPointer could be used in all TEI URI attributes. The MPDL project supports the following subset of XPointer (in the near future):
    4131
    4232* XPointer to a page in an XML document. The result of the XPointer URL is the whole page. Example:
    43   * <p>... (see <seg xlink:href="http://mpdl.mpiwg-berlin.mpg.de/music/ramones/ramones_2004.xml#xpointer((id('page6'))">Dick Porter: Ramones – The Complete Twisted History, London: Plexus, 2004. Page 6. ISBN 0859653269</seg>)
     33  * <p>... (see <ref target="http://mpdl.mpiwg-berlin.mpg.de/music/ramones/ramones_2004.xml#xpointer((id('page6'))">Dick Porter: Ramones – The Complete Twisted History, London: Plexus, 2004. Page 6. ISBN 0859653269</ref>)
    4434  * 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)
    4535* 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:
    46   * <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 <seg xlink:href="http://mpdl.mpiwg-berlin.mpg.de/music/ramones/ramones_2004.xml#xpointer((id('page6')/tei[1]/text[1]/body[1]/chap[1]/p[1])">page 6, sentence 2</seg>).</p>
     36  * <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.mpiwg-berlin.mpg.de/music/ramones/ramones_2004.xml#xpointer((id('page6')/tei[1]/text[1]/body[1]/chap[1]/p[1])">page 6, sentence 2</ref>).</p>
    4737* XPointer to a text portion 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. Example:
    48   * <p>The Ramones started up in March 1974 (see <seg xlink:href="http://mpdl.mpiwg-berlin.mpg.de/music/ramones/ramones_2004.xml#xpointer((id('page6')/tei[1]/text[1]/body[1]/chap[1]/p[1]/s[1]/range(1.22, 1.34))">page 6, sentence 1, character 22 to 32</seg>).</p>
     38  * <p>The Ramones started up in March 1974 (see <ref target="http://mpdl.mpiwg-berlin.mpg.de/music/ramones/ramones_2004.xml#xpointer((id('page6')/tei[1]/text[1]/body[1]/chap[1]/p[1]/s[1]/range(1.22, 1.34))">page 6, sentence 1, character 22 to 32</ref>).</p>
    4939
    5040External user annotations of documents are stored relative to document pages by mapping XPointer page points/ranges to an internal identifier as a combination of document identifier, page number, element xpath expression, and a point/range expression. Example:
     
    5343* from character 22 to 34 in the first sentence of page 6: /music/ramones/ramones_2004.xml, page6, /tei[1]/text[1]/body[1]/chap[1]/p[1]/s[1], range(1.22, 1.34)
    5444
    55 ==== Discussion ====
     45=== XLink ===
     46See [http://www.w3.org/TR/xlink/ XML Linking Language (XLink) Version 1.0].
     47Example: <p>The best german punk band is <bla xlink:href="http://slime.de/">Slime</bla>.</p>
     48
     49XLink is not supported in TEI so far. So the MPDL project will support XLink when it is part of TEI.
     50
     51=== Discussion ===
    5652
    5753* document identifier: a persistent identifier of a document
     
    133129
    134130
    135 ==== Selection / Solution ====
     131=== Selection / Solution ===
    136132* document identifier
    137133  * http://mpdl.mpiwg-berlin.mpg.de/music/ramones/ramones_2004.xml
     
    153149      * compatible with XPointer, only this alternative
    154150
    155 ==== Implementation ====
     151=== Implementation ===
    156152
    157153* new presentation mode with dynamically generated xpath identifier for all elements
     
    169165    * different presentation modes: text, textPollux, gis, xml, pureXml
    170166    * in .../interface/page-fragment.xql and .../page-query-result.xql
    171 * XLink URI's
    172   * support xlink:href attribute in Echo and TEI elements: not implemented yet
     167* TEI URI's
     168  * support URI attributes (e.g. ref(target) ptr(target)) in Echo and TEI elements: not implemented yet
    173169* user objects such as user queries
    174170  * insert/update/delete user objects: dynamic storing of user queries (with user login)