summaryrefslogtreecommitdiff
path: root/slides/schema/xsd/hier.xsd
blob: 59a975045fb6fb66a83614435a6d9ae97a32a15b (plain)
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
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
<?xml version="1.0" encoding="UTF-8"?>
<!--
  This file is part of DocBook V5.0
  
  Copyright 1992-2008 HaL Computer Systems, Inc.,
  O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
  Corporation, Norman Walsh, Sun Microsystems, Inc., and the
  Organization for the Advancement of Structured Information
  Standards (OASIS).
  
  Release: $Id: hier.rnc 8994 2011-04-19 20:07:33Z nwalsh $
  
  Permission to use, copy, modify and distribute the DocBook schema
  and its accompanying documentation for any purpose and without fee
  is hereby granted in perpetuity, provided that the above copyright
  notice and this paragraph appear in all copies. The copyright
  holders make no representation about the suitability of the schema
  for any purpose. It is provided "as is" without expressed or implied
  warranty.
  
  If you modify the DocBook schema in any way, label your schema as a
  variant of DocBook. See the reference documentation
  (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
  for more information.
  
  Please direct all questions, bug reports, or suggestions for changes
  to the docbook@lists.oasis-open.org mailing list. For more
  information, see http://www.oasis-open.org/docbook/.
  
  ======================================================================
-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://docbook.org/ns/docbook" xmlns:dbs="http://docbook.org/ns/docbook-slides" xmlns:db="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
  <xs:import namespace="http://docbook.org/ns/docbook-slides" schemaLocation="slides.xsd"/>
  <xs:import namespace="http://www.w3.org/1999/xlink" schemaLocation="xlink.xsd"/>
  <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/>
  <xs:attributeGroup name="db.status.attribute">
    <xs:attribute name="status" use="required"/>
  </xs:attributeGroup>
  <!-- ====================================================================== -->
  <xs:group name="db.toplevel.sections">
    <xs:choice>
      <xs:choice>
        <xs:sequence>
          <xs:element maxOccurs="unbounded" ref="db:section"/>
          <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:simplesect"/>
        </xs:sequence>
        <xs:element maxOccurs="unbounded" ref="db:simplesect"/>
      </xs:choice>
      <xs:sequence>
        <xs:element maxOccurs="unbounded" ref="db:sect1"/>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:simplesect"/>
      </xs:sequence>
      <xs:element maxOccurs="unbounded" ref="db:refentry"/>
    </xs:choice>
  </xs:group>
  <xs:group name="db.toplevel.blocks.or.sections">
    <xs:choice>
      <xs:sequence>
        <xs:group maxOccurs="unbounded" ref="db:db.all.blocks"/>
        <xs:group minOccurs="0" ref="db:db.toplevel.sections"/>
      </xs:sequence>
      <xs:group ref="db:db.toplevel.sections"/>
    </xs:choice>
  </xs:group>
  <xs:group name="db.recursive.sections">
    <xs:choice>
      <xs:choice>
        <xs:sequence>
          <xs:element maxOccurs="unbounded" ref="db:section"/>
          <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:simplesect"/>
        </xs:sequence>
        <xs:element maxOccurs="unbounded" ref="db:simplesect"/>
      </xs:choice>
      <xs:element maxOccurs="unbounded" ref="db:refentry"/>
    </xs:choice>
  </xs:group>
  <xs:group name="db.recursive.blocks.or.sections">
    <xs:choice>
      <xs:sequence>
        <xs:group maxOccurs="unbounded" ref="db:db.all.blocks"/>
        <xs:group minOccurs="0" ref="db:db.recursive.sections"/>
      </xs:sequence>
      <xs:group ref="db:db.recursive.sections"/>
    </xs:choice>
  </xs:group>
  <!-- ====================================================================== -->
  <xs:element name="db.divisions" abstract="true"/>
  <xs:element name="db.components" abstract="true"/>
  <xs:group name="db.navigation.components">
    <xs:choice>
      <xs:element ref="db:glossary"/>
      <xs:element ref="db:bibliography"/>
      <xs:element ref="db:index"/>
      <xs:element ref="db:toc"/>
    </xs:choice>
  </xs:group>
  <xs:group name="db.component.contentmodel">
    <xs:sequence>
      <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.navigation.components"/>
      <xs:group ref="db:db.toplevel.blocks.or.sections"/>
      <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.navigation.components"/>
    </xs:sequence>
  </xs:group>
  <!-- ====================================================================== -->
  <xs:element name="db.setindex.components" abstract="true">
    <xs:complexType>
      <xs:sequence>
        <xs:group ref="db:db.setindex.info"/>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.blocks"/>
        <xs:choice>
          <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:indexdiv"/>
          <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:indexentry"/>
        </xs:choice>
      </xs:sequence>
      <xs:attributeGroup ref="db:db.setindex.attlist"/>
    </xs:complexType>
  </xs:element>
  <xs:group name="db.toc.components">
    <xs:sequence>
      <xs:element ref="db:toc"/>
    </xs:sequence>
  </xs:group>
  <xs:element name="db.set.components" abstract="true"/>
  <!-- ====================================================================== -->
  <xs:attributeGroup name="db.set.status.attribute">
    <xs:attributeGroup ref="db:db.status.attribute"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="db.set.role.attribute">
    <xs:attribute name="role" use="required"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="db.set.attlist">
    <xs:attribute name="role"/>
    <xs:attributeGroup ref="dbs:db.common.attributes"/>
    <xs:attributeGroup ref="db:db.common.linking.attributes"/>
    <xs:attribute name="label"/>
    <xs:attribute name="status"/>
  </xs:attributeGroup>
  <xs:group name="db.set.info">
    <xs:sequence>
      <xs:group ref="db:db._info.title.req"/>
    </xs:sequence>
  </xs:group>
  <xs:element name="set" substitutionGroup="db:db.set.components">
    <xs:complexType>
      <xs:sequence>
        <xs:group ref="db:db.set.info"/>
        <xs:group minOccurs="0" ref="db:db.toc.components"/>
        <xs:element maxOccurs="unbounded" ref="db:db.set.components"/>
        <xs:element minOccurs="0" ref="db:db.setindex.components"/>
      </xs:sequence>
      <xs:attributeGroup ref="db:db.set.attlist"/>
    </xs:complexType>
  </xs:element>
  <!-- ====================================================================== -->
  <xs:group name="db.book.components">
    <xs:choice>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="db:db.navigation.components"/>
        <xs:element ref="db:db.components"/>
        <xs:element ref="db:db.divisions"/>
      </xs:choice>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:topic"/>
    </xs:choice>
  </xs:group>
  <!-- ====================================================================== -->
  <xs:attributeGroup name="db.book.status.attribute">
    <xs:attributeGroup ref="db:db.status.attribute"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="db.book.role.attribute">
    <xs:attribute name="role" use="required"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="db.book.attlist">
    <xs:attribute name="role"/>
    <xs:attributeGroup ref="dbs:db.common.attributes"/>
    <xs:attributeGroup ref="db:db.common.linking.attributes"/>
    <xs:attribute name="label"/>
    <xs:attribute name="status"/>
  </xs:attributeGroup>
  <xs:group name="db.book.info">
    <xs:sequence>
      <xs:group ref="db:db._info"/>
    </xs:sequence>
  </xs:group>
  <xs:element name="book" substitutionGroup="db:db.set.components">
    <xs:complexType>
      <xs:sequence>
        <xs:group ref="db:db.book.info"/>
        <xs:group ref="db:db.book.components"/>
      </xs:sequence>
      <xs:attributeGroup ref="db:db.book.attlist"/>
    </xs:complexType>
  </xs:element>
  <!-- ====================================================================== -->
  <xs:attributeGroup name="db.dedication.status.attribute">
    <xs:attributeGroup ref="db:db.status.attribute"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="db.dedication.role.attribute">
    <xs:attribute name="role" use="required"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="db.dedication.attlist">
    <xs:attribute name="role"/>
    <xs:attributeGroup ref="dbs:db.common.attributes"/>
    <xs:attributeGroup ref="db:db.common.linking.attributes"/>
    <xs:attribute name="label"/>
    <xs:attribute name="status"/>
  </xs:attributeGroup>
  <xs:group name="db.dedication.info">
    <xs:sequence>
      <xs:group ref="db:db._info"/>
    </xs:sequence>
  </xs:group>
  <xs:element name="dedication" substitutionGroup="db:db.components">
    <xs:complexType>
      <xs:sequence>
        <xs:group ref="db:db.dedication.info"/>
        <xs:group maxOccurs="unbounded" ref="db:db.all.blocks"/>
      </xs:sequence>
      <xs:attributeGroup ref="db:db.dedication.attlist"/>
    </xs:complexType>
  </xs:element>
  <!-- ====================================================================== -->
  <xs:attributeGroup name="db.acknowledgements.status.attribute">
    <xs:attributeGroup ref="db:db.status.attribute"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="db.acknowledgements.role.attribute">
    <xs:attribute name="role" use="required"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="db.acknowledgements.attlist">
    <xs:attribute name="role"/>
    <xs:attributeGroup ref="dbs:db.common.attributes"/>
    <xs:attributeGroup ref="db:db.common.linking.attributes"/>
    <xs:attribute name="label"/>
    <xs:attribute name="status"/>
  </xs:attributeGroup>
  <xs:group name="db.acknowledgements.info">
    <xs:sequence>
      <xs:group ref="db:db._info"/>
    </xs:sequence>
  </xs:group>
  <xs:element name="acknowledgements" substitutionGroup="db:db.components">
    <xs:complexType>
      <xs:sequence>
        <xs:group ref="db:db.acknowledgements.info"/>
        <xs:group maxOccurs="unbounded" ref="db:db.all.blocks"/>
      </xs:sequence>
      <xs:attributeGroup ref="db:db.acknowledgements.attlist"/>
    </xs:complexType>
  </xs:element>
  <!-- ====================================================================== -->
  <xs:attributeGroup name="db.colophon.status.attribute">
    <xs:attributeGroup ref="db:db.status.attribute"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="db.colophon.role.attribute">
    <xs:attribute name="role" use="required"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="db.colophon.attlist">
    <xs:attribute name="role"/>
    <xs:attributeGroup ref="dbs:db.common.attributes"/>
    <xs:attributeGroup ref="db:db.common.linking.attributes"/>
    <xs:attribute name="label"/>
    <xs:attribute name="status"/>
  </xs:attributeGroup>
  <xs:group name="db.colophon.info">
    <xs:sequence>
      <xs:group ref="db:db._info"/>
    </xs:sequence>
  </xs:group>
  <xs:element name="colophon" substitutionGroup="db:db.components">
    <xs:complexType>
      <xs:sequence>
        <xs:group ref="db:db.colophon.info"/>
        <xs:choice>
          <xs:sequence>
            <xs:group maxOccurs="unbounded" ref="db:db.all.blocks"/>
            <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:simplesect"/>
          </xs:sequence>
          <xs:sequence>
            <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.blocks"/>
            <xs:element maxOccurs="unbounded" ref="db:simplesect"/>
          </xs:sequence>
        </xs:choice>
      </xs:sequence>
      <xs:attributeGroup ref="db:db.colophon.attlist"/>
    </xs:complexType>
  </xs:element>
  <!-- ====================================================================== -->
  <xs:group name="db.appendix.contentmodel">
    <xs:choice>
      <xs:group ref="db:db.component.contentmodel"/>
      <xs:element maxOccurs="unbounded" ref="db:topic"/>
    </xs:choice>
  </xs:group>
  <!-- ====================================================================== -->
  <xs:attributeGroup name="db.appendix.status.attribute">
    <xs:attributeGroup ref="db:db.status.attribute"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="db.appendix.role.attribute">
    <xs:attribute name="role" use="required"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="db.appendix.attlist">
    <xs:attribute name="role"/>
    <xs:attributeGroup ref="dbs:db.common.attributes"/>
    <xs:attributeGroup ref="db:db.common.linking.attributes"/>
    <xs:attribute name="label"/>
    <xs:attribute name="status"/>
  </xs:attributeGroup>
  <xs:group name="db.appendix.info">
    <xs:sequence>
      <xs:group ref="db:db._info.title.req"/>
    </xs:sequence>
  </xs:group>
  <xs:element name="appendix" substitutionGroup="db:db.components">
    <xs:complexType>
      <xs:sequence>
        <xs:group ref="db:db.appendix.info"/>
        <xs:group ref="db:db.appendix.contentmodel"/>
      </xs:sequence>
      <xs:attributeGroup ref="db:db.appendix.attlist"/>
    </xs:complexType>
  </xs:element>
  <!-- ====================================================================== -->
  <xs:group name="db.chapter.contentmodel">
    <xs:choice>
      <xs:group ref="db:db.component.contentmodel"/>
      <xs:element maxOccurs="unbounded" ref="db:topic"/>
    </xs:choice>
  </xs:group>
  <!-- ====================================================================== -->
  <xs:attributeGroup name="db.chapter.status.attribute">
    <xs:attributeGroup ref="db:db.status.attribute"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="db.chapter.role.attribute">
    <xs:attribute name="role" use="required"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="db.chapter.attlist">
    <xs:attribute name="role"/>
    <xs:attributeGroup ref="dbs:db.common.attributes"/>
    <xs:attributeGroup ref="db:db.common.linking.attributes"/>
    <xs:attribute name="label"/>
    <xs:attribute name="status"/>
  </xs:attributeGroup>
  <xs:group name="db.chapter.info">
    <xs:sequence>
      <xs:group ref="db:db._info.title.req"/>
    </xs:sequence>
  </xs:group>
  <xs:element name="chapter" substitutionGroup="db:db.components">
    <xs:complexType>
      <xs:sequence>
        <xs:group ref="db:db.chapter.info"/>
        <xs:group ref="db:db.chapter.contentmodel"/>
      </xs:sequence>
      <xs:attributeGroup ref="db:db.chapter.attlist"/>
    </xs:complexType>
  </xs:element>
  <!-- ====================================================================== -->
  <xs:group name="db.part.components">
    <xs:choice>
      <xs:choice>
        <xs:group ref="db:db.navigation.components"/>
        <xs:element ref="db:db.components"/>
      </xs:choice>
      <xs:choice>
        <xs:element ref="db:refentry"/>
        <xs:element ref="db:reference"/>
      </xs:choice>
    </xs:choice>
  </xs:group>
  <xs:group name="db.part.contentmodel">
    <xs:choice>
      <xs:group maxOccurs="unbounded" ref="db:db.part.components"/>
      <xs:element maxOccurs="unbounded" ref="db:topic"/>
    </xs:choice>
  </xs:group>
  <!-- ====================================================================== -->
  <xs:attributeGroup name="db.part.status.attribute">
    <xs:attributeGroup ref="db:db.status.attribute"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="db.part.role.attribute">
    <xs:attribute name="role" use="required"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="db.part.attlist">
    <xs:attribute name="role"/>
    <xs:attributeGroup ref="dbs:db.common.attributes"/>
    <xs:attributeGroup ref="db:db.common.linking.attributes"/>
    <xs:attribute name="label"/>
    <xs:attribute name="status"/>
  </xs:attributeGroup>
  <xs:group name="db.part.info">
    <xs:sequence>
      <xs:group ref="db:db._info.title.req"/>
    </xs:sequence>
  </xs:group>
  <xs:element name="part" substitutionGroup="db:db.divisions">
    <xs:complexType>
      <xs:sequence>
        <xs:group ref="db:db.part.info"/>
        <xs:element minOccurs="0" ref="db:partintro"/>
        <xs:group ref="db:db.part.contentmodel"/>
      </xs:sequence>
      <xs:attributeGroup ref="db:db.part.attlist"/>
    </xs:complexType>
  </xs:element>
  <!-- ====================================================================== -->
  <xs:attributeGroup name="db.preface.status.attribute">
    <xs:attributeGroup ref="db:db.status.attribute"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="db.preface.role.attribute">
    <xs:attribute name="role" use="required"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="db.preface.attlist">
    <xs:attribute name="role"/>
    <xs:attributeGroup ref="dbs:db.common.attributes"/>
    <xs:attributeGroup ref="db:db.common.linking.attributes"/>
    <xs:attribute name="label"/>
    <xs:attribute name="status"/>
  </xs:attributeGroup>
  <xs:group name="db.preface.info">
    <xs:sequence>
      <xs:group ref="db:db._info.title.req"/>
    </xs:sequence>
  </xs:group>
  <xs:element name="preface" substitutionGroup="db:db.components">
    <xs:complexType>
      <xs:sequence>
        <xs:group ref="db:db.preface.info"/>
        <xs:group ref="db:db.component.contentmodel"/>
      </xs:sequence>
      <xs:attributeGroup ref="db:db.preface.attlist"/>
    </xs:complexType>
  </xs:element>
  <!-- ====================================================================== -->
  <xs:attributeGroup name="db.partintro.status.attribute">
    <xs:attributeGroup ref="db:db.status.attribute"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="db.partintro.role.attribute">
    <xs:attribute name="role" use="required"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="db.partintro.attlist">
    <xs:attribute name="role"/>
    <xs:attributeGroup ref="dbs:db.common.attributes"/>
    <xs:attributeGroup ref="db:db.common.linking.attributes"/>
    <xs:attribute name="label"/>
    <xs:attribute name="status"/>
  </xs:attributeGroup>
  <xs:group name="db.partintro.info">
    <xs:sequence>
      <xs:group ref="db:db._info"/>
    </xs:sequence>
  </xs:group>
  <xs:element name="partintro">
    <xs:complexType>
      <xs:sequence>
        <xs:group ref="db:db.partintro.info"/>
        <xs:group ref="db:db.toplevel.blocks.or.sections"/>
      </xs:sequence>
      <xs:attributeGroup ref="db:db.partintro.attlist"/>
    </xs:complexType>
  </xs:element>
  <!-- ====================================================================== -->
  <xs:attributeGroup name="db.section.status.attribute">
    <xs:attributeGroup ref="db:db.status.attribute"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="db.section.role.attribute">
    <xs:attribute name="role" use="required"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="db.section.attlist">
    <xs:attribute name="role"/>
    <xs:attributeGroup ref="dbs:db.common.attributes"/>
    <xs:attributeGroup ref="db:db.common.linking.attributes"/>
    <xs:attribute name="label"/>
    <xs:attribute name="status"/>
  </xs:attributeGroup>
  <xs:group name="db.section.info">
    <xs:sequence>
      <xs:group ref="db:db._info.title.req"/>
    </xs:sequence>
  </xs:group>
  <xs:element name="section">
    <xs:complexType>
      <xs:sequence>
        <xs:group ref="db:db.section.info"/>
        <xs:group ref="db:db.recursive.blocks.or.sections"/>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.navigation.components"/>
      </xs:sequence>
      <xs:attributeGroup ref="db:db.section.attlist"/>
    </xs:complexType>
  </xs:element>
  <!-- ====================================================================== -->
  <xs:attributeGroup name="db.simplesect.status.attribute">
    <xs:attributeGroup ref="db:db.status.attribute"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="db.simplesect.role.attribute">
    <xs:attribute name="role" use="required"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="db.simplesect.attlist">
    <xs:attribute name="role"/>
    <xs:attributeGroup ref="dbs:db.common.attributes"/>
    <xs:attributeGroup ref="db:db.common.linking.attributes"/>
    <xs:attribute name="label"/>
    <xs:attribute name="status"/>
  </xs:attributeGroup>
  <xs:group name="db.simplesect.info">
    <xs:sequence>
      <xs:group ref="db:db._info.title.req"/>
    </xs:sequence>
  </xs:group>
  <xs:element name="simplesect">
    <xs:complexType>
      <xs:sequence>
        <xs:group ref="db:db.simplesect.info"/>
        <xs:group maxOccurs="unbounded" ref="db:db.all.blocks"/>
      </xs:sequence>
      <xs:attributeGroup ref="db:db.simplesect.attlist"/>
    </xs:complexType>
  </xs:element>
  <!-- ====================================================================== -->
  <xs:group name="db.article.components">
    <xs:sequence>
      <xs:group ref="db:db.toplevel.sections"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="db.article.navcomponents">
    <xs:choice>
      <xs:group ref="db:db.navigation.components"/>
      <xs:element ref="db:acknowledgements"/>
      <xs:element ref="db:dedication"/>
      <xs:element ref="db:appendix"/>
      <xs:element ref="db:colophon"/>
    </xs:choice>
  </xs:group>
  <!-- ====================================================================== -->
  <xs:attributeGroup name="db.article.status.attribute">
    <xs:attributeGroup ref="db:db.status.attribute"/>
  </xs:attributeGroup>
  <xs:simpleType name="db.article.class.enumeration">
    <xs:restriction base="xs:token">
      <xs:enumeration value="faq">
        <xs:annotation>
          <xs:documentation>A collection of frequently asked questions.</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="journalarticle">
        <xs:annotation>
          <xs:documentation>An article in a journal or other periodical.</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="productsheet">
        <xs:annotation>
          <xs:documentation>A description of a product.</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="specification">
        <xs:annotation>
          <xs:documentation>A specification.</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="techreport">
        <xs:annotation>
          <xs:documentation>A technical report.</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="whitepaper">
        <xs:annotation>
          <xs:documentation>A white paper.</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:attributeGroup name="db.article.class.attribute">
    <xs:attribute name="class" use="required" type="db:db.article.class.enumeration"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="db.article.role.attribute">
    <xs:attribute name="role" use="required"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="db.article.attlist">
    <xs:attribute name="role"/>
    <xs:attributeGroup ref="dbs:db.common.attributes"/>
    <xs:attributeGroup ref="db:db.common.linking.attributes"/>
    <xs:attribute name="label"/>
    <xs:attribute name="status"/>
    <xs:attribute name="class" type="db:db.article.class.enumeration"/>
  </xs:attributeGroup>
  <xs:group name="db.article.info">
    <xs:sequence>
      <xs:group ref="db:db._info.title.req"/>
    </xs:sequence>
  </xs:group>
  <xs:element name="article" substitutionGroup="db:db.components">
    <xs:complexType>
      <xs:sequence>
        <xs:group ref="db:db.article.info"/>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.article.navcomponents"/>
        <xs:choice>
          <xs:sequence>
            <xs:group maxOccurs="unbounded" ref="db:db.all.blocks"/>
            <xs:group minOccurs="0" ref="db:db.article.components"/>
          </xs:sequence>
          <xs:group ref="db:db.article.components"/>
        </xs:choice>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.article.navcomponents"/>
      </xs:sequence>
      <xs:attributeGroup ref="db:db.article.attlist"/>
    </xs:complexType>
  </xs:element>
</xs:schema>