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: bibliography.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:rng="http://relaxng.org/ns/structure/1.0" xmlns:ctrl="http://nwalsh.com/xmlns/schema-control/" 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.bibliodiv"/>
|
---|
36 | <ref name="db.bibliolist"/>
|
---|
37 | </choice>
|
---|
38 | </start>
|
---|
39 | <define name="db.navigation.components" combine="choice">
|
---|
40 | <ref name="db.bibliography"/>
|
---|
41 | </define>
|
---|
42 | <define name="db.list.blocks" combine="choice">
|
---|
43 | <ref name="db.bibliolist"/>
|
---|
44 | </define>
|
---|
45 | <define name="db.info.elements" combine="choice">
|
---|
46 | <choice>
|
---|
47 | <ref name="db.bibliomisc"/>
|
---|
48 | <ref name="db.bibliomset"/>
|
---|
49 | <ref name="db.bibliorelation"/>
|
---|
50 | <ref name="db.biblioset"/>
|
---|
51 | </choice>
|
---|
52 | </define>
|
---|
53 | <define name="db.link.inlines" combine="choice">
|
---|
54 | <ref name="db.biblioref"/>
|
---|
55 | </define>
|
---|
56 | <!-- ====================================================================== -->
|
---|
57 | <define name="db.relation.attribute">
|
---|
58 | <attribute name="relation">
|
---|
59 | <db:refpurpose>Identifies the relationship between the bibliographic elemnts</db:refpurpose>
|
---|
60 | </attribute>
|
---|
61 | </define>
|
---|
62 | <!-- ====================================================================== -->
|
---|
63 | <div>
|
---|
64 | <db:refname>biblioentry</db:refname>
|
---|
65 | <db:refpurpose>A raw entry in a bibliography</db:refpurpose>
|
---|
66 | <define name="db.biblioentry.role.attribute">
|
---|
67 | <attribute name="role"/>
|
---|
68 | </define>
|
---|
69 | <define name="db.biblioentry.attlist">
|
---|
70 | <interleave>
|
---|
71 | <optional>
|
---|
72 | <ref name="db.biblioentry.role.attribute"/>
|
---|
73 | </optional>
|
---|
74 | <ref name="db.common.attributes"/>
|
---|
75 | <ref name="db.common.linking.attributes"/>
|
---|
76 | </interleave>
|
---|
77 | </define>
|
---|
78 | <define name="db.biblioentry">
|
---|
79 | <element name="biblioentry">
|
---|
80 | <ref name="db.biblioentry.attlist"/>
|
---|
81 | <oneOrMore>
|
---|
82 | <ref name="db.bibliographic.elements"/>
|
---|
83 | </oneOrMore>
|
---|
84 | </element>
|
---|
85 | </define>
|
---|
86 | </div>
|
---|
87 | <!-- ====================================================================== -->
|
---|
88 | <div>
|
---|
89 | <db:refname>bibliomixed</db:refname>
|
---|
90 | <db:refpurpose>A cooked entry in a bibliography</db:refpurpose>
|
---|
91 | <define name="db.bibliomixed.role.attribute">
|
---|
92 | <attribute name="role"/>
|
---|
93 | </define>
|
---|
94 | <define name="db.bibliomixed.attlist">
|
---|
95 | <interleave>
|
---|
96 | <optional>
|
---|
97 | <ref name="db.bibliomixed.role.attribute"/>
|
---|
98 | </optional>
|
---|
99 | <ref name="db.common.attributes"/>
|
---|
100 | <ref name="db.common.linking.attributes"/>
|
---|
101 | </interleave>
|
---|
102 | </define>
|
---|
103 | <define name="db.bibliomixed">
|
---|
104 | <element name="bibliomixed">
|
---|
105 | <ref name="db.bibliomixed.attlist"/>
|
---|
106 | <choice>
|
---|
107 | <zeroOrMore>
|
---|
108 | <choice>
|
---|
109 | <ref name="db._text"/>
|
---|
110 | <ref name="db.honorific"/>
|
---|
111 | <ref name="db.firstname"/>
|
---|
112 | <ref name="db.surname"/>
|
---|
113 | <ref name="db.lineage"/>
|
---|
114 | <ref name="db.othername"/>
|
---|
115 | <ref name="db.bibliographic.elements"/>
|
---|
116 | </choice>
|
---|
117 | </zeroOrMore>
|
---|
118 | <zeroOrMore>
|
---|
119 | <choice>
|
---|
120 | <ref name="db._text"/>
|
---|
121 | <ref name="db.honorific"/>
|
---|
122 | <ref name="db.givenname"/>
|
---|
123 | <ref name="db.surname"/>
|
---|
124 | <ref name="db.lineage"/>
|
---|
125 | <ref name="db.othername"/>
|
---|
126 | <ref name="db.bibliographic.elements"/>
|
---|
127 | </choice>
|
---|
128 | </zeroOrMore>
|
---|
129 | </choice>
|
---|
130 | </element>
|
---|
131 | </define>
|
---|
132 | </div>
|
---|
133 | <!-- ====================================================================== -->
|
---|
134 | <div>
|
---|
135 | <db:refname>biblioset</db:refname>
|
---|
136 | <db:refpurpose>A raw container for related bibliographic information</db:refpurpose>
|
---|
137 | <define name="db.biblioset.relation.attribute">
|
---|
138 | <ref name="db.relation.attribute"/>
|
---|
139 | </define>
|
---|
140 | <define name="db.biblioset.role.attribute">
|
---|
141 | <attribute name="role"/>
|
---|
142 | </define>
|
---|
143 | <define name="db.biblioset.attlist">
|
---|
144 | <interleave>
|
---|
145 | <optional>
|
---|
146 | <ref name="db.biblioset.role.attribute"/>
|
---|
147 | </optional>
|
---|
148 | <ref name="db.common.attributes"/>
|
---|
149 | <ref name="db.common.linking.attributes"/>
|
---|
150 | <optional>
|
---|
151 | <ref name="db.biblioset.relation.attribute"/>
|
---|
152 | </optional>
|
---|
153 | </interleave>
|
---|
154 | </define>
|
---|
155 | <define name="db.biblioset">
|
---|
156 | <element name="biblioset">
|
---|
157 | <ref name="db.biblioset.attlist"/>
|
---|
158 | <oneOrMore>
|
---|
159 | <ref name="db.bibliographic.elements"/>
|
---|
160 | </oneOrMore>
|
---|
161 | </element>
|
---|
162 | </define>
|
---|
163 | </div>
|
---|
164 | <!-- ====================================================================== -->
|
---|
165 | <div>
|
---|
166 | <db:refname>bibliomset</db:refname>
|
---|
167 | <db:refpurpose>A cooked container for related bibliographic information</db:refpurpose>
|
---|
168 | <define name="db.bibliomset.relation.attribute">
|
---|
169 | <ref name="db.relation.attribute"/>
|
---|
170 | </define>
|
---|
171 | <define name="db.bibliomset.role.attribute">
|
---|
172 | <attribute name="role"/>
|
---|
173 | </define>
|
---|
174 | <define name="db.bibliomset.attlist">
|
---|
175 | <interleave>
|
---|
176 | <optional>
|
---|
177 | <ref name="db.bibliomset.role.attribute"/>
|
---|
178 | </optional>
|
---|
179 | <ref name="db.common.attributes"/>
|
---|
180 | <ref name="db.common.linking.attributes"/>
|
---|
181 | <optional>
|
---|
182 | <ref name="db.bibliomset.relation.attribute"/>
|
---|
183 | </optional>
|
---|
184 | </interleave>
|
---|
185 | </define>
|
---|
186 | <define name="db.bibliomset">
|
---|
187 | <element name="bibliomset">
|
---|
188 | <ref name="db.bibliomset.attlist"/>
|
---|
189 | <choice>
|
---|
190 | <zeroOrMore>
|
---|
191 | <choice>
|
---|
192 | <ref name="db._text"/>
|
---|
193 | <ref name="db.honorific"/>
|
---|
194 | <ref name="db.firstname"/>
|
---|
195 | <ref name="db.surname"/>
|
---|
196 | <ref name="db.lineage"/>
|
---|
197 | <ref name="db.othername"/>
|
---|
198 | <ref name="db.bibliographic.elements"/>
|
---|
199 | </choice>
|
---|
200 | </zeroOrMore>
|
---|
201 | <zeroOrMore>
|
---|
202 | <choice>
|
---|
203 | <ref name="db._text"/>
|
---|
204 | <ref name="db.honorific"/>
|
---|
205 | <ref name="db.givenname"/>
|
---|
206 | <ref name="db.surname"/>
|
---|
207 | <ref name="db.lineage"/>
|
---|
208 | <ref name="db.othername"/>
|
---|
209 | <ref name="db.bibliographic.elements"/>
|
---|
210 | </choice>
|
---|
211 | </zeroOrMore>
|
---|
212 | </choice>
|
---|
213 | </element>
|
---|
214 | </define>
|
---|
215 | </div>
|
---|
216 | <!-- ====================================================================== -->
|
---|
217 | <div>
|
---|
218 | <db:refname>bibliomisc</db:refname>
|
---|
219 | <db:refpurpose>Untyped bibliographic information</db:refpurpose>
|
---|
220 | <define name="db.bibliomisc.role.attribute">
|
---|
221 | <attribute name="role"/>
|
---|
222 | </define>
|
---|
223 | <define name="db.bibliomisc.attlist">
|
---|
224 | <interleave>
|
---|
225 | <optional>
|
---|
226 | <ref name="db.bibliomisc.role.attribute"/>
|
---|
227 | </optional>
|
---|
228 | <ref name="db.common.attributes"/>
|
---|
229 | <ref name="db.common.linking.attributes"/>
|
---|
230 | </interleave>
|
---|
231 | </define>
|
---|
232 | <define name="db.bibliomisc">
|
---|
233 | <element name="bibliomisc">
|
---|
234 | <ref name="db.bibliomisc.attlist"/>
|
---|
235 | <ref name="db._text"/>
|
---|
236 | </element>
|
---|
237 | </define>
|
---|
238 | </div>
|
---|
239 | <!-- ====================================================================== -->
|
---|
240 | <div>
|
---|
241 | <db:refname>bibliography</db:refname>
|
---|
242 | <db:refpurpose>A bibliography</db:refpurpose>
|
---|
243 | <define name="db.bibliography.status.attrib">
|
---|
244 | <ref name="db.status.attribute"/>
|
---|
245 | </define>
|
---|
246 | <define name="db.bibliography.role.attribute">
|
---|
247 | <attribute name="role"/>
|
---|
248 | </define>
|
---|
249 | <define name="db.bibliography.attlist">
|
---|
250 | <interleave>
|
---|
251 | <optional>
|
---|
252 | <ref name="db.bibliography.role.attribute"/>
|
---|
253 | </optional>
|
---|
254 | <ref name="db.common.attributes"/>
|
---|
255 | <ref name="db.common.linking.attributes"/>
|
---|
256 | <optional>
|
---|
257 | <ref name="db.label.attribute"/>
|
---|
258 | </optional>
|
---|
259 | <optional>
|
---|
260 | <ref name="db.bibliography.status.attrib"/>
|
---|
261 | </optional>
|
---|
262 | </interleave>
|
---|
263 | </define>
|
---|
264 | <define name="db.bibliography.info">
|
---|
265 | <ref name="db._info"/>
|
---|
266 | </define>
|
---|
267 | <define name="db.bibliography">
|
---|
268 | <element name="bibliography">
|
---|
269 | <ref name="db.bibliography.attlist"/>
|
---|
270 | <ref name="db.bibliography.info"/>
|
---|
271 | <zeroOrMore>
|
---|
272 | <ref name="db.all.blocks"/>
|
---|
273 | </zeroOrMore>
|
---|
274 | <choice>
|
---|
275 | <oneOrMore>
|
---|
276 | <ref name="db.bibliodiv"/>
|
---|
277 | </oneOrMore>
|
---|
278 | <oneOrMore>
|
---|
279 | <choice>
|
---|
280 | <ref name="db.biblioentry"/>
|
---|
281 | <ref name="db.bibliomixed"/>
|
---|
282 | </choice>
|
---|
283 | </oneOrMore>
|
---|
284 | </choice>
|
---|
285 | </element>
|
---|
286 | </define>
|
---|
287 | </div>
|
---|
288 | <!-- ====================================================================== -->
|
---|
289 | <div>
|
---|
290 | <db:refname>bibliodiv</db:refname>
|
---|
291 | <db:refpurpose>A section of a bibliography</db:refpurpose>
|
---|
292 | <define name="db.bibliodiv.status.attrib">
|
---|
293 | <ref name="db.status.attribute"/>
|
---|
294 | </define>
|
---|
295 | <define name="db.bibliodiv.role.attribute">
|
---|
296 | <attribute name="role"/>
|
---|
297 | </define>
|
---|
298 | <define name="db.bibliodiv.attlist">
|
---|
299 | <interleave>
|
---|
300 | <optional>
|
---|
301 | <ref name="db.bibliodiv.role.attribute"/>
|
---|
302 | </optional>
|
---|
303 | <ref name="db.common.attributes"/>
|
---|
304 | <ref name="db.common.linking.attributes"/>
|
---|
305 | <optional>
|
---|
306 | <ref name="db.label.attribute"/>
|
---|
307 | </optional>
|
---|
308 | <optional>
|
---|
309 | <ref name="db.bibliodiv.status.attrib"/>
|
---|
310 | </optional>
|
---|
311 | </interleave>
|
---|
312 | </define>
|
---|
313 | <define name="db.bibliodiv.info">
|
---|
314 | <ref name="db._info.title.req"/>
|
---|
315 | </define>
|
---|
316 | <define name="db.bibliodiv">
|
---|
317 | <element name="bibliodiv">
|
---|
318 | <ref name="db.bibliodiv.attlist"/>
|
---|
319 | <ref name="db.bibliodiv.info"/>
|
---|
320 | <zeroOrMore>
|
---|
321 | <ref name="db.all.blocks"/>
|
---|
322 | </zeroOrMore>
|
---|
323 | <oneOrMore>
|
---|
324 | <choice>
|
---|
325 | <ref name="db.biblioentry"/>
|
---|
326 | <ref name="db.bibliomixed"/>
|
---|
327 | </choice>
|
---|
328 | </oneOrMore>
|
---|
329 | </element>
|
---|
330 | </define>
|
---|
331 | </div>
|
---|
332 | <!-- ====================================================================== -->
|
---|
333 | <div>
|
---|
334 | <db:refname>bibliolist</db:refname>
|
---|
335 | <db:refpurpose>A wrapper for a list of bibliography entries</db:refpurpose>
|
---|
336 | <define name="db.bibliolist.role.attribute">
|
---|
337 | <attribute name="role"/>
|
---|
338 | </define>
|
---|
339 | <define name="db.bibliolist.attlist">
|
---|
340 | <interleave>
|
---|
341 | <optional>
|
---|
342 | <ref name="db.bibliolist.role.attribute"/>
|
---|
343 | </optional>
|
---|
344 | <ref name="db.common.attributes"/>
|
---|
345 | <ref name="db.common.linking.attributes"/>
|
---|
346 | </interleave>
|
---|
347 | </define>
|
---|
348 | <define name="db.bibliolist.info">
|
---|
349 | <ref name="db._info.title.only"/>
|
---|
350 | </define>
|
---|
351 | <define name="db.bibliolist">
|
---|
352 | <element name="bibliolist">
|
---|
353 | <ref name="db.bibliolist.attlist"/>
|
---|
354 | <optional>
|
---|
355 | <ref name="db.bibliolist.info"/>
|
---|
356 | </optional>
|
---|
357 | <zeroOrMore>
|
---|
358 | <ref name="db.all.blocks"/>
|
---|
359 | </zeroOrMore>
|
---|
360 | <oneOrMore>
|
---|
361 | <choice>
|
---|
362 | <ref name="db.biblioentry"/>
|
---|
363 | <ref name="db.bibliomixed"/>
|
---|
364 | </choice>
|
---|
365 | </oneOrMore>
|
---|
366 | </element>
|
---|
367 | </define>
|
---|
368 | </div>
|
---|
369 | <!-- ====================================================================== -->
|
---|
370 | <div>
|
---|
371 | <db:refname>biblioref</db:refname>
|
---|
372 | <db:refpurpose>A cross-reference to a bibliographic entry</db:refpurpose>
|
---|
373 | <define name="db.biblioref.role.attribute">
|
---|
374 | <attribute name="role"/>
|
---|
375 | </define>
|
---|
376 | <define name="db.biblioref.xrefstyle.attribute">
|
---|
377 | <ref name="db.xrefstyle.attribute"/>
|
---|
378 | </define>
|
---|
379 | <define name="db.biblioref.endterm.attribute">
|
---|
380 | <ref name="db.endterm.attribute"/>
|
---|
381 | </define>
|
---|
382 | <define name="db.biblioref.units.attribute">
|
---|
383 | <attribute name="units">
|
---|
384 | <db:refpurpose>The units (for example, pages) used to identify the beginning and ending of a reference.</db:refpurpose>
|
---|
385 | <data type="token"/>
|
---|
386 | </attribute>
|
---|
387 | </define>
|
---|
388 | <define name="db.biblioref.begin.attribute">
|
---|
389 | <attribute name="begin">
|
---|
390 | <db:refpurpose>Identifies the beginning of a reference; the location within the work that is being referenced.</db:refpurpose>
|
---|
391 | <data type="token"/>
|
---|
392 | </attribute>
|
---|
393 | </define>
|
---|
394 | <define name="db.biblioref.end.attribute">
|
---|
395 | <attribute name="end">
|
---|
396 | <db:refpurpose>Identifies the end of a reference.</db:refpurpose>
|
---|
397 | <data type="token"/>
|
---|
398 | </attribute>
|
---|
399 | </define>
|
---|
400 | <define name="db.biblioref.attlist">
|
---|
401 | <interleave>
|
---|
402 | <optional>
|
---|
403 | <ref name="db.biblioref.role.attribute"/>
|
---|
404 | </optional>
|
---|
405 | <ref name="db.common.attributes"/>
|
---|
406 | <ref name="db.common.req.linking.attributes"/>
|
---|
407 | <optional>
|
---|
408 | <ref name="db.biblioref.xrefstyle.attribute"/>
|
---|
409 | </optional>
|
---|
410 | <optional>
|
---|
411 | <ref name="db.biblioref.endterm.attribute"/>
|
---|
412 | </optional>
|
---|
413 | <optional>
|
---|
414 | <ref name="db.biblioref.units.attribute"/>
|
---|
415 | </optional>
|
---|
416 | <optional>
|
---|
417 | <ref name="db.biblioref.begin.attribute"/>
|
---|
418 | </optional>
|
---|
419 | <optional>
|
---|
420 | <ref name="db.biblioref.end.attribute"/>
|
---|
421 | </optional>
|
---|
422 | </interleave>
|
---|
423 | </define>
|
---|
424 | <define name="db.biblioref">
|
---|
425 | <element name="biblioref">
|
---|
426 | <ref name="db.biblioref.attlist"/>
|
---|
427 | <empty/>
|
---|
428 | </element>
|
---|
429 | </define>
|
---|
430 | </div>
|
---|
431 | </grammar>
|
---|