| 20 | |
| 21 | |
| 22 | === User annotations === |
| 23 | User annotations of an XML document could be stored externally and could be dynamically loaded into the presentation of the XML document at a certain position by the help of XPointer by a special XSL script. |
| 24 | |
| 25 | Example: XML definition of an annotation of user "joe" at June, 16th 2011: |
| 26 | {{{ |
| 27 | <object type="element" |
| 28 | modificationDate="2011-06-16T11:11:11.000Z" |
| 29 | uid="joe" |
| 30 | documentId="/tei/en/your_ramones_text.xml" |
| 31 | xpointer="#xpointer(id('page1')/TEI[1]/text[1]/body[1]/chap[1]/p[1]/s[1])"> |
| 32 | <content> |
| 33 | <note>see <ref target="http://mpdl-proto.mpiwg-berlin.mpg.de/tei/en/ramones_2004.xml#p6s2">Ramones 2004, Page 6, Sentence 2</ref></note> |
| 34 | </content> |
| 35 | </object> |
| 36 | }}} |