Version 2 (modified by 13 years ago) (diff) | ,
---|
eXist Interface: User annotations
Example document
Test document with user annotations
Read annotations
http://mpdl-test.mpiwg-berlin.mpg.de:30030/mpdl/interface/external/object.xql? operation=read& type=element& object=<object documentId="/tei/en/Test_1789.xml" xpointer="id('page2')"></object>
Create annotation
http://mpdl-test.mpiwg-berlin.mpg.de:30030/mpdl/interface/external/object.xql? operation=create& type=element& object=<object uid="andy@mpiwg-berlin.mpg.de" documentId="/tei/en/Test_1789.xml" xpointer="id('page2')/TEI[1]/text[1]/body[1]/p[1]/s[3]/point(4)"><note>This is an annotation of Andy</note></object>
Delete annotation
http://mpdl-test.mpiwg-berlin.mpg.de:30030/mpdl/interface/external/object.xql? operation=delete& type=element& object=<object uid="andy@mpiwg-berlin.mpg.de" documentId="/tei/en/Test_1789.xml" xpointer="id('page2')/TEI[1]/text[1]/body[1]/p[1]/s[3]"></object>