60 | | == Umsetzung der XML-tags |
| 60 | === General |
| 61 | |
| 62 | Design decisions: |
| 63 | * one schema for all texts |
| 64 | * modules should be independent |
| 65 | * tags in the DESpecs should have some counterpart in the Schema, if possible |
| 66 | * however, do not mimic the DESpecs structure |
| 67 | |
| 68 | Standard suffixes as in xhtml: |
| 69 | * .attrib (defined in echo-attribute) |
| 70 | * .datatype (defined in echo-datatype) |
| 71 | * .model (defined in echo-content) |
| 72 | * .class (defined in several modules) |
| 73 | |
| 74 | IDs are expected, but XML texts should also validate without IDs |
| 75 | |
| 76 | === Informationsquellen und minimales Schema |
| 77 | |
| 78 | |
| 79 | Der Kern des Schemas: |
| 80 | "(--)" bedeutet: nicht minimal, aber man bekommt etwas dafür, was über die optische Anzeige des Textes hinausgeht |
| 81 | |
| 82 | |
| 83 | |
| 84 | || Ebene || minimal || China || Modul || Element || |
| 85 | || || || || || || |
| 86 | || Grobstruktur || + || -- || echo-start || <echo> || |
| 87 | || || + || -- || echo-metadata || <metadata> || |
| 88 | || || +/-- || -- || echo-metadata || Metadaten || |
| 89 | || || + || -- || echo-div || <text> || |
| 90 | || || || || || || |
| 91 | || Mittelstruktur || (--) || + || echo-div || <div index>, <div toc> || |
| 92 | || || (--) || -- || echo-div || <div chapter> etc. || |
| 93 | || || || || || || |
| 94 | || Feinstruktur || + || + || echo-block || <head>, <p>, <note> || |
| 95 | || || + || -- || echo-block || <s> || |
| 96 | || || -- || + || echo-block || <quote> || |
| 97 | || || -- || -- || echo-block || <set-off> || |
| 98 | || || || || || || |
| 99 | || Text || -- || + || echo-content || <emph> || |
| 100 | || || (--) || -- || echo-content || <reg>, <foreign>, <ref> || |
| 101 | || || -- || -- || echo-content || <sic>, <set-off>, <q> || |
| 102 | || || || || || || |
| 103 | || Hilfsmodule || + || n/a || echo-attribute || -- || |
| 104 | || || + || n/a || echo-datatype || -- || |
| 105 | || || || || || || |
| 106 | || F: Figures || -- || + || echo-figure || <figure>, <caption> etc. || |
| 107 | || F: Handwritten || -- || + || echo-handwritten || <handwritten> || |
| 108 | || F: Chinese text || -- || + || echo-chinese-text || <head ti>, <p @indent>, <p @ics>, <pb @ics> || |
| 109 | || F: Textflows || -- || + || echo-textflows || <head @flow>, <p @flow>, <div multiflow @flows> || |
| 110 | || F: Tables || -- || + || echo-imp.-xhtml || <xhtml:table> || |
| 111 | || F: Lists || -- || -- || echo-imp.-xhtml || <xhtml:ul> etc. || |
| 112 | || F: Floats || -- || -- || echo-float || <div float> || |
| 113 | || F: Images || -- || -- || echo-figure || <image> || |
| 114 | || || || || || || |
| 115 | || T: Milestones || (--) || + || echo-milestone || <pb> (auch F), <lb>, <cb> || |
| 116 | || T: Corruptions || -- || + || echo-gap || <gap>, <unsure> || |
| 117 | || || -- || + || echo-de || <de:unknown>, <de:wrong> || |
| 118 | || T: Chinese notes || -- || + || echo-chinese-text || <lb halfline> || |
| 119 | || T: Floats || -- || + || echo-float || <anchor> || |
| 120 | || T: numbers etc. || (--) || -- || echo-mathematics || <num>, <var> || |
| 121 | || T: formulas || (--) || -- || echo-imp.-mathml || <mml:math> || |
| 122 | || T: Verse || -- || -- || echo-textflows || <lb @label> || |
| 123 | || T: Images || -- || -- || echo-figure || <image> || |
| 124 | || T: Gis || -- || -- || echo-gis || <place>, <time> || |
| 125 | || || || || || || |
| 126 | || G: Gis || -- || -- || echo-gis || <dcterms:temporal>, <dcterms:spatial> || |
| 127 | |
| 128 | |
| 129 | |
| 130 | == 3. Umsetzung der XML-tags |