1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <!--
|
---|
3 | This file is part of DocBook V5.0
|
---|
4 |
|
---|
5 | Copyright 1992-2008 HaL Computer Systems, Inc.,
|
---|
6 | O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
|
---|
7 | Corporation, Norman Walsh, Sun Microsystems, Inc., and the
|
---|
8 | Organization for the Advancement of Structured Information
|
---|
9 | Standards (OASIS).
|
---|
10 |
|
---|
11 | Release: $Id: index.rnc 8931 2010-10-20 13:29:20Z nwalsh $
|
---|
12 |
|
---|
13 | Permission to use, copy, modify and distribute the DocBook schema
|
---|
14 | and its accompanying documentation for any purpose and without fee
|
---|
15 | is hereby granted in perpetuity, provided that the above copyright
|
---|
16 | notice and this paragraph appear in all copies. The copyright
|
---|
17 | holders make no representation about the suitability of the schema
|
---|
18 | for any purpose. It is provided "as is" without expressed or implied
|
---|
19 | warranty.
|
---|
20 |
|
---|
21 | If you modify the DocBook schema in any way, label your schema as a
|
---|
22 | variant of DocBook. See the reference documentation
|
---|
23 | (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
|
---|
24 | for more information.
|
---|
25 |
|
---|
26 | Please direct all questions, bug reports, or suggestions for changes
|
---|
27 | to the docbook@lists.oasis-open.org mailing list. For more
|
---|
28 | information, see http://www.oasis-open.org/docbook/.
|
---|
29 |
|
---|
30 | ======================================================================
|
---|
31 | -->
|
---|
32 | <grammar ns="http://docbook.org/ns/docbook" xmlns:db="http://docbook.org/ns/docbook" xmlns:s="http://purl.oclc.org/dsdl/schematron" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
|
---|
33 | <start combine="choice">
|
---|
34 | <choice>
|
---|
35 | <ref name="db.setindex"/>
|
---|
36 | <ref name="db.index"/>
|
---|
37 | <ref name="db.indexdiv"/>
|
---|
38 | </choice>
|
---|
39 | </start>
|
---|
40 | <define name="db.ubiq.inlines" combine="choice">
|
---|
41 | <ref name="db.indexterm"/>
|
---|
42 | </define>
|
---|
43 | <define name="db.indexing.inlines" combine="choice">
|
---|
44 | <ref name="db.indexterm"/>
|
---|
45 | </define>
|
---|
46 | <define name="db.nopara.blocks" combine="choice">
|
---|
47 | <ref name="db.indexterm"/>
|
---|
48 | </define>
|
---|
49 | <define name="db.navigation.components" combine="choice">
|
---|
50 | <ref name="db.index"/>
|
---|
51 | </define>
|
---|
52 | <define name="db.setindex.components" combine="choice">
|
---|
53 | <ref name="db.setindex"/>
|
---|
54 | </define>
|
---|
55 | <define name="db.info.elements" combine="choice">
|
---|
56 | <ref name="db.itermset"/>
|
---|
57 | </define>
|
---|
58 | <!-- ====================================================================== -->
|
---|
59 | <define name="db.significance.enumeration">
|
---|
60 | <choice>
|
---|
61 | <value>normal</value>
|
---|
62 | <a:documentation>Normal</a:documentation>
|
---|
63 | <value>preferred</value>
|
---|
64 | <a:documentation>Preferred</a:documentation>
|
---|
65 | </choice>
|
---|
66 | </define>
|
---|
67 | <define name="db.significance.attribute">
|
---|
68 | <attribute name="significance">
|
---|
69 | <db:refpurpose>Specifies the significance of the term</db:refpurpose>
|
---|
70 | <ref name="db.significance.enumeration"/>
|
---|
71 | </attribute>
|
---|
72 | </define>
|
---|
73 | <define name="db.zone.attribute">
|
---|
74 | <attribute name="zone">
|
---|
75 | <db:refpurpose>Specifies the IDs of the elements to which this term applies</db:refpurpose>
|
---|
76 | <data type="IDREFS"/>
|
---|
77 | </attribute>
|
---|
78 | </define>
|
---|
79 | <define name="db.indexterm.pagenum.attribute">
|
---|
80 | <attribute name="pagenum">
|
---|
81 | <db:refpurpose>Indicates the page on which this index term occurs in some version of the printed document</db:refpurpose>
|
---|
82 | </attribute>
|
---|
83 | </define>
|
---|
84 | <define name="db.scope.enumeration">
|
---|
85 | <choice>
|
---|
86 | <value>all</value>
|
---|
87 | <a:documentation>All indexes</a:documentation>
|
---|
88 | <value>global</value>
|
---|
89 | <a:documentation>The global index (as for a combined index of a set of books)</a:documentation>
|
---|
90 | <value>local</value>
|
---|
91 | <a:documentation>The local index (the index for this document only)</a:documentation>
|
---|
92 | </choice>
|
---|
93 | </define>
|
---|
94 | <define name="db.scope.attribute">
|
---|
95 | <attribute name="scope">
|
---|
96 | <db:refpurpose>Specifies the scope of the index term</db:refpurpose>
|
---|
97 | <ref name="db.scope.enumeration"/>
|
---|
98 | </attribute>
|
---|
99 | </define>
|
---|
100 | <define name="db.sortas.attribute">
|
---|
101 | <attribute name="sortas">
|
---|
102 | <db:refpurpose>Specifies the string by which the term is to be sorted; if unspecified, the term content is used</db:refpurpose>
|
---|
103 | </attribute>
|
---|
104 | </define>
|
---|
105 | <define name="db.index.type.attribute">
|
---|
106 | <attribute name="type">
|
---|
107 | <db:refpurpose>Specifies the target index for this term</db:refpurpose>
|
---|
108 | </attribute>
|
---|
109 | </define>
|
---|
110 | <!-- ====================================================================== -->
|
---|
111 | <div>
|
---|
112 | <db:refname>itermset</db:refname>
|
---|
113 | <db:refpurpose>A set of index terms in the meta-information of a document</db:refpurpose>
|
---|
114 | <define name="db.itermset.role.attribute">
|
---|
115 | <attribute name="role"/>
|
---|
116 | </define>
|
---|
117 | <define name="db.itermset.attlist">
|
---|
118 | <interleave>
|
---|
119 | <optional>
|
---|
120 | <ref name="db.itermset.role.attribute"/>
|
---|
121 | </optional>
|
---|
122 | <ref name="db.common.attributes"/>
|
---|
123 | <ref name="db.common.linking.attributes"/>
|
---|
124 | </interleave>
|
---|
125 | </define>
|
---|
126 | <define name="db.itermset">
|
---|
127 | <element name="itermset">
|
---|
128 | <ref name="db.itermset.attlist"/>
|
---|
129 | <oneOrMore>
|
---|
130 | <ref name="db.indexterm.singular"/>
|
---|
131 | </oneOrMore>
|
---|
132 | </element>
|
---|
133 | </define>
|
---|
134 | </div>
|
---|
135 | <!-- ====================================================================== -->
|
---|
136 | <define name="db.indexterm.contentmodel">
|
---|
137 | <optional>
|
---|
138 | <ref name="db.primary"/>
|
---|
139 | </optional>
|
---|
140 | <optional>
|
---|
141 | <choice>
|
---|
142 | <group>
|
---|
143 | <ref name="db.secondary"/>
|
---|
144 | <optional>
|
---|
145 | <choice>
|
---|
146 | <group>
|
---|
147 | <ref name="db.tertiary"/>
|
---|
148 | <optional>
|
---|
149 | <choice>
|
---|
150 | <ref name="db.see"/>
|
---|
151 | <oneOrMore>
|
---|
152 | <ref name="db.seealso"/>
|
---|
153 | </oneOrMore>
|
---|
154 | </choice>
|
---|
155 | </optional>
|
---|
156 | </group>
|
---|
157 | <ref name="db.see"/>
|
---|
158 | <oneOrMore>
|
---|
159 | <ref name="db.seealso"/>
|
---|
160 | </oneOrMore>
|
---|
161 | </choice>
|
---|
162 | </optional>
|
---|
163 | </group>
|
---|
164 | <ref name="db.see"/>
|
---|
165 | <oneOrMore>
|
---|
166 | <ref name="db.seealso"/>
|
---|
167 | </oneOrMore>
|
---|
168 | </choice>
|
---|
169 | </optional>
|
---|
170 | </define>
|
---|
171 | <!-- ====================================================================== -->
|
---|
172 | <div>
|
---|
173 | <db:refname>indexterm</db:refname>
|
---|
174 | <db:refpurpose>A wrapper for an indexed term</db:refpurpose>
|
---|
175 | <define name="db.indexterm.singular.role.attribute">
|
---|
176 | <attribute name="role"/>
|
---|
177 | </define>
|
---|
178 | <define name="db.indexterm.singular.class.attribute">
|
---|
179 | <attribute name="class">
|
---|
180 | <db:refpurpose>Identifies the class of index term</db:refpurpose>
|
---|
181 | <value>singular</value>
|
---|
182 | <a:documentation>A singular index term</a:documentation>
|
---|
183 | </attribute>
|
---|
184 | </define>
|
---|
185 | <define name="db.indexterm.singular.attlist">
|
---|
186 | <interleave>
|
---|
187 | <optional>
|
---|
188 | <ref name="db.indexterm.singular.role.attribute"/>
|
---|
189 | </optional>
|
---|
190 | <ref name="db.common.attributes"/>
|
---|
191 | <ref name="db.common.linking.attributes"/>
|
---|
192 | <optional>
|
---|
193 | <ref name="db.significance.attribute"/>
|
---|
194 | </optional>
|
---|
195 | <optional>
|
---|
196 | <ref name="db.zone.attribute"/>
|
---|
197 | </optional>
|
---|
198 | <optional>
|
---|
199 | <ref name="db.indexterm.pagenum.attribute"/>
|
---|
200 | </optional>
|
---|
201 | <optional>
|
---|
202 | <ref name="db.scope.attribute"/>
|
---|
203 | </optional>
|
---|
204 | <optional>
|
---|
205 | <ref name="db.index.type.attribute"/>
|
---|
206 | </optional>
|
---|
207 | <optional>
|
---|
208 | <ref name="db.indexterm.singular.class.attribute"/>
|
---|
209 | </optional>
|
---|
210 | </interleave>
|
---|
211 | </define>
|
---|
212 | <define name="db.indexterm.singular">
|
---|
213 | <element name="indexterm">
|
---|
214 | <ref name="db.indexterm.singular.attlist"/>
|
---|
215 | <ref name="db.indexterm.contentmodel"/>
|
---|
216 | </element>
|
---|
217 | </define>
|
---|
218 | </div>
|
---|
219 | <!-- ====================================================================== -->
|
---|
220 | <div>
|
---|
221 | <db:refname>indexterm</db:refname>
|
---|
222 | <db:refpurpose>A wrapper for an indexed term that covers a range</db:refpurpose>
|
---|
223 | <define name="db.indexterm.startofrange.role.attribute">
|
---|
224 | <attribute name="role"/>
|
---|
225 | </define>
|
---|
226 | <define name="db.indexterm.startofrange.class.attribute">
|
---|
227 | <attribute name="class">
|
---|
228 | <db:refpurpose>Identifies the class of index term</db:refpurpose>
|
---|
229 | <value>startofrange</value>
|
---|
230 | <a:documentation>The start of a range</a:documentation>
|
---|
231 | </attribute>
|
---|
232 | </define>
|
---|
233 | <define name="db.indexterm.startofrange.attlist">
|
---|
234 | <interleave>
|
---|
235 | <optional>
|
---|
236 | <ref name="db.indexterm.startofrange.role.attribute"/>
|
---|
237 | </optional>
|
---|
238 | <ref name="db.common.attributes"/>
|
---|
239 | <ref name="db.common.linking.attributes"/>
|
---|
240 | <optional>
|
---|
241 | <ref name="db.significance.attribute"/>
|
---|
242 | </optional>
|
---|
243 | <optional>
|
---|
244 | <ref name="db.zone.attribute"/>
|
---|
245 | </optional>
|
---|
246 | <optional>
|
---|
247 | <ref name="db.indexterm.pagenum.attribute"/>
|
---|
248 | </optional>
|
---|
249 | <optional>
|
---|
250 | <ref name="db.scope.attribute"/>
|
---|
251 | </optional>
|
---|
252 | <optional>
|
---|
253 | <ref name="db.index.type.attribute"/>
|
---|
254 | </optional>
|
---|
255 | <ref name="db.indexterm.startofrange.class.attribute"/>
|
---|
256 | </interleave>
|
---|
257 | </define>
|
---|
258 | <define name="db.indexterm.startofrange">
|
---|
259 | <element name="indexterm">
|
---|
260 | <ref name="db.indexterm.startofrange.attlist"/>
|
---|
261 | <ref name="db.indexterm.contentmodel"/>
|
---|
262 | </element>
|
---|
263 | </define>
|
---|
264 | </div>
|
---|
265 | <!-- ====================================================================== -->
|
---|
266 | <div>
|
---|
267 | <db:refname>indexterm</db:refname>
|
---|
268 | <db:refpurpose>Identifies the end of a range associated with an indexed term</db:refpurpose>
|
---|
269 | <define name="db.indexterm.endofrange.role.attribute">
|
---|
270 | <attribute name="role"/>
|
---|
271 | </define>
|
---|
272 | <define name="db.indexterm.endofrange.class.attribute">
|
---|
273 | <attribute name="class">
|
---|
274 | <db:refpurpose>Identifies the class of index term</db:refpurpose>
|
---|
275 | <value>endofrange</value>
|
---|
276 | <a:documentation>The end of a range</a:documentation>
|
---|
277 | </attribute>
|
---|
278 | </define>
|
---|
279 | <define name="db.indexterm.endofrange.startref.attribute">
|
---|
280 | <attribute name="startref">
|
---|
281 | <db:refpurpose>Points to the start of the range</db:refpurpose>
|
---|
282 | <data type="IDREF"/>
|
---|
283 | </attribute>
|
---|
284 | </define>
|
---|
285 | <define name="db.indexterm.endofrange.attlist">
|
---|
286 | <interleave>
|
---|
287 | <optional>
|
---|
288 | <ref name="db.indexterm.endofrange.role.attribute"/>
|
---|
289 | </optional>
|
---|
290 | <ref name="db.common.attributes"/>
|
---|
291 | <ref name="db.common.linking.attributes"/>
|
---|
292 | <ref name="db.indexterm.endofrange.class.attribute"/>
|
---|
293 | <ref name="db.indexterm.endofrange.startref.attribute"/>
|
---|
294 | </interleave>
|
---|
295 | </define>
|
---|
296 | <define name="db.indexterm.endofrange">
|
---|
297 | <element name="indexterm">
|
---|
298 | <ref name="db.indexterm.endofrange.attlist"/>
|
---|
299 | <empty/>
|
---|
300 | </element>
|
---|
301 | </define>
|
---|
302 | </div>
|
---|
303 | <!-- ====================================================================== -->
|
---|
304 | <div>
|
---|
305 | <db:refname>indexterm</db:refname>
|
---|
306 | <db:refpurpose>A wrapper for terms to be indexed</db:refpurpose>
|
---|
307 | <define name="db.indexterm">
|
---|
308 | <choice>
|
---|
309 | <ref name="db.indexterm.singular"/>
|
---|
310 | <ref name="db.indexterm.startofrange"/>
|
---|
311 | <ref name="db.indexterm.endofrange"/>
|
---|
312 | </choice>
|
---|
313 | </define>
|
---|
314 | </div>
|
---|
315 | <!-- ====================================================================== -->
|
---|
316 | <div>
|
---|
317 | <db:refname>primary</db:refname>
|
---|
318 | <db:refpurpose>The primary word or phrase under which an index term should be sorted</db:refpurpose>
|
---|
319 | <define name="db.primary.role.attribute">
|
---|
320 | <attribute name="role"/>
|
---|
321 | </define>
|
---|
322 | <define name="db.primary.attlist">
|
---|
323 | <interleave>
|
---|
324 | <optional>
|
---|
325 | <ref name="db.primary.role.attribute"/>
|
---|
326 | </optional>
|
---|
327 | <ref name="db.common.attributes"/>
|
---|
328 | <ref name="db.common.linking.attributes"/>
|
---|
329 | <optional>
|
---|
330 | <ref name="db.sortas.attribute"/>
|
---|
331 | </optional>
|
---|
332 | </interleave>
|
---|
333 | </define>
|
---|
334 | <define name="db.primary">
|
---|
335 | <element name="primary">
|
---|
336 | <ref name="db.primary.attlist"/>
|
---|
337 | <zeroOrMore>
|
---|
338 | <ref name="db.all.inlines"/>
|
---|
339 | </zeroOrMore>
|
---|
340 | </element>
|
---|
341 | </define>
|
---|
342 | </div>
|
---|
343 | <!-- ====================================================================== -->
|
---|
344 | <div>
|
---|
345 | <db:refname>secondary</db:refname>
|
---|
346 | <db:refpurpose>A secondary word or phrase in an index term</db:refpurpose>
|
---|
347 | <define name="db.secondary.role.attribute">
|
---|
348 | <attribute name="role"/>
|
---|
349 | </define>
|
---|
350 | <define name="db.secondary.attlist">
|
---|
351 | <interleave>
|
---|
352 | <optional>
|
---|
353 | <ref name="db.secondary.role.attribute"/>
|
---|
354 | </optional>
|
---|
355 | <ref name="db.common.attributes"/>
|
---|
356 | <ref name="db.common.linking.attributes"/>
|
---|
357 | <optional>
|
---|
358 | <ref name="db.sortas.attribute"/>
|
---|
359 | </optional>
|
---|
360 | </interleave>
|
---|
361 | </define>
|
---|
362 | <define name="db.secondary">
|
---|
363 | <element name="secondary">
|
---|
364 | <ref name="db.secondary.attlist"/>
|
---|
365 | <zeroOrMore>
|
---|
366 | <ref name="db.all.inlines"/>
|
---|
367 | </zeroOrMore>
|
---|
368 | </element>
|
---|
369 | </define>
|
---|
370 | </div>
|
---|
371 | <!-- ====================================================================== -->
|
---|
372 | <div>
|
---|
373 | <db:refname>tertiary</db:refname>
|
---|
374 | <db:refpurpose>A tertiary word or phrase in an index term</db:refpurpose>
|
---|
375 | <define name="db.tertiary.role.attribute">
|
---|
376 | <attribute name="role"/>
|
---|
377 | </define>
|
---|
378 | <define name="db.tertiary.attlist">
|
---|
379 | <interleave>
|
---|
380 | <optional>
|
---|
381 | <ref name="db.tertiary.role.attribute"/>
|
---|
382 | </optional>
|
---|
383 | <ref name="db.common.attributes"/>
|
---|
384 | <ref name="db.common.linking.attributes"/>
|
---|
385 | <optional>
|
---|
386 | <ref name="db.sortas.attribute"/>
|
---|
387 | </optional>
|
---|
388 | </interleave>
|
---|
389 | </define>
|
---|
390 | <define name="db.tertiary">
|
---|
391 | <element name="tertiary">
|
---|
392 | <ref name="db.tertiary.attlist"/>
|
---|
393 | <zeroOrMore>
|
---|
394 | <ref name="db.all.inlines"/>
|
---|
395 | </zeroOrMore>
|
---|
396 | </element>
|
---|
397 | </define>
|
---|
398 | </div>
|
---|
399 | <!-- ====================================================================== -->
|
---|
400 | <div>
|
---|
401 | <db:refname>see</db:refname>
|
---|
402 | <db:refpurpose>Part of an index term directing the reader instead to another entry in the index</db:refpurpose>
|
---|
403 | <define name="db.see.role.attribute">
|
---|
404 | <attribute name="role"/>
|
---|
405 | </define>
|
---|
406 | <define name="db.see.attlist">
|
---|
407 | <interleave>
|
---|
408 | <optional>
|
---|
409 | <ref name="db.see.role.attribute"/>
|
---|
410 | </optional>
|
---|
411 | <ref name="db.common.attributes"/>
|
---|
412 | <ref name="db.common.linking.attributes"/>
|
---|
413 | </interleave>
|
---|
414 | </define>
|
---|
415 | <define name="db.see">
|
---|
416 | <element name="see">
|
---|
417 | <ref name="db.see.attlist"/>
|
---|
418 | <zeroOrMore>
|
---|
419 | <ref name="db.all.inlines"/>
|
---|
420 | </zeroOrMore>
|
---|
421 | </element>
|
---|
422 | </define>
|
---|
423 | </div>
|
---|
424 | <!-- ====================================================================== -->
|
---|
425 | <div>
|
---|
426 | <db:refname>seealso</db:refname>
|
---|
427 | <db:refpurpose>Part of an index term directing the reader also to another entry in the index</db:refpurpose>
|
---|
428 | <define name="db.seealso.role.attribute">
|
---|
429 | <attribute name="role"/>
|
---|
430 | </define>
|
---|
431 | <define name="db.seealso.attlist">
|
---|
432 | <interleave>
|
---|
433 | <optional>
|
---|
434 | <ref name="db.seealso.role.attribute"/>
|
---|
435 | </optional>
|
---|
436 | <ref name="db.common.attributes"/>
|
---|
437 | <ref name="db.common.linking.attributes"/>
|
---|
438 | </interleave>
|
---|
439 | </define>
|
---|
440 | <define name="db.seealso">
|
---|
441 | <element name="seealso">
|
---|
442 | <ref name="db.seealso.attlist"/>
|
---|
443 | <zeroOrMore>
|
---|
444 | <ref name="db.all.inlines"/>
|
---|
445 | </zeroOrMore>
|
---|
446 | </element>
|
---|
447 | </define>
|
---|
448 | </div>
|
---|
449 | <!-- ====================================================================== -->
|
---|
450 | <div>
|
---|
451 | <db:refname>index</db:refname>
|
---|
452 | <db:refpurpose>An index to a book or part of a book</db:refpurpose>
|
---|
453 | <define name="db.index.status.attribute">
|
---|
454 | <ref name="db.status.attribute"/>
|
---|
455 | </define>
|
---|
456 | <define name="db.index.role.attribute">
|
---|
457 | <attribute name="role"/>
|
---|
458 | </define>
|
---|
459 | <define name="db.index.attlist">
|
---|
460 | <interleave>
|
---|
461 | <optional>
|
---|
462 | <ref name="db.index.role.attribute"/>
|
---|
463 | </optional>
|
---|
464 | <ref name="db.common.attributes"/>
|
---|
465 | <ref name="db.common.linking.attributes"/>
|
---|
466 | <optional>
|
---|
467 | <ref name="db.label.attribute"/>
|
---|
468 | </optional>
|
---|
469 | <optional>
|
---|
470 | <ref name="db.index.status.attribute"/>
|
---|
471 | </optional>
|
---|
472 | <optional>
|
---|
473 | <ref name="db.index.type.attribute"/>
|
---|
474 | </optional>
|
---|
475 | </interleave>
|
---|
476 | </define>
|
---|
477 | <define name="db.index.info">
|
---|
478 | <ref name="db._info"/>
|
---|
479 | </define>
|
---|
480 | <!--
|
---|
481 | Yes, db.indexdiv* and db.indexentry*; that way an <index/> is valid.
|
---|
482 | Authors can use an empty index to indicate where a generated index should
|
---|
483 | appear.
|
---|
484 | -->
|
---|
485 | <define name="db.index">
|
---|
486 | <element name="index">
|
---|
487 | <ref name="db.index.attlist"/>
|
---|
488 | <ref name="db.index.info"/>
|
---|
489 | <zeroOrMore>
|
---|
490 | <ref name="db.all.blocks"/>
|
---|
491 | </zeroOrMore>
|
---|
492 | <choice>
|
---|
493 | <zeroOrMore>
|
---|
494 | <ref name="db.indexdiv"/>
|
---|
495 | </zeroOrMore>
|
---|
496 | <zeroOrMore>
|
---|
497 | <ref name="db.indexentry"/>
|
---|
498 | </zeroOrMore>
|
---|
499 | <ref name="db.segmentedlist"/>
|
---|
500 | </choice>
|
---|
501 | </element>
|
---|
502 | </define>
|
---|
503 | </div>
|
---|
504 | <!-- ====================================================================== -->
|
---|
505 | <div>
|
---|
506 | <db:refname>setindex</db:refname>
|
---|
507 | <db:refpurpose>An index to a set of books</db:refpurpose>
|
---|
508 | <define name="db.setindex.status.attribute">
|
---|
509 | <ref name="db.status.attribute"/>
|
---|
510 | </define>
|
---|
511 | <define name="db.setindex.role.attribute">
|
---|
512 | <attribute name="role"/>
|
---|
513 | </define>
|
---|
514 | <define name="db.setindex.attlist">
|
---|
515 | <interleave>
|
---|
516 | <optional>
|
---|
517 | <ref name="db.setindex.role.attribute"/>
|
---|
518 | </optional>
|
---|
519 | <ref name="db.common.attributes"/>
|
---|
520 | <ref name="db.common.linking.attributes"/>
|
---|
521 | <optional>
|
---|
522 | <ref name="db.label.attribute"/>
|
---|
523 | </optional>
|
---|
524 | <optional>
|
---|
525 | <ref name="db.setindex.status.attribute"/>
|
---|
526 | </optional>
|
---|
527 | <optional>
|
---|
528 | <ref name="db.index.type.attribute"/>
|
---|
529 | </optional>
|
---|
530 | </interleave>
|
---|
531 | </define>
|
---|
532 | <define name="db.setindex.info">
|
---|
533 | <ref name="db._info"/>
|
---|
534 | </define>
|
---|
535 | <define name="db.setindex">
|
---|
536 | <element name="setindex">
|
---|
537 | <ref name="db.setindex.attlist"/>
|
---|
538 | <ref name="db.setindex.info"/>
|
---|
539 | <zeroOrMore>
|
---|
540 | <ref name="db.all.blocks"/>
|
---|
541 | </zeroOrMore>
|
---|
542 | <choice>
|
---|
543 | <zeroOrMore>
|
---|
544 | <ref name="db.indexdiv"/>
|
---|
545 | </zeroOrMore>
|
---|
546 | <zeroOrMore>
|
---|
547 | <ref name="db.indexentry"/>
|
---|
548 | </zeroOrMore>
|
---|
549 | </choice>
|
---|
550 | </element>
|
---|
551 | </define>
|
---|
552 | </div>
|
---|
553 | <!-- ====================================================================== -->
|
---|
554 | <div>
|
---|
555 | <db:refname>indexdiv</db:refname>
|
---|
556 | <db:refpurpose>A division in an index</db:refpurpose>
|
---|
557 | <define name="db.indexdiv.status.attribute">
|
---|
558 | <ref name="db.status.attribute"/>
|
---|
559 | </define>
|
---|
560 | <define name="db.indexdiv.role.attribute">
|
---|
561 | <attribute name="role"/>
|
---|
562 | </define>
|
---|
563 | <define name="db.indexdiv.attlist">
|
---|
564 | <interleave>
|
---|
565 | <optional>
|
---|
566 | <ref name="db.indexdiv.role.attribute"/>
|
---|
567 | </optional>
|
---|
568 | <ref name="db.common.attributes"/>
|
---|
569 | <ref name="db.common.linking.attributes"/>
|
---|
570 | <optional>
|
---|
571 | <ref name="db.label.attribute"/>
|
---|
572 | </optional>
|
---|
573 | <optional>
|
---|
574 | <ref name="db.indexdiv.status.attribute"/>
|
---|
575 | </optional>
|
---|
576 | </interleave>
|
---|
577 | </define>
|
---|
578 | <define name="db.indexdiv.info">
|
---|
579 | <ref name="db._info.title.req"/>
|
---|
580 | </define>
|
---|
581 | <define name="db.indexdiv">
|
---|
582 | <element name="indexdiv">
|
---|
583 | <ref name="db.indexdiv.attlist"/>
|
---|
584 | <ref name="db.indexdiv.info"/>
|
---|
585 | <zeroOrMore>
|
---|
586 | <ref name="db.all.blocks"/>
|
---|
587 | </zeroOrMore>
|
---|
588 | <choice>
|
---|
589 | <oneOrMore>
|
---|
590 | <ref name="db.indexentry"/>
|
---|
591 | </oneOrMore>
|
---|
592 | <ref name="db.segmentedlist"/>
|
---|
593 | </choice>
|
---|
594 | </element>
|
---|
595 | </define>
|
---|
596 | </div>
|
---|
597 | <!-- ====================================================================== -->
|
---|
598 | <div>
|
---|
599 | <db:refname>indexentry</db:refname>
|
---|
600 | <db:refpurpose>An entry in an index</db:refpurpose>
|
---|
601 | <define name="db.indexentry.role.attribute">
|
---|
602 | <attribute name="role"/>
|
---|
603 | </define>
|
---|
604 | <define name="db.indexentry.attlist">
|
---|
605 | <interleave>
|
---|
606 | <optional>
|
---|
607 | <ref name="db.indexentry.role.attribute"/>
|
---|
608 | </optional>
|
---|
609 | <ref name="db.common.attributes"/>
|
---|
610 | <ref name="db.common.linking.attributes"/>
|
---|
611 | </interleave>
|
---|
612 | </define>
|
---|
613 | <define name="db.indexentry">
|
---|
614 | <element name="indexentry">
|
---|
615 | <ref name="db.indexentry.attlist"/>
|
---|
616 | <ref name="db.primaryie"/>
|
---|
617 | <zeroOrMore>
|
---|
618 | <choice>
|
---|
619 | <ref name="db.seeie"/>
|
---|
620 | <ref name="db.seealsoie"/>
|
---|
621 | </choice>
|
---|
622 | </zeroOrMore>
|
---|
623 | <zeroOrMore>
|
---|
624 | <ref name="db.secondaryie"/>
|
---|
625 | <zeroOrMore>
|
---|
626 | <choice>
|
---|
627 | <ref name="db.seeie"/>
|
---|
628 | <ref name="db.seealsoie"/>
|
---|
629 | <ref name="db.tertiaryie"/>
|
---|
630 | </choice>
|
---|
631 | </zeroOrMore>
|
---|
632 | </zeroOrMore>
|
---|
633 | </element>
|
---|
634 | </define>
|
---|
635 | </div>
|
---|
636 | <!-- ====================================================================== -->
|
---|
637 | <div>
|
---|
638 | <db:refname>primaryie</db:refname>
|
---|
639 | <db:refpurpose>A primary term in an index entry, not in the text</db:refpurpose>
|
---|
640 | <define name="db.primaryie.role.attribute">
|
---|
641 | <attribute name="role"/>
|
---|
642 | </define>
|
---|
643 | <define name="db.primaryie.attlist">
|
---|
644 | <interleave>
|
---|
645 | <optional>
|
---|
646 | <ref name="db.primaryie.role.attribute"/>
|
---|
647 | </optional>
|
---|
648 | <ref name="db.common.attributes"/>
|
---|
649 | <optional>
|
---|
650 | <ref name="db.linkends.attribute"/>
|
---|
651 | </optional>
|
---|
652 | </interleave>
|
---|
653 | </define>
|
---|
654 | <define name="db.primaryie">
|
---|
655 | <element name="primaryie">
|
---|
656 | <ref name="db.primaryie.attlist"/>
|
---|
657 | <zeroOrMore>
|
---|
658 | <ref name="db.all.inlines"/>
|
---|
659 | </zeroOrMore>
|
---|
660 | </element>
|
---|
661 | </define>
|
---|
662 | </div>
|
---|
663 | <!-- ====================================================================== -->
|
---|
664 | <div>
|
---|
665 | <db:refname>secondaryie</db:refname>
|
---|
666 | <db:refpurpose>A secondary term in an index entry, rather than in the text</db:refpurpose>
|
---|
667 | <define name="db.secondaryie.role.attribute">
|
---|
668 | <attribute name="role"/>
|
---|
669 | </define>
|
---|
670 | <define name="db.secondaryie.attlist">
|
---|
671 | <interleave>
|
---|
672 | <optional>
|
---|
673 | <ref name="db.secondaryie.role.attribute"/>
|
---|
674 | </optional>
|
---|
675 | <ref name="db.common.attributes"/>
|
---|
676 | <optional>
|
---|
677 | <ref name="db.linkends.attribute"/>
|
---|
678 | </optional>
|
---|
679 | </interleave>
|
---|
680 | </define>
|
---|
681 | <define name="db.secondaryie">
|
---|
682 | <element name="secondaryie">
|
---|
683 | <ref name="db.secondaryie.attlist"/>
|
---|
684 | <zeroOrMore>
|
---|
685 | <ref name="db.all.inlines"/>
|
---|
686 | </zeroOrMore>
|
---|
687 | </element>
|
---|
688 | </define>
|
---|
689 | </div>
|
---|
690 | <!-- ====================================================================== -->
|
---|
691 | <div>
|
---|
692 | <db:refname>tertiaryie</db:refname>
|
---|
693 | <db:refpurpose>A tertiary term in an index entry, rather than in the text</db:refpurpose>
|
---|
694 | <define name="db.tertiaryie.role.attribute">
|
---|
695 | <attribute name="role"/>
|
---|
696 | </define>
|
---|
697 | <define name="db.tertiaryie.attlist">
|
---|
698 | <interleave>
|
---|
699 | <optional>
|
---|
700 | <ref name="db.tertiaryie.role.attribute"/>
|
---|
701 | </optional>
|
---|
702 | <ref name="db.common.attributes"/>
|
---|
703 | <optional>
|
---|
704 | <ref name="db.linkends.attribute"/>
|
---|
705 | </optional>
|
---|
706 | </interleave>
|
---|
707 | </define>
|
---|
708 | <define name="db.tertiaryie">
|
---|
709 | <element name="tertiaryie">
|
---|
710 | <ref name="db.tertiaryie.attlist"/>
|
---|
711 | <zeroOrMore>
|
---|
712 | <ref name="db.all.inlines"/>
|
---|
713 | </zeroOrMore>
|
---|
714 | </element>
|
---|
715 | </define>
|
---|
716 | </div>
|
---|
717 | <!-- ====================================================================== -->
|
---|
718 | <div>
|
---|
719 | <db:refname>seeie</db:refname>
|
---|
720 | <db:refpurpose>A <db:quote>See</db:quote>
|
---|
721 | entry in an index, rather than in the text</db:refpurpose>
|
---|
722 | <define name="db.seeie.role.attribute">
|
---|
723 | <attribute name="role"/>
|
---|
724 | </define>
|
---|
725 | <define name="db.seeie.attlist">
|
---|
726 | <interleave>
|
---|
727 | <optional>
|
---|
728 | <ref name="db.seeie.role.attribute"/>
|
---|
729 | </optional>
|
---|
730 | <ref name="db.common.attributes"/>
|
---|
731 | <optional>
|
---|
732 | <ref name="db.linkend.attribute"/>
|
---|
733 | </optional>
|
---|
734 | </interleave>
|
---|
735 | </define>
|
---|
736 | <define name="db.seeie">
|
---|
737 | <element name="seeie">
|
---|
738 | <ref name="db.seeie.attlist"/>
|
---|
739 | <zeroOrMore>
|
---|
740 | <ref name="db.all.inlines"/>
|
---|
741 | </zeroOrMore>
|
---|
742 | </element>
|
---|
743 | </define>
|
---|
744 | </div>
|
---|
745 | <!-- ====================================================================== -->
|
---|
746 | <div>
|
---|
747 | <db:refname>seealsoie</db:refname>
|
---|
748 | <db:refpurpose>A <db:quote>See also</db:quote>
|
---|
749 | entry in an index, rather than in the text</db:refpurpose>
|
---|
750 | <define name="db.seealsoie.role.attribute">
|
---|
751 | <attribute name="role"/>
|
---|
752 | </define>
|
---|
753 | <define name="db.seealsoie.attlist">
|
---|
754 | <interleave>
|
---|
755 | <optional>
|
---|
756 | <ref name="db.seealsoie.role.attribute"/>
|
---|
757 | </optional>
|
---|
758 | <ref name="db.common.attributes"/>
|
---|
759 | <optional>
|
---|
760 | <ref name="db.linkends.attribute"/>
|
---|
761 | </optional>
|
---|
762 | </interleave>
|
---|
763 | </define>
|
---|
764 | <define name="db.seealsoie">
|
---|
765 | <element name="seealsoie">
|
---|
766 | <ref name="db.seealsoie.attlist"/>
|
---|
767 | <zeroOrMore>
|
---|
768 | <ref name="db.all.inlines"/>
|
---|
769 | </zeroOrMore>
|
---|
770 | </element>
|
---|
771 | </define>
|
---|
772 | </div>
|
---|
773 | </grammar>
|
---|