| 6 | |
| 7 | === Schema === |
| 8 | |
| 9 | The Archimedes schema was developed by the [http://archimedes.mpiwg-berlin.mpg.de Archimedes project] and could be found |
| 10 | [https://itgroup.mpiwg-berlin.mpg.de:8080/svn/mpdl-project-content/trunk/texts/eXist/archimedesOldCVSRepository/archimedes/xsd/archimedes.xsd here]. |
| 11 | |
| 12 | === Example === |
| 13 | |
| 14 | In the following simple example document the metadata part consists of 4 elements („author“, „title“, „lang“, „date“) and the text part consists of 2 pages („pb“) with 2 paragraphs („p“) which contains 3 sentences („s“). |
| 15 | {{{ |
| 16 | <?xml version="1.0" encoding="UTF-8"?> |
| 17 | <archimedes xmlns:xlink="http://www.w3.org/1999/xlink"> |
| 18 | <info> |
| 19 | <author>Your name, your prename</author> |
| 20 | <title>Your title</title> |
| 21 | <lang>en</lang> |
| 22 | <date>1789</date> |
| 23 | </info> |
| 24 | <text> |
| 25 | <pb xlink:href="0001.jpg"/> |
| 26 | <p> |
| 27 | <s>This is the first sentence of the first paragraph.</s> |
| 28 | <s>This is the second sentence of the first paragraph.</s> |
| 29 | <s>This is the third sentence of the first paragraph.</s> |
| 30 | </p> |
| 31 | <p> |
| 32 | <s>This is the first sentence of the second paragraph.</s> |
| 33 | <s>This is the second sentence of the second paragraph.</s> |
| 34 | <s>This is the third sentence of the second paragraph.</s> |
| 35 | </p> |
| 36 | <pb xlink:href="0002.jpg"/> |
| 37 | <p> |
| 38 | <s>This is the first sentence of the first paragraph with line <lb/>break.</s><lb/> |
| 39 | <s>This is the second sentence of the first paragraph with line <lb/>break.</s><lb/> |
| 40 | <s>This is the third sentence of the first paragraph with line <lb/>break.</s><lb/> |
| 41 | </p> |
| 42 | <p> |
| 43 | <s>This is the first sentence of the second paragraph.</s> |
| 44 | <s>This is the second sentence of the second paragraph.</s> |
| 45 | <s>This is the third sentence of the second paragraph.</s> |
| 46 | </p> |
| 47 | </text> |
| 48 | </archimedes> |
| 49 | }}} |