1 <?xml encoding="UTF-8"?>
3 SPDX-FileCopyrightText: 2024 Lady <https://www.ladys.computer/about/#lady>
4 SPDX-License-Identifier: CC0-1.0
8 This D·T·D does not aim to be forwards‐compatible but rather to just record the current state of encoded materials.
9 It is consequently quite limited.
10 Users of this corpus should check for additions and changes to this D·T·D when pulling in more recent versions, to ensure that all resulting elements are handled properly.
14 The following are “ordinary” phrase‐level elements usable inside of paragraphs.
16 <!ELEMENT abbr (#PCDATA)>
17 <!ELEMENT emph (#PCDATA)>
18 <!ELEMENT gap (#PCDATA)>
20 reason (editorial) #REQUIRED
26 <!ELEMENT pc (#PCDATA)>
28 unit (paragraph|phrase|sentence) #REQUIRED
30 <!ELEMENT seg (#PCDATA|emph)*>
32 type (callout) #IMPLIED
34 <!ELEMENT soCalled (#PCDATA)>
37 The following encode links.
41 target CDATA #REQUIRED
42 mimeType CDATA #IMPLIED
46 The following encode choices.
48 <!ELEMENT metamark (#PCDATA)>
49 <!ELEMENT supplied (#PCDATA)>
50 <!ELEMENT ellipsis (metamark,supplied?)>
53 The following encode names and name components.
55 <!ELEMENT forename (#PCDATA)>
56 <!ELEMENT surname (#PCDATA)>
57 <!ELEMENT persName (forename|surname)+>
60 The following encode titles.
61 Altho it is not formally expressible, it is expected that top‐level `<title>´s have a `@level´, and nested `<title>´s have a `@type´.
63 Titles have element content, meaning that character data needs to be wrapped in a `<seg>` or similar.
65 <!ELEMENT title (seg|soCalled|title+)>
67 level (a|j|m|s|u) #IMPLIED
68 type (main|sub) #IMPLIED
72 The following encode bibliographic identifiers.
74 <!ELEMENT idno (#PCDATA)>
76 type (DOI|ISBN) #REQUIRED
80 The following encode dates.
88 The following encode contributor information for bibliographies.
90 <!ELEMENT author (persName)>
94 <!ELEMENT editor (persName)>
100 The following encode publication information for bibliographies.
102 <!ELEMENT pubPlace (#PCDATA)>
103 <!ELEMENT publisher (#PCDATA)>
104 <!ELEMENT imprint (pubPlace?,publisher?,date?)>
107 The following encode bibliographic scopes and ranges.
109 For single pages, `@from´ and `@to´ should be equal.
111 <!ELEMENT biblScope EMPTY>
113 unit (chapter|issue|page|volume) #REQUIRED
117 <!ELEMENT citedRange EMPTY>
119 unit (chapter|issue|page|volume) #REQUIRED
125 The following are paragraph‐level elements.
127 <!ELEMENT p (#PCDATA|abbr|ellipsis|emph|gap|note|pc|ptr|seg)*>
128 <!ELEMENT quote (p|quote)+>
131 The following encapsulate paragraph information within bibliographies.
133 <!ELEMENT availability (p)+>
136 The following provide structured bibliographic information.
138 <!ELEMENT analytic (title,idno*,author*,editor*,availability?,date?)>
139 <!ELEMENT monogr (title,idno*,author*,editor*,availability?,imprint,biblScope*)>
140 <!ELEMENT series (title,idno*,editor*,availability?,biblScope*)>
143 The following provide unstructured bibliographic information.
145 <!ELEMENT bibl (citedRange)>
148 The following are acceptable top‐level elements.
150 All of these require an `@xmlns´ which provides the T·E·I namespace, and an `@xml:lang´ providing the language of the content.
152 <!ELEMENT biblStruct (analytic*,monogr*,series*)>
154 xmlns CDATA #FIXED 'http://www.tei-c.org/ns/1.0'
155 xml:lang NMTOKEN #REQUIRED
157 <!ELEMENT cit (quote,bibl*)>
159 xmlns CDATA #FIXED 'http://www.tei-c.org/ns/1.0'
160 xml:lang NMTOKEN #REQUIRED
164 xmlns CDATA #FIXED 'http://www.tei-c.org/ns/1.0'
165 xml:lang NMTOKEN #REQUIRED