Mercurial > hg > mpdl-xml-content
comparison texts/archimedesOldCVSRepository/archimedes/dtd/archimedes.dtd @ 6:22d6a63640c6
moved texts from SVN https://it-dev.mpiwg-berlin.mpg.de/svn/mpdl-project-content/trunk/texts/eXist/
author | casties |
---|---|
date | Fri, 07 Dec 2012 17:05:22 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
5:0d8b27aa70aa | 6:22d6a63640c6 |
---|---|
1 <!-- footnotes and margnotes get yanked out of their <p>s, repl. by <arrow>, --> | |
2 <!-- and moved to own p. --> | |
3 | |
4 <!ELEMENT foot.target | |
5 (#PCDATA) > | |
6 <!-- e.g. number in front of a footnote --> | |
7 | |
8 <!ATTLIST foot.target | |
9 id ID #REQUIRED | |
10 n CDATA #IMPLIED > | |
11 | |
12 | |
13 <!ELEMENT margin.target | |
14 (#PCDATA) > | |
15 | |
16 <!ATTLIST margin.target | |
17 id ID #REQUIRED | |
18 n CDATA #IMPLIED > | |
19 | |
20 <!ELEMENT table.target | |
21 (#PCDATA) > | |
22 | |
23 <!ATTLIST table.target | |
24 id ID #REQUIRED | |
25 n CDATA #IMPLIED > | |
26 | |
27 <!ELEMENT arrow.to.target | |
28 (#PCDATA)* > | |
29 | |
30 <!ATTLIST arrow.to.target | |
31 symbol CDATA #IMPLIED | |
32 id ID #IMPLIED | |
33 n CDATA #IMPLIED | |
34 xlink:type (simple) #FIXED "simple" | |
35 xlink:href CDATA #IMPLIED> | |
36 | |
37 <!-- reference to removed figure/note. contains mark in text. --> | |
38 <!-- n attribute contains id of referent target --> | |
39 <!-- Can marginalia ever have referring marks in text? --> | |
40 | |
41 | |
42 <!ELEMENT archimedes | |
43 (info, text) > | |
44 | |
45 | |
46 <!ATTLIST archimedes | |
47 id ID #IMPLIED | |
48 xmlns:xml CDATA #FIXED "http://www.w3.org/XML/1998/namespace" | |
49 xmlns:xlink CDATA #FIXED "http://www.w3.org/1999/xlink" | |
50 n CDATA #IMPLIED > | |
51 | |
52 | |
53 <!ELEMENT author | |
54 (#PCDATA) > | |
55 | |
56 | |
57 <!ATTLIST author | |
58 id ID #IMPLIED | |
59 n CDATA #IMPLIED > | |
60 | |
61 | |
62 <!ELEMENT back | |
63 ( section | pb?)+ > | |
64 | |
65 <!ATTLIST back | |
66 id ID #IMPLIED | |
67 n CDATA #IMPLIED | |
68 type CDATA #IMPLIED> | |
69 | |
70 | |
71 <!ELEMENT body | |
72 (chap | pb?)+ > | |
73 | |
74 <!ATTLIST body | |
75 id ID #IMPLIED | |
76 n CDATA #IMPLIED > | |
77 | |
78 <!ELEMENT comments (#PCDATA) > | |
79 | |
80 <!ATTLIST comments | |
81 id ID #IMPLIED | |
82 n CDATA #IMPLIED > | |
83 | |
84 | |
85 <!ELEMENT cvs_file | |
86 (#PCDATA) > | |
87 | |
88 | |
89 <!ATTLIST cvs_file | |
90 id ID #IMPLIED | |
91 n CDATA #IMPLIED > | |
92 | |
93 | |
94 <!ELEMENT cvs_version | |
95 (#PCDATA) > | |
96 | |
97 | |
98 <!ATTLIST cvs_version | |
99 id ID #IMPLIED | |
100 n CDATA #IMPLIED > | |
101 | |
102 | |
103 <!ELEMENT chap | |
104 ( p | pb | figure | table | subchap1)+ > | |
105 | |
106 | |
107 <!ATTLIST chap | |
108 id ID #IMPLIED | |
109 n CDATA #IMPLIED | |
110 type CDATA #IMPLIED> | |
111 | |
112 <!ELEMENT subchap1 | |
113 ( p | pb | figure | table | subchap2)+ > | |
114 | |
115 | |
116 <!ATTLIST subchap1 | |
117 id ID #IMPLIED | |
118 n CDATA #IMPLIED | |
119 type CDATA #IMPLIED> | |
120 | |
121 <!ELEMENT subchap2 | |
122 ( p | pb | figure | table )+ > | |
123 | |
124 | |
125 <!ATTLIST subchap2 | |
126 id ID #IMPLIED | |
127 n CDATA #IMPLIED | |
128 type CDATA #IMPLIED> | |
129 | |
130 <!ELEMENT date | |
131 (#PCDATA) > | |
132 | |
133 | |
134 <!ATTLIST date | |
135 id ID #IMPLIED | |
136 n CDATA #IMPLIED > | |
137 | |
138 <!-- --> | |
139 <!ELEMENT emph | |
140 EMPTY> | |
141 | |
142 | |
143 <!ATTLIST emph | |
144 type (at|et|italics|bold|sup|sub|over|smallcaps|center|roman|ul|quote|strike|other) "italics" | |
145 id ID #IMPLIED | |
146 n CDATA #IMPLIED> | |
147 | |
148 <!-- et = erased text | |
149 at = added text | |
150 --> | |
151 | |
152 <!ELEMENT emph.end | |
153 EMPTY> | |
154 | |
155 <!-- the type attrib. here shld be entitized --> | |
156 <!ATTLIST emph.end | |
157 type (at|et|italics|bold|sup|sub|over|smallcaps|center|roman|ul|quote|strike|other) "italics" | |
158 id ID #IMPLIED | |
159 n CDATA #IMPLIED> | |
160 | |
161 | |
162 <!ELEMENT expan | |
163 (#PCDATA | foot.target|margin.target|arrow.to.target|pb|lb|emph|emph.end|gap)* > | |
164 | |
165 | |
166 <!ATTLIST expan | |
167 id ID #IMPLIED | |
168 n CDATA #IMPLIED | |
169 abbr CDATA #IMPLIED | |
170 type CDATA #IMPLIED > | |
171 <!-- expand tags must be placed around the whole word in which abbreviations occur --> | |
172 | |
173 <!ELEMENT figure | |
174 (#PCDATA) > | |
175 | |
176 <!ATTLIST figure | |
177 id ID #IMPLIED | |
178 place (margin|text) "text" | |
179 xlink:type (simple) #FIXED "simple" | |
180 xlink:href CDATA #IMPLIED> | |
181 | |
182 | |
183 <!ELEMENT foreign | |
184 (#PCDATA | expan | figure | var | foot.target|margin.target|arrow.to.target|pb|lb|emph|emph.end|gap)* > | |
185 | |
186 | |
187 <!ATTLIST foreign | |
188 id ID #IMPLIED | |
189 n CDATA #IMPLIED | |
190 lang CDATA #IMPLIED> | |
191 | |
192 <!-- <foreign> for text within sentences not in the main lang of the text --> | |
193 <!-- or for text within non-default-lang higher elements --> | |
194 <!ELEMENT front | |
195 ( section | pb?)+ > | |
196 | |
197 <!ATTLIST front | |
198 id ID #IMPLIED | |
199 n CDATA #IMPLIED | |
200 type CDATA #IMPLIED> | |
201 | |
202 <!ELEMENT gap | |
203 EMPTY > | |
204 | |
205 <!ATTLIST gap | |
206 id ID #IMPLIED | |
207 n CDATA #IMPLIED | |
208 desc CDATA #IMPLIED> | |
209 | |
210 <!-- gap is a catch-all tag employed at Perseus and in the TEI to isolate --> | |
211 <!-- uncertain DE markup. It appears here for continuity's sake. --> | |
212 | |
213 | |
214 <!ELEMENT info | |
215 (author, title, date, place, translator, lang, cvs_file?,cvs_version?,comments?,locator) > | |
216 <!-- how many of these should be required? --> | |
217 <!-- what about bringing in line with dublin core? --> | |
218 | |
219 <!ATTLIST info | |
220 id ID #IMPLIED | |
221 n CDATA #IMPLIED > | |
222 | |
223 | |
224 | |
225 <!ELEMENT lang | |
226 (#PCDATA) > | |
227 | |
228 | |
229 <!ATTLIST lang | |
230 id ID #IMPLIED | |
231 n CDATA #IMPLIED > | |
232 | |
233 <!ELEMENT lb EMPTY > | |
234 | |
235 <!ATTLIST lb | |
236 ed CDATA #IMPLIED | |
237 id ID #IMPLIED | |
238 n CDATA #IMPLIED> | |
239 | |
240 <!-- <lb> occurs at <s> level and at <p> level --> | |
241 <!-- <lb> at end of <s> must be placed after </s> --> | |
242 <!-- <lb> at beginning of <s> must be placed before <s> --> | |
243 | |
244 <!-- unrecognized symbols will appear inline acc. to special conventions. --> | |
245 <!-- (as in DE specs) --> | |
246 | |
247 <!-- emph and and emph.end are elements that are quer to the xml structure --> | |
248 | |
249 <!ELEMENT locator (#PCDATA) > | |
250 | |
251 <!ATTLIST locator | |
252 id ID #IMPLIED | |
253 n CDATA #IMPLIED > | |
254 | |
255 <!ELEMENT p | |
256 | |
257 (s | figure | pb | lb | emph | emph.end | gap )+ > | |
258 | |
259 | |
260 <!ATTLIST p | |
261 id ID #IMPLIED | |
262 n CDATA #IMPLIED | |
263 type (main|table|marked|foot|margin|list|head|caption) "main" > | |
264 <!-- captions go in paragr's immediately after figure, with arrow.to.target --> | |
265 <!-- table is allowed as val for type attr for backward compatibility --> | |
266 <!-- pb can occur within p but NOT at the start or end --> | |
267 | |
268 | |
269 <!ELEMENT pb | |
270 EMPTY > | |
271 | |
272 | |
273 <!ATTLIST pb | |
274 ed CDATA #IMPLIED | |
275 id ID #IMPLIED | |
276 n CDATA #IMPLIED | |
277 xlink:type (simple) #FIXED "simple" | |
278 xlink:href CDATA #IMPLIED | |
279 pagenum CDATA #IMPLIED> | |
280 | |
281 <!-- the "ed" attribute gives the edition in which the page break occurs. If no --> | |
282 <!-- edition is given, it is assumed to be that given in info --> | |
283 <!-- pagenum gives the page number actually printed on the page. --> | |
284 <!-- n gives the page number numbered consecutively from page 1 of text. --> | |
285 <!-- pb can occur inside <s> etc. and inside <p> and inside <chap> --> | |
286 <!-- <pb> at end of <p> must be placed after </p> --> | |
287 | |
288 | |
289 <!ELEMENT place | |
290 (#PCDATA) > | |
291 | |
292 | |
293 <!ATTLIST place | |
294 id ID #IMPLIED | |
295 n CDATA #IMPLIED > | |
296 | |
297 | |
298 | |
299 <!ELEMENT publisher | |
300 (#PCDATA)* > | |
301 | |
302 | |
303 <!ATTLIST publisher | |
304 id ID #IMPLIED | |
305 n CDATA #IMPLIED > | |
306 | |
307 | |
308 <!ELEMENT s | |
309 | |
310 (#PCDATA| foreign | figure | expan | var | foot.target|margin.target|arrow.to.target|pb|lb|emph|emph.end|gap)* > | |
311 | |
312 <!-- mdh 2003-07-23 | |
313 | |
314 I've given <s> the special attribute xml:space="preserve", so that | |
315 XML processors will respect whitespace within <s> and its descendants. | |
316 See: "Extensible Markup Language (XML) 1.0", http://www.w3.org/TR/REC-xml, | |
317 sec. 2.10 "White Space Handling". | |
318 --> | |
319 | |
320 <!ATTLIST s | |
321 id ID #IMPLIED | |
322 n CDATA #IMPLIED | |
323 xml:space (default|preserve) #FIXED "preserve" > | |
324 | |
325 <!ELEMENT section | |
326 ( p | pb | figure | table )+ > | |
327 | |
328 | |
329 <!ATTLIST section | |
330 id ID #IMPLIED | |
331 n CDATA #IMPLIED | |
332 type CDATA #IMPLIED> | |
333 | |
334 <!ELEMENT table | |
335 ( table.target?, (row, pb?)+ ) > | |
336 | |
337 <!-- order is now: | |
338 <table><table.target/><row>...</row><pb> | |
339 i.e. <table> is equiv. to <p type=margin> | |
340 --> | |
341 <!ATTLIST table | |
342 id ID #IMPLIED | |
343 n CDATA #IMPLIED > | |
344 | |
345 <!ELEMENT row | |
346 ( cell+ ) > | |
347 | |
348 <!ATTLIST row | |
349 id ID #IMPLIED | |
350 n CDATA #IMPLIED > | |
351 | |
352 <!ELEMENT cell | |
353 (#PCDATA| foreign | expan | var | foot.target|margin.target|arrow.to.target|pb|lb|emph|emph.end|gap)* > | |
354 | |
355 <!ATTLIST cell | |
356 id ID #IMPLIED | |
357 n CDATA #IMPLIED > | |
358 | |
359 <!-- 2003-12-18 (mdh) | |
360 | |
361 <var> tag can be used to tag variable names | |
362 Mixed-alphabet variables should be tagged as e.g. <var>DGΣ</var> | |
363 --> | |
364 <!ELEMENT var | |
365 (#PCDATA | lb)* > | |
366 | |
367 <!ATTLIST var | |
368 id ID #IMPLIED | |
369 n CDATA #IMPLIED > | |
370 | |
371 <!ELEMENT text | |
372 (pb?, front, pb?, body, pb?, back?) > | |
373 | |
374 <!-- if front and back are going to be optional, then pb can be allowed to --> | |
375 <!-- occur only within front body back. --> | |
376 | |
377 | |
378 <!ATTLIST text | |
379 type CDATA #IMPLIED | |
380 id ID #IMPLIED | |
381 n CDATA #IMPLIED> | |
382 | |
383 | |
384 <!ELEMENT title | |
385 (#PCDATA) > | |
386 | |
387 <!ATTLIST title | |
388 id ID #IMPLIED | |
389 n CDATA #IMPLIED | |
390 type CDATA #IMPLIED > | |
391 | |
392 <!ELEMENT translator | |
393 (#PCDATA)* > | |
394 | |
395 <!ATTLIST translator | |
396 id ID #IMPLIED | |
397 n CDATA #IMPLIED > | |
398 | |
399 | |
400 <!-- entities are included below here (2001-11-14; mdh) --> | |
401 <!ENTITY % ISOlat1 PUBLIC "ISO 8879:1986//ENTITIES Added Latin 1//EN//XML" | |
402 "ISOlat1.pen"> | |
403 %ISOlat1; | |
404 | |
405 <!ENTITY % ISOlat2 PUBLIC "ISO 8879:1986//ENTITIES Added Latin 2//EN//XML" | |
406 "ISOlat2.pen"> | |
407 %ISOlat2; | |
408 | |
409 <!ENTITY % archimedes SYSTEM "archimedes.pen"> | |
410 %archimedes; | |
411 | |
412 |