]> Lady’s Gitweb - Fortune/blob - DTD
Wrap <cit> contents in <quote>
[Fortune] / DTD
1 <?xml encoding="UTF-8"?>
2 <!--
3 SPDX-FileCopyrightText: 2024 Lady <https://www.ladys.computer/about/#lady>
4 SPDX-License-Identifier: CC0-1.0
5 -->
6
7 <!--
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.
11 -->
12
13 <!--
14 The following are “ordinary” phrase‐level elements usable inside of paragraphs.
15 -->
16 <!ELEMENT abbr (#PCDATA)>
17 <!ELEMENT emph (#PCDATA)>
18 <!ELEMENT gap (#PCDATA)>
19 <!ATTLIST gap
20 reason (editorial) #REQUIRED
21 >
22 <!ELEMENT note (p)>
23 <!ATTLIST note
24 n CDATA #IMPLIED
25 >
26 <!ELEMENT pc (#PCDATA)>
27 <!ATTLIST pc
28 unit (paragraph|phrase|sentence) #REQUIRED
29 >
30 <!ELEMENT seg (#PCDATA|emph)*>
31 <!ATTLIST seg
32 type (callout) #IMPLIED
33 >
34 <!ELEMENT soCalled (#PCDATA)>
35
36 <!--
37 The following encode links.
38 -->
39 <!ELEMENT ptr EMPTY>
40 <!ATTLIST ptr
41 target CDATA #REQUIRED
42 mimeType CDATA #IMPLIED
43 >
44
45 <!--
46 The following encode choices.
47 -->
48 <!ELEMENT metamark (#PCDATA)>
49 <!ELEMENT supplied (#PCDATA)>
50 <!ELEMENT ellipsis (metamark,supplied?)>
51
52 <!--
53 The following encode names and name components.
54 -->
55 <!ELEMENT forename (#PCDATA)>
56 <!ELEMENT surname (#PCDATA)>
57 <!ELEMENT persName (forename|surname)+>
58
59 <!--
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´.
62
63 Titles have element content, meaning that character data needs to be wrapped in a `<seg>` or similar.
64 -->
65 <!ELEMENT title (seg|soCalled|title+)>
66 <!ATTLIST title
67 level (a|j|m|s|u) #IMPLIED
68 type (main|sub) #IMPLIED
69 >
70
71 <!--
72 The following encode bibliographic identifiers.
73 -->
74 <!ELEMENT idno (#PCDATA)>
75 <!ATTLIST idno
76 type (DOI|ISBN) #REQUIRED
77 >
78
79 <!--
80 The following encode dates.
81 -->
82 <!ELEMENT date EMPTY>
83 <!ATTLIST date
84 when CDATA #REQUIRED
85 >
86
87 <!--
88 The following encode contributor information for bibliographies.
89 -->
90 <!ELEMENT author (persName)>
91 <!ATTLIST author
92 ref CDATA #IMPLIED
93 >
94 <!ELEMENT editor (persName)>
95 <!ATTLIST editor
96 ref CDATA #IMPLIED
97 >
98
99 <!--
100 The following encode publication information for bibliographies.
101 -->
102 <!ELEMENT pubPlace (#PCDATA)>
103 <!ELEMENT publisher (#PCDATA)>
104 <!ELEMENT imprint (pubPlace?,publisher?,date?)>
105
106 <!--
107 The following encode bibliographic scopes and ranges.
108
109 For single pages, `@from´ and `@to´ should be equal.
110 -->
111 <!ELEMENT biblScope EMPTY>
112 <!ATTLIST biblScope
113 unit (chapter|issue|page|volume) #REQUIRED
114 from CDATA #REQUIRED
115 to CDATA #REQUIRED
116 >
117 <!ELEMENT citedRange EMPTY>
118 <!ATTLIST citedRange
119 unit (chapter|issue|page|volume) #REQUIRED
120 from CDATA #REQUIRED
121 to CDATA #REQUIRED
122 >
123
124 <!--
125 The following are paragraph‐level elements.
126 -->
127 <!ELEMENT p (#PCDATA|abbr|ellipsis|emph|gap|note|pc|ptr|seg)*>
128 <!ELEMENT quote (p|quote)+>
129
130 <!--
131 The following encapsulate paragraph information within bibliographies.
132 -->
133 <!ELEMENT availability (p)+>
134
135 <!--
136 The following provide structured bibliographic information.
137 -->
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*)>
141
142 <!--
143 The following provide unstructured bibliographic information.
144 -->
145 <!ELEMENT bibl (citedRange)>
146
147 <!--
148 The following are acceptable top‐level elements.
149
150 All of these require an `@xmlns´ which provides the T·E·I namespace, and an `@xml:lang´ providing the language of the content.
151 -->
152 <!ELEMENT biblStruct (analytic*,monogr*,series*)>
153 <!ATTLIST biblStruct
154 xmlns CDATA #FIXED 'http://www.tei-c.org/ns/1.0'
155 xml:lang NMTOKEN #REQUIRED
156 >
157 <!ELEMENT cit (quote,bibl*)>
158 <!ATTLIST cit
159 xmlns CDATA #FIXED 'http://www.tei-c.org/ns/1.0'
160 xml:lang NMTOKEN #REQUIRED
161 >
162 <!ELEMENT div (p)+>
163 <!ATTLIST div
164 xmlns CDATA #FIXED 'http://www.tei-c.org/ns/1.0'
165 xml:lang NMTOKEN #REQUIRED
166 >
This page took 0.053521 seconds and 5 git commands to generate.