| 389 | === Request body for POST api/annotations: another example === |
| 390 | |
| 391 | The serialization of the POST body for another example (UGOT) |
| 392 | |
| 393 | {{{!#xml |
| 394 | <?xml version="1.0" encoding="UTF-8"?> |
| 395 | <annotation xmlns="http://www.dasish.eu/ns/addit" |
| 396 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 397 | xmlns:xhtml="http://www.w3.org/1999/xhtml" |
| 398 | xsi:schemaLocation="http://www.dasish.eu/ns/addit http://dasish.eu/DASISH-schema.xsd" |
| 399 | URI="tempAIDgfgf" |
| 400 | timeStamp="2013-04-26T11:23:26.000Z"> |
| 401 | <owner ref="http://dasish.eu/users/user123"/> |
| 402 | <headline>Douglas Adams - Wikipedia, the free encyclopedia</headline> |
| 403 | <body ref="tmpSIDxyxy" type="Note"> |
| 404 | <span style="background-color:rgb(253,49,31);color:rgb(0,0,0);">Adams was born 1952-03-11</span> |
| 405 | </body> |
| 406 | <targetSources> |
| 407 | <target> |
| 408 | <newSource xml:id="tmpSIDxyxy"> |
| 409 | <link>http://en.wikipedia.org/wiki/Douglas_adams#xpointer(start-point(string-range(//div[@id="mw-content-text"]/table[1]/tbody[1]/tr[3]/td[1]/text()[1],'',12))/range-to(string-range(//div[@id="mw-content-text"]/table[1]/tbody[1]/tr[3]/td[1]/text()[1],'',25)))</link> |
| 410 | <version>2013-04-26T11:23:26.000Z</version> |
| 411 | </newSource> |
| 412 | </target> |
| 413 | </targetSources> |
| 414 | <readers> |
| 415 | <reader ref="http://dasish.eu/users/user123"/> |
| 416 | </readers> |
| 417 | <writers> |
| 418 | <writer ref="http://dasish.eu/users/user123"/> |
| 419 | </writers> |
| 420 | </annotation> |
| 421 | }}} |
| 422 | |