-
Notifications
You must be signed in to change notification settings - Fork 0
/
elements.mod
executable file
·272 lines (196 loc) · 8.17 KB
/
elements.mod
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
<?PUBLIC "-//COS//ELEMENTS COSML 1.0//ISO10646"?>
<!-- This is the element declaration module for the COSML DTD -->
<!-- ======================================================== -->
<!-- ============ -->
<!-- Body Section -->
<!-- ============ -->
<!ELEMENT body ((%block.content;)+ | (section | inset)+) >
<!ATTLIST body %common.att; >
<!-- Section definition -->
<![%include-in-demo;[
<!ELEMENT section (title*, (%block.content;)*, (section | group | inset)*) >
<!ATTLIST section parts-listing (yes|no) "no" >
]]>
<![%ignore-in-demo;[
<!ELEMENT section (title, (%block.content;)*, (section | inset)*) >
]]>
<!ATTLIST section %doc.element.att;
%applic.att;
%common.att; >
<!-- Block-level elements -->
<!ELEMENT inset EMPTY >
<!ATTLIST inset %applic.att;
%common.att;
%xlink.subdoc.att; >
<!ELEMENT block-inset EMPTY >
<!ATTLIST block-inset %xlink.subdoc.att;
%applic.att;
%common.att;
>
<!ELEMENT list (p?, (list-item, list-item+)) >
<!ATTLIST list type (unordered | ordered) "unordered"
%applic.att;
%common.att;>
<!ELEMENT step-list (admonishment*, p?, step, (p?, step,
(p | step)*))
>
<!ATTLIST step-list %applic.att;
%common.att; >
<!ELEMENT def-list (p?, def-item, (p?, def-item, (p | def-item)*)) >
<!ATTLIST def-list %applic.att;
%common.att; >
<!ELEMENT def-item (term, definition) >
<!ATTLIST def-item %applic.att;
%common.att; >
<!ELEMENT term (#PCDATA | %inline.content;)* >
<!ATTLIST term %common.att; >
<!ELEMENT definition (p | list)+ >
<!ATTLIST definition %common.att; >
<!ELEMENT p (#PCDATA | %p.inline.content;)* >
<!ATTLIST p %applic.att;
%common.att; >
<!ELEMENT list-item ((p | graphics | note)+ | list) >
<!ATTLIST list-item %applic.att;
%common.att; >
<!ELEMENT step (admonishment*, ((p, (p | graphics | figure | note)*) | list)) >
<!ATTLIST step %applic.att;
%common.att; >
<!ELEMENT figure ((graphics+, caption?, poslist?) | figure+) >
<!ATTLIST figure %applic.att;
%common.att; >
<!ELEMENT graphics EMPTY >
<!ATTLIST graphics %xlink.picture.att;
width CDATA #IMPLIED
height CDATA #IMPLIED
boxed (yes | no) "no"
%applic.att;
%common.att;
>
<!ELEMENT caption (#PCDATA | wrap)* >
<!ATTLIST caption %common.att; >
<!ELEMENT poslist (p?, pos+) >
<!ATTLIST poslist %applic.att;
%common.att; >
<!ELEMENT pos (#PCDATA|%inline.content;)* >
<!ATTLIST pos reset (yes | no) #IMPLIED
startno CDATA #IMPLIED
%applic.att;
%common.att; >
<!ELEMENT note (p, p?) >
<!ATTLIST note %common.att; >
<!ELEMENT admonishment (p, p?) >
<!ATTLIST admonishment type (caution | warning | danger) #REQUIRED
%applic.att;
%common.att;
>
<!ELEMENT example (caption, (%block.component; | graphics)+) >
<!ATTLIST example %applic.att;
%common.att; >
<!ELEMENT code-block (#PCDATA) >
<!ATTLIST code-block xml:space (preserve) #FIXED "preserve"
%applic.att;
%common.att;
>
<!ELEMENT block (%block.content;)* >
<!ATTLIST block %doc.element.att;
%applic.att;
%common.att; >
<!-- Inline elements -->
<!ELEMENT emph (#PCDATA | %basic.inline.content; | %sscript.block;)* >
<!ATTLIST emph %common.att; >
<!ELEMENT lit (#PCDATA | %basic.inline.content; | %sscript.block;)* >
<!ATTLIST lit %lang.att;
%common.att; >
<!ELEMENT quote (#PCDATA | %inline.component;)* >
<!ATTLIST quote %common.att; >
<!ELEMENT code (#PCDATA | %basic.inline.content;)* >
<!ATTLIST code xml:space (preserve) #FIXED "preserve"
%common.att;
>
<!ELEMENT gui (#PCDATA | %basic.inline.content;)* >
<!ATTLIST gui %common.att; >
<!ELEMENT keystroke (#PCDATA | %basic.inline.content;)* >
<!ATTLIST keystroke %common.att; >
<!ELEMENT uri (#PCDATA | %basic.inline.content;)* >
<!ATTLIST uri protocol (http | ftp | file | news | email | other)
"http"
%common.att;
>
<!ELEMENT file-path (#PCDATA | %basic.inline.content;)* >
<!ATTLIST file-path type (dos | unix | other) "dos"
%common.att;
>
<!ELEMENT subs (#PCDATA | %basic.inline.content; | emph)* >
<!ATTLIST subs %common.att; >
<!ELEMENT sups (#PCDATA | %basic.inline.content; | emph)* >
<!ATTLIST sups %common.att; >
<!--<!ELEMENT index (#PCDATA | %inline.content;)* >
<!ATTLIST index index-term CDATA #IMPLIED
index-term2 CDATA #IMPLIED
index-term3 CDATA #IMPLIED
see CDATA #IMPLIED
see-also CDATA #IMPLIED
%common.att;
>-->
<!-- The index model used below is the DocBook Index model; for usage,
see http://www.docbook.org/tdg/en/html/indexterm.html -->
<!ELEMENT index (primary, ( (secondary, ( (tertiary, (see | see-also+)?) |
see | see-also+)? ) | see | see-also+)?) >
<!ATTLIST index significance (normal | preferred) "normal"
class (singular | endofrange | startofrange) #IMPLIED
startref CDATA #IMPLIED
%common.att; >
<!ELEMENT primary (#PCDATA | %inline.content;)* >
<!ATTLIST primary %common.att; >
<!ELEMENT secondary (#PCDATA | %inline.content;)* >
<!ATTLIST secondary %common.att; >
<!ELEMENT tertiary (#PCDATA | %inline.content;)* >
<!ATTLIST tertiary %common.att; >
<!ELEMENT see (#PCDATA | %inline.content;)* >
<!ATTLIST see %common.att; >
<!ELEMENT see-also (#PCDATA | %inline.content;)* >
<!ATTLIST see-also %common.att; >
<!ELEMENT gl-term (#PCDATA | %inline.content;)* >
<!ATTLIST gl-term glossary-term CDATA #IMPLIED
%common.att; >
<!ELEMENT xref (#PCDATA | %inline.content; | locator | ftnote | ftnoteref)* >
<!ATTLIST xref %applic.att;
%common.att; >
<!ELEMENT locator EMPTY >
<!ATTLIST locator %common.att;
%applic.att;
%xlink.simple.att; >
<!ELEMENT hlink (#PCDATA | %inline.content; | ftnote | ftnoteref)* >
<!ATTLIST hlink %common.att;
%applic.att;
%xlink.simple.att; >
<!ELEMENT ftnote (#PCDATA | %ftnote.content;)* >
<!ATTLIST ftnote %label.att;
%applic.att;
%common.att; >
<!ELEMENT ftnoteref (#PCDATA | %inline.component;)* >
<!ATTLIST ftnoteref %label.att;
%applic.att;
%xlink.simple.att;
%common.att; >
<!ELEMENT wrap (#PCDATA | %p.inline.content;)* >
<!ATTLIST wrap %doc.element.att;
%applic.att;
%common.att; >
<!-- =========== -->
<!-- Back matter -->
<!-- =========== -->
<!ELEMENT back (section | glossary | reference | inset)* >
<!ATTLIST back %common.att; >
<!-- Section in back is an appendix, by definition -->
<!ELEMENT glossary (title?, p?, def-item+) >
<!ATTLIST glossary %doc.element.att;
%applic.att;
%common.att; >
<!ELEMENT reference (p?, ref-item+) >
<!ATTLIST reference %doc.element.att;
%applic.att;
%common.att; >
<!ELEMENT ref-item (doc-info, p?) >
<!ATTLIST ref-item %applic.att;
%common.att; >