Debian Codegraph @

docbook-xsl-ns/assembly/schema/assembly51b7.rnc

raw
1 namespace a = "http://relaxng.org/ns/compatibility/annotations/1.0"
2 namespace ctrl = "http://nwalsh.com/xmlns/schema-control/"
3 default namespace db = "http://docbook.org/ns/docbook"
4 namespace html = "http://www.w3.org/1999/xhtml"
5 namespace mml = "http://www.w3.org/1998/Math/MathML"
6 namespace rng = "http://relaxng.org/ns/structure/1.0"
7 namespace s = "http://purl.oclc.org/dsdl/schematron"
8 namespace svg = "http://www.w3.org/2000/svg"
9 namespace xlink = "http://www.w3.org/1999/xlink"
10
11 # This file is part of DocBook Assembly V5.1b7
12 #
13 # Copyright 2008-2011 HaL Computer Systems, Inc.,
14 # O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
15 # Corporation, Norman Walsh, Sun Microsystems, Inc., and the
16 # Organization for the Advancement of Structured Information
17 # Standards (OASIS).
18 #
19 # Permission to use, copy, modify and distribute the DocBook schema
20 # and its accompanying documentation for any purpose and without fee
21 # is hereby granted in perpetuity, provided that the above copyright
22 # notice and this paragraph appear in all copies. The copyright
23 # holders make no representation about the suitability of the schema
24 # for any purpose. It is provided "as is" without expressed or implied
25 # warranty.
26 #
27 # If you modify the DocBook schema in any way, label your schema as a
28 # variant of DocBook. See the reference documentation
29 # (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
30 # for more information.
31 #
32 # Please direct all questions, bug reports, or suggestions for changes
33 # to the [email protected] mailing list. For more
34 # information, see http://www.oasis-open.org/docbook/.
35 #
36 # ======================================================================
37 div {
38 db._any.attribute =
39
40 ## Any attribute, including any attribute in any namespace.
41 attribute * { text }
42 db._any =
43
44 ## Any element from almost any namespace
45 element * - (db:* | html:*) {
46 (db._any.attribute | text | db._any)*
47 }
48 }
49 db.arch.attribute =
50
51 ## Designates the computer or chip architecture to which the element applies
52 attribute arch { text }
53 db.audience.attribute =
54
55 ## Designates the intended audience to which the element applies, for example, system administrators, programmers, or new users.
56 attribute audience { text }
57 db.condition.attribute =
58
59 ## provides a standard place for application-specific effectivity
60 attribute condition { text }
61 db.conformance.attribute =
62
63 ## Indicates standards conformance characteristics of the element
64 attribute conformance { text }
65 db.os.attribute =
66
67 ## Indicates the operating system to which the element is applicable
68 attribute os { text }
69 db.revision.attribute =
70
71 ## Indicates the editorial revision to which the element belongs
72 attribute revision { text }
73 db.security.attribute =
74
75 ## Indicates something about the security level associated with the element to which it applies
76 attribute security { text }
77 db.userlevel.attribute =
78
79 ## Indicates the level of user experience for which the element applies
80 attribute userlevel { text }
81 db.vendor.attribute =
82
83 ## Indicates the computer vendor to which the element applies.
84 attribute vendor { text }
85 db.wordsize.attribute =
86
87 ## Indicates the word size (width in bits) of the computer architecture to which the element applies
88 attribute wordsize { text }
89 db.effectivity.attributes =
90 db.arch.attribute?
91 & db.audience.attribute?
92 & db.condition.attribute?
93 & db.conformance.attribute?
94 & db.os.attribute?
95 & db.revision.attribute?
96 & db.security.attribute?
97 & db.userlevel.attribute?
98 & db.vendor.attribute?
99 & db.wordsize.attribute?
100 db.endterm.attribute =
101
102 ## Points to the element whose content is to be used as the text of the link
103 attribute endterm { xsd:IDREF }
104 db.linkend.attribute =
105
106 ## Points to an internal link target by identifying the value of its xml:id attribute
107 attribute linkend { xsd:IDREF }
108 db.linkends.attribute =
109
110 ## Points to one or more internal link targets by identifying the value of their xml:id attributes
111 attribute linkends { xsd:IDREFS }
112 db.xlink.href.attribute =
113
114 ## Identifies a link target with a URI
115 attribute xlink:href { xsd:anyURI }
116 db.xlink.simple.type.attribute =
117
118 ## Identifies the XLink link type
119 attribute xlink:type {
120
121 ## An XLink simple link type
122 "simple"
123 }
124 db.xlink.role.attribute =
125
126 ## Identifies the XLink role of the link
127 attribute xlink:role { xsd:anyURI }
128 db.xlink.arcrole.attribute =
129
130 ## Identifies the XLink arcrole of the link
131 attribute xlink:arcrole { xsd:anyURI }
132 db.xlink.title.attribute =
133
134 ## Identifies the XLink title of the link
135 attribute xlink:title { text }
136 db.xlink.show.enumeration =
137
138 ## An application traversing to the ending resource should load it in a new window, frame, pane, or other relevant presentation context.
139 "new"
140 |
141 ## An application traversing to the ending resource should load the resource in the same window, frame, pane, or other relevant presentation context in which the starting resource was loaded.
142 "replace"
143 |
144 ## An application traversing to the ending resource should load its presentation in place of the presentation of the starting resource.
145 "embed"
146 |
147 ## The behavior of an application traversing to the ending resource is unconstrained by XLink. The application should look for other markup present in the link to determine the appropriate behavior.
148 "other"
149 |
150 ## The behavior of an application traversing to the ending resource is unconstrained by this specification. No other markup is present to help the application determine the appropriate behavior.
151 "none"
152 db.xlink.show.attribute =
153
154 ## Identifies the XLink show behavior of the link
155 attribute xlink:show { db.xlink.show.enumeration }
156 db.xlink.actuate.enumeration =
157
158 ## An application should traverse to the ending resource immediately on loading the starting resource.
159 "onLoad"
160 |
161 ## An application should traverse from the starting resource to the ending resource only on a post-loading event triggered for the purpose of traversal.
162 "onRequest"
163 |
164 ## The behavior of an application traversing to the ending resource is unconstrained by this specification. The application should look for other markup present in the link to determine the appropriate behavior.
165 "other"
166 |
167 ## The behavior of an application traversing to the ending resource is unconstrained by this specification. No other markup is present to help the application determine the appropriate behavior.
168 "none"
169 db.xlink.actuate.attribute =
170
171 ## Identifies the XLink actuate behavior of the link
172 attribute xlink:actuate { db.xlink.actuate.enumeration }
173 db.xlink.simple.link.attributes =
174 db.xlink.simple.type.attribute?
175 & db.xlink.href.attribute?
176 & db.xlink.role.attribute?
177 & db.xlink.arcrole.attribute?
178 & db.xlink.title.attribute?
179 & db.xlink.show.attribute?
180 & db.xlink.actuate.attribute?
181 db.xlink.attributes =
182 db.xlink.simple.link.attributes
183 | (db.xlink.extended.link.attributes
184 | db.xlink.locator.link.attributes
185 | db.xlink.arc.link.attributes
186 | db.xlink.resource.link.attributes
187 | db.xlink.title.link.attributes)
188 db.xml.id.attribute =
189
190 ## Identifies the unique ID value of the element
191 attribute xml:id { xsd:ID }
192 db.version.attribute =
193
194 ## Specifies the DocBook version of the element and its descendants
195 attribute version { text }
196 db.xml.lang.attribute =
197
198 ## Specifies the natural language of the element and its descendants
199 attribute xml:lang { text }
200 db.xml.base.attribute =
201
202 ## Specifies the base URI of the element and its descendants
203 attribute xml:base { xsd:anyURI }
204 db.remap.attribute =
205
206 ## Provides the name or similar semantic identifier assigned to the content in some previous markup scheme
207 attribute remap { text }
208 db.xreflabel.attribute =
209
210 ## Provides the text that is to be generated for a cross reference to the element
211 attribute xreflabel { text }
212 db.xrefstyle.attribute =
213
214 ## Specifies a keyword or keywords identifying additional style information
215 attribute xrefstyle { text }
216 db.revisionflag.enumeration =
217
218 ## The element has been changed.
219 "changed"
220 |
221 ## The element is new (has been added to the document).
222 "added"
223 |
224 ## The element has been deleted.
225 "deleted"
226 |
227 ## Explicitly turns off revision markup for this element.
228 "off"
229 db.revisionflag.attribute =
230
231 ## Identifies the revision status of the element
232 attribute revisionflag { db.revisionflag.enumeration }
233 db.dir.enumeration =
234
235 ## Left-to-right text
236 "ltr"
237 |
238 ## Right-to-left text
239 "rtl"
240 |
241 ## Left-to-right override
242 "lro"
243 |
244 ## Right-to-left override
245 "rlo"
246 db.dir.attribute =
247
248 ## Identifies the direction of text in an element
249 attribute dir { db.dir.enumeration }
250 db.common.base.attributes =
251 db.version.attribute?
252 & db.xml.lang.attribute?
253 & db.xml.base.attribute?
254 & db.remap.attribute?
255 & db.xreflabel.attribute?
256 & db.revisionflag.attribute?
257 & db.dir.attribute?
258 & db.effectivity.attributes
259 db.common.attributes =
260 db.xml.id.attribute?
261 & db.common.base.attributes
262 & db.annotations.attribute?
263 db.common.idreq.attributes =
264 db.xml.id.attribute
265 & db.common.base.attributes
266 & db.annotations.attribute?
267 db.common.linking.attributes =
268 (db.linkend.attribute | db.xlink.attributes)?
269 db.common.req.linking.attributes =
270 db.linkend.attribute | db.xlink.attributes
271 db.common.data.attributes =
272
273 ## Specifies the format of the data
274 attribute format { text }?,
275 (
276 ## Indentifies the location of the data by URI
277 attribute fileref { xsd:anyURI }
278 |
279 ## Identifies the location of the data by external identifier (entity name)
280 attribute entityref { xsd:ENTITY })
281 db.verbatim.continuation.enumeration =
282
283 ## Line numbering continues from the immediately preceding element with the same name.
284 "continues"
285 |
286 ## Line numbering restarts (begins at 1, usually).
287 "restarts"
288 db.verbatim.continuation.attribute =
289
290 ## Determines whether line numbering continues from the previous element or restarts.
291 attribute continuation { db.verbatim.continuation.enumeration }
292 db.verbatim.linenumbering.enumeration =
293
294 ## Lines are numbered.
295 "numbered"
296 |
297 ## Lines are not numbered.
298 "unnumbered"
299 db.verbatim.linenumbering.attribute =
300
301 ## Determines whether lines are numbered.
302 attribute linenumbering { db.verbatim.linenumbering.enumeration }
303 db.verbatim.startinglinenumber.attribute =
304
305 ## Specifies the initial line number.
306 attribute startinglinenumber { xsd:integer }
307 db.verbatim.language.attribute =
308
309 ## Identifies the language (i.e. programming language) of the verbatim content.
310 attribute language { text }
311 db.verbatim.xml.space.attribute =
312
313 ## Can be used to indicate explicitly that whitespace in the verbatim environment is preserved. Whitespace must always be preserved in verbatim environments whether this attribute is specified or not.
314 attribute xml:space {
315
316 ## Whitespace must be preserved.
317 "preserve"
318 }
319 db.verbatim.common.attributes =
320 db.verbatim.continuation.attribute?
321 & db.verbatim.linenumbering.attribute?
322 & db.verbatim.startinglinenumber.attribute?
323 & db.verbatim.xml.space.attribute?
324 db.verbatim.attributes =
325 db.verbatim.common.attributes & db.verbatim.language.attribute?
326 db.label.attribute =
327
328 ## Specifies an identifying string for presentation purposes
329 attribute label { text }
330 db.width.characters.attribute =
331
332 ## Specifies the width (in characters) of the element
333 attribute width { xsd:nonNegativeInteger }
334 db.spacing.enumeration =
335
336 ## The spacing should be "compact".
337 "compact"
338 |
339 ## The spacing should be "normal".
340 "normal"
341 db.spacing.attribute =
342
343 ## Specifies (a hint about) the spacing of the content
344 attribute spacing { db.spacing.enumeration }
345 db.pgwide.enumeration =
346
347 ## The element should be rendered in the current text flow (with the flow column width).
348 "0"
349 |
350 ## The element should be rendered across the full text page.
351 "1"
352 db.pgwide.attribute =
353
354 ## Indicates if the element is rendered across the column or the page
355 attribute pgwide { db.pgwide.enumeration }
356 db.language.attribute =
357
358 ## Identifies the language (i.e. programming language) of the content.
359 attribute language { text }
360 db.performance.enumeration =
361
362 ## The content describes an optional step or steps.
363 "optional"
364 |
365 ## The content describes a required step or steps.
366 "required"
367 db.performance.attribute =
368
369 ## Specifies if the content is required or optional.
370 attribute performance { db.performance.enumeration }
371 db.floatstyle.attribute =
372
373 ## Specifies style information to be used when rendering the float
374 attribute floatstyle { text }
375 db.width.attribute =
376
377 ## Specifies the width of the element
378 attribute width { text }
379 db.depth.attribute =
380
381 ## Specifies the depth of the element
382 attribute depth { text }
383 db.contentwidth.attribute =
384
385 ## Specifies the width of the content rectangle
386 attribute contentwidth { text }
387 db.contentdepth.attribute =
388
389 ## Specifies the depth of the content rectangle
390 attribute contentdepth { text }
391 db.scalefit.enumeration =
392
393 ## False (do not scale-to-fit; anamorphic scaling may occur)
394 "0"
395 |
396 ## True (scale-to-fit; anamorphic scaling is forbidden)
397 "1"
398 db.scale.attribute =
399
400 ## Specifies the scaling factor
401 attribute scale { xsd:positiveInteger }
402 db.classid.attribute =
403
404 ## Specifies a classid for a media object player
405 attribute classid { text }
406 db.autoplay.attribute =
407
408 ## Specifies the autoplay setting for a media object player
409 attribute autoplay { text }
410 db.halign.enumeration =
411
412 ## Centered horizontally
413 "center"
414 |
415 ## Aligned horizontally on the specified character
416 "char"
417 |
418 ## Fully justified (left and right margins or edges)
419 "justify"
420 |
421 ## Left aligned
422 "left"
423 |
424 ## Right aligned
425 "right"
426 db.valign.enumeration =
427
428 ## Aligned on the bottom of the region
429 "bottom"
430 |
431 ## Centered vertically
432 "middle"
433 |
434 ## Aligned on the top of the region
435 "top"
436 db.biblio.class.enumeration =
437
438 ## A digital object identifier.
439 "doi"
440 |
441 ## An international standard book number.
442 "isbn"
443 |
444 ## An international standard technical report number (ISO 10444).
445 "isrn"
446 |
447 ## An international standard serial number.
448 "issn"
449 |
450 ## An international standard text code.
451 "istc"
452 |
453 ## A Library of Congress reference number.
454 "libraryofcongress"
455 |
456 ## A publication number (an internal number or possibly organizational standard).
457 "pubsnumber"
458 |
459 ## A Uniform Resource Identifier
460 "uri"
461 db.biblio.class-enum.attribute =
462
463 ## Identifies the kind of bibliographic identifier
464 attribute class { db.biblio.class.enumeration }?
465 db.biblio.class-other.attribute =
466
467 ## Identifies the nature of the non-standard bibliographic identifier
468 attribute otherclass { xsd:NMTOKEN }
469 db.biblio.class-other.attributes =
470
471 ## Identifies the kind of bibliographic identifier
472 attribute class {
473
474 ## Indicates that the identifier is some 'other' kind.
475 "other"
476 }
477 & db.biblio.class-other.attribute
478 db.biblio.class.attribute =
479 db.biblio.class-enum.attribute | db.biblio.class-other.attributes
480 db.ubiq.inlines =
481 (db.inlinemediaobject
482 | db.remark
483 | db.link.inlines
484 | db.alt
485 | db.trademark
486 | # below, effectively the publishing inlines (as of 5.0)
487 db.abbrev
488 | db.acronym
489 | db.date
490 | db._emphasis
491 | db.footnote
492 | db.footnoteref
493 | db._foreignphrase
494 | db._phrase
495 | db._quote
496 | db.subscript
497 | db.superscript
498 | db.wordasword)
499 | db.annotation
500 | (db._firstterm | db._glossterm)
501 | db.indexterm
502 | db.coref
503 db._text = (text | db.ubiq.inlines | db._phrase | db.replaceable)*
504 db._title = db.title? & db.titleabbrev? & db.subtitle?
505 db._title.req = db.title & db.titleabbrev? & db.subtitle?
506 db._title.only = db.title? & db.titleabbrev?
507 db._title.onlyreq = db.title & db.titleabbrev?
508 db._info = (db._title, db.titleforbidden.info?) | db.info?
509 db._info.title.req =
510 (db._title.req, db.titleforbidden.info?) | db.titlereq.info
511 db._info.title.only =
512 (db._title.only, db.titleforbidden.info?) | db.titleonly.info
513 db._info.title.onlyreq =
514 (db._title.onlyreq, db.titleforbidden.info?) | db.titleonlyreq.info
515 db._info.title.forbidden = db.titleforbidden.info?
516 db.all.inlines =
517 text | db.ubiq.inlines | db.general.inlines | db.domain.inlines
518 db.general.inlines =
519 db.publishing.inlines
520 | db.product.inlines
521 | db.bibliography.inlines
522 | db.graphic.inlines
523 | db.indexing.inlines
524 | db.link.inlines
525 db.domain.inlines =
526 db.technical.inlines
527 | db.math.inlines
528 | db.markup.inlines
529 | db.gui.inlines
530 | db.keyboard.inlines
531 | db.os.inlines
532 | db.programming.inlines
533 | db.error.inlines
534 db.technical.inlines =
535 (db.replaceable | db.package | db.parameter)
536 | db.termdef
537 | db.nonterminal
538 | (db.systemitem | db.option | db.optional | db.property)
539 db.product.inlines =
540 db.trademark
541 | (db.productnumber
542 | db.productname
543 | db.database
544 | db.application
545 | db.hardware)
546 db.bibliography.inlines =
547 db.citation
548 | db.citerefentry
549 | db.citetitle
550 | db.citebiblioid
551 | db.author
552 | db.person
553 | db.personname
554 | db.org
555 | db.orgname
556 | db.editor
557 | db.jobtitle
558 db.publishing.inlines =
559 (db.abbrev
560 | db.acronym
561 | db.date
562 | db.emphasis
563 | db.footnote
564 | db.footnoteref
565 | db.foreignphrase
566 | db.phrase
567 | db.quote
568 | db.subscript
569 | db.superscript
570 | db.wordasword)
571 | db.glossary.inlines
572 | db.coref
573 db.graphic.inlines = db.inlinemediaobject
574 db.indexing.inlines = notAllowed | db.indexterm
575 db.link.inlines =
576 (db.xref | db.link | db.olink | db.anchor) | db.biblioref
577 db.nopara.blocks =
578 (db.list.blocks
579 | db.formal.blocks
580 | db.informal.blocks
581 | db.publishing.blocks
582 | db.graphic.blocks
583 | db.technical.blocks
584 | db.verbatim.blocks
585 | db.bridgehead
586 | db.remark
587 | db.revhistory)
588 | db.indexterm
589 | db.synopsis.blocks
590 | db.admonition.blocks
591 db.para.blocks = db.anchor | db.para | db.formalpara | db.simpara
592 db.all.blocks = (db.nopara.blocks | db.para.blocks) | db.annotation
593 db.formal.blocks = (db.example | db.figure | db.table) | db.equation
594 db.informal.blocks =
595 (db.informalexample | db.informalfigure | db.informaltable)
596 | db.informalequation
597 db.publishing.blocks =
598 db.sidebar | db.blockquote | db.address | db.epigraph
599 db.graphic.blocks = db.mediaobject | db.screenshot
600 db.technical.blocks =
601 db.procedure
602 | db.task
603 | (db.productionset | db.constraintdef)
604 | db.msgset
605 db.list.blocks =
606 (db.itemizedlist
607 | db.orderedlist
608 | db.procedure
609 | db.simplelist
610 | db.variablelist
611 | db.segmentedlist)
612 | db.glosslist
613 | db.bibliolist
614 | db.calloutlist
615 | db.qandaset
616 db.verbatim.blocks =
617 (db.screen | db.literallayout)
618 | (db.programlistingco | db.screenco)
619 | (db.programlisting | db.synopsis)
620 db.info.extension = db._any
621 db.info.elements =
622 (db.abstract
623 | db.address
624 | db.artpagenums
625 | db.author
626 | db.authorgroup
627 | db.authorinitials
628 | db.bibliocoverage
629 | db.biblioid
630 | db.bibliosource
631 | db.collab
632 | db.confgroup
633 | db.contractsponsor
634 | db.contractnum
635 | db.copyright
636 | db.cover
637 | db.date
638 | db.edition
639 | db.editor
640 | db.issuenum
641 | db.keywordset
642 | db.legalnotice
643 | db.mediaobject
644 | db.org
645 | db.orgname
646 | db.othercredit
647 | db.pagenums
648 | db.printhistory
649 | db.pubdate
650 | db.publisher
651 | db.publishername
652 | db.releaseinfo
653 | db.revhistory
654 | db.seriesvolnums
655 | db.subjectset
656 | db.volumenum
657 | db.info.extension)
658 | db.annotation
659 | db.extendedlink
660 | (db.bibliomisc | db.bibliomset | db.bibliorelation | db.biblioset)
661 | db.itermset
662 | (db.productname | db.productnumber)
663 db.bibliographic.elements =
664 db.info.elements
665 | db.publishing.inlines
666 | db.citerefentry
667 | db.citetitle
668 | db.citebiblioid
669 | db.person
670 | db.personblurb
671 | db.personname
672 | db.subtitle
673 | db.title
674 | db.titleabbrev
675 div {
676 db.title.role.attribute = attribute role { text }
677 db.title.attlist =
678 db.title.role.attribute?
679 & db.common.attributes
680 & db.common.linking.attributes
681 db.title =
682
683 ## The text of the title of a section of a document or of a formal block-level element
684 element title { db.title.attlist, db.all.inlines* }
685 }
686 div {
687 db.titleabbrev.role.attribute = attribute role { text }
688 db.titleabbrev.attlist =
689 db.titleabbrev.role.attribute?
690 & db.common.attributes
691 & db.common.linking.attributes
692 db.titleabbrev =
693
694 ## The abbreviation of a title
695 element titleabbrev { db.titleabbrev.attlist, db.all.inlines* }
696 }
697 div {
698 db.subtitle.role.attribute = attribute role { text }
699 db.subtitle.attlist =
700 db.subtitle.role.attribute?
701 & db.common.attributes
702 & db.common.linking.attributes
703 db.subtitle =
704
705 ## The subtitle of a document
706 element subtitle { db.subtitle.attlist, db.all.inlines* }
707 }
708 div {
709 db.info.role.attribute = attribute role { text }
710 db.info.attlist = db.info.role.attribute? & db.common.attributes
711 db.info =
712
713 ## A wrapper for information about a component or other block
714 element info { db.info.attlist, (db._title & db.info.elements*) }
715 }
716 div {
717 db.titlereq.info.role.attribute = attribute role { text }
718 db.titlereq.info.attlist =
719 db.titlereq.info.role.attribute? & db.common.attributes
720 db.titlereq.info =
721
722 ## A wrapper for information about a component or other block with a required title
723 element info {
724 db.titlereq.info.attlist, (db._title.req & db.info.elements*)
725 }
726 }
727 div {
728 db.titleonly.info.role.attribute = attribute role { text }
729 db.titleonly.info.attlist =
730 db.titleonly.info.role.attribute? & db.common.attributes
731 db.titleonly.info =
732
733 ## A wrapper for information about a component or other block with only a title
734 element info {
735 db.titleonly.info.attlist, (db._title.only & db.info.elements*)
736 }
737 }
738 div {
739 db.titleonlyreq.info.role.attribute = attribute role { text }
740 db.titleonlyreq.info.attlist =
741 db.titleonlyreq.info.role.attribute? & db.common.attributes
742 db.titleonlyreq.info =
743
744 ## A wrapper for information about a component or other block with only a required title
745 element info {
746 db.titleonlyreq.info.attlist,
747 (db._title.onlyreq & db.info.elements*)
748 }
749 }
750 div {
751 db.titleforbidden.info.role.attribute = attribute role { text }
752 db.titleforbidden.info.attlist =
753 db.titleforbidden.info.role.attribute? & db.common.attributes
754 db.titleforbidden.info =
755
756 ## A wrapper for information about a component or other block without a title
757 element info { db.titleforbidden.info.attlist, db.info.elements* }
758 }
759 div {
760 db.subjectset.role.attribute = attribute role { text }
761 db.subjectset.scheme.attribute =
762
763 ## Identifies the controlled vocabulary used by this set's terms
764 attribute scheme { xsd:NMTOKEN }
765 db.subjectset.attlist =
766 db.subjectset.role.attribute?
767 & db.common.attributes
768 & db.common.linking.attributes
769 & db.subjectset.scheme.attribute?
770 db.subjectset =
771
772 ## A set of terms describing the subject matter of a document
773 element subjectset { db.subjectset.attlist, db.subject+ }
774 }
775 div {
776 db.subject.role.attribute = attribute role { text }
777 db.subject.weight.attribute =
778
779 ## Specifies a ranking for this subject relative to other subjects in the same set
780 attribute weight { text }
781 db.subject.attlist =
782 db.subject.role.attribute?
783 & db.common.attributes
784 & db.common.linking.attributes
785 & db.subject.weight.attribute?
786 db.subject =
787
788 ## One of a group of terms describing the subject matter of a document
789 element subject { db.subject.attlist, db.subjectterm+ }
790 }
791 div {
792 db.subjectterm.role.attribute = attribute role { text }
793 db.subjectterm.attlist =
794 db.subjectterm.role.attribute?
795 & db.common.attributes
796 & db.common.linking.attributes
797 db.subjectterm =
798
799 ## A term in a group of terms describing the subject matter of a document
800 element subjectterm { db.subjectterm.attlist, text }
801 }
802 div {
803 db.keywordset.role.attribute = attribute role { text }
804 db.keywordset.attlist =
805 db.keywordset.role.attribute?
806 & db.common.attributes
807 & db.common.linking.attributes
808 db.keywordset =
809
810 ## A set of keywords describing the content of a document
811 element keywordset { db.keywordset.attlist, db.keyword+ }
812 }
813 div {
814 db.keyword.role.attribute = attribute role { text }
815 db.keyword.attlist =
816 db.keyword.role.attribute?
817 & db.common.attributes
818 & db.common.linking.attributes
819 db.keyword =
820
821 ## One of a set of keywords describing the content of a document
822 element keyword { db.keyword.attlist, text }
823 }
824 db.table.choice = notAllowed | db.cals.table | db.html.table
825 db.informaltable.choice =
826 notAllowed | db.cals.informaltable | db.html.informaltable
827 db.table = db.table.choice
828 db.informaltable = db.informaltable.choice
829 div {
830 db.procedure.role.attribute = attribute role { text }
831 db.procedure.attlist =
832 db.procedure.role.attribute?
833 & db.common.attributes
834 & db.common.linking.attributes
835 db.procedure.info = db._info.title.only
836 db.procedure =
837
838 ## A list of operations to be performed in a well-defined sequence
839 element procedure {
840 db.procedure.attlist, db.procedure.info, db.all.blocks*, db.step+
841 }
842 }
843 div {
844 db.step.role.attribute = attribute role { text }
845 db.step.attlist =
846 db.step.role.attribute?
847 & db.common.attributes
848 & db.common.linking.attributes
849 & db.performance.attribute?
850 db.step.info = db._info.title.only
851 # This content model is blocks*, step|stepalternatives, blocks* but
852 # expressed this way it avoids UPA issues in XSD and DTD versions
853 db.step =
854
855 ## A unit of action in a procedure
856 element step {
857 db.step.attlist,
858 db.step.info,
859 ((db.all.blocks+,
860 ((db.substeps | db.stepalternatives), db.all.blocks*)?)
861 | ((db.substeps | db.stepalternatives), db.all.blocks*))
862 }
863 }
864 div {
865 db.stepalternatives.role.attribute = attribute role { text }
866 db.stepalternatives.attlist =
867 db.stepalternatives.role.attribute?
868 & db.common.attributes
869 & db.common.linking.attributes
870 & db.performance.attribute?
871 db.stepalternatives.info = db._info.title.forbidden
872 db.stepalternatives =
873
874 ## Alternative steps in a procedure
875 element stepalternatives {
876 db.stepalternatives.attlist, db.stepalternatives.info, db.step+
877 }
878 }
879 div {
880 db.substeps.role.attribute = attribute role { text }
881 db.substeps.attlist =
882 db.substeps.role.attribute?
883 & db.common.attributes
884 & db.common.linking.attributes
885 & db.performance.attribute?
886 db.substeps =
887
888 ## A wrapper for steps that occur within steps in a procedure
889 element substeps { db.substeps.attlist, db.step+ }
890 }
891 div {
892 db.sidebar.floatstyle.attribute = db.floatstyle.attribute
893 db.sidebar.role.attribute = attribute role { text }
894 db.sidebar.attlist =
895 db.sidebar.role.attribute?
896 & db.sidebar.floatstyle.attribute?
897 & db.common.attributes
898 & db.common.linking.attributes
899 db.sidebar.info = db._info
900 db.sidebar =
901
902 ## A portion of a document that is isolated from the main narrative flow
903 [
904 s:pattern [
905 name = "Element exclusion"
906 "\x{a}" ~
907 " "
908 s:rule [
909 context = "db:sidebar"
910 "\x{a}" ~
911 " "
912 s:assert [
913 test = "not(.//db:sidebar)"
914 "sidebar must not occur among the children or descendants of sidebar"
915 ]
916 "\x{a}" ~
917 " "
918 ]
919 "\x{a}" ~
920 " "
921 ]
922 ]
923 element sidebar {
924 db.sidebar.attlist, db.sidebar.info, db.all.blocks+
925 }
926 }
927 div {
928 db.abstract.role.attribute = attribute role { text }
929 db.abstract.attlist =
930 db.abstract.role.attribute?
931 & db.common.attributes
932 & db.common.linking.attributes
933 db.abstract.info = db._info.title.only
934 db.abstract =
935
936 ## A summary
937 element abstract {
938 db.abstract.attlist, db.abstract.info, db.para.blocks+
939 }
940 }
941 div {
942 db.personblurb.role.attribute = attribute role { text }
943 db.personblurb.attlist =
944 db.personblurb.role.attribute?
945 & db.common.attributes
946 & db.common.linking.attributes
947 db.personblurb.info = db._info.title.only
948 db.personblurb =
949
950 ## A short description or note about a person
951 element personblurb {
952 db.personblurb.attlist, db.personblurb.info, db.para.blocks+
953 }
954 }
955 div {
956 db.blockquote.role.attribute = attribute role { text }
957 db.blockquote.attlist =
958 db.blockquote.role.attribute?
959 & db.common.attributes
960 & db.common.linking.attributes
961 db.blockquote.info = db._info.title.only
962 db.blockquote =
963
964 ## A quotation set off from the main text
965 element blockquote {
966 db.blockquote.attlist,
967 db.blockquote.info,
968 db.attribution?,
969 db.all.blocks+
970 }
971 }
972 div {
973 db.attribution.role.attribute = attribute role { text }
974 db.attribution.attlist =
975 db.attribution.role.attribute?
976 & db.common.attributes
977 & db.common.linking.attributes
978 db.attribution =
979
980 ## The source of a block quote or epigraph
981 element attribution {
982 db.attribution.attlist,
983 (db._text
984 | db.person
985 | db.personname
986 | db.citetitle
987 | db.citation)*
988 }
989 }
990 div {
991 db.bridgehead.renderas.enumeration =
992
993 ## Render as a first-level section
994 "sect1"
995 |
996 ## Render as a second-level section
997 "sect2"
998 |
999 ## Render as a third-level section
1000 "sect3"
1001 |
1002 ## Render as a fourth-level section
1003 "sect4"
1004 |
1005 ## Render as a fifth-level section
1006 "sect5"
1007 db.bridgehead.renderas-enum.attribute =
1008
1009 ## Indicates how the bridge head should be rendered
1010 attribute renderas { db.bridgehead.renderas.enumeration }?
1011 db.bridgehead.renderas-other.attribute =
1012
1013 ## Identifies the nature of the non-standard rendering
1014 attribute otherrenderas { xsd:NMTOKEN }
1015 db.bridgehead.renderas-other.attributes =
1016
1017 ## Indicates how the bridge head should be rendered
1018 attribute renderas {
1019
1020 ## Identifies a non-standard rendering
1021 "other"
1022 }
1023 & db.bridgehead.renderas-other.attribute
1024 db.bridgehead.renderas.attribute =
1025 db.bridgehead.renderas-enum.attribute
1026 | db.bridgehead.renderas-other.attributes
1027 db.bridgehead.role.attribute = attribute role { text }
1028 db.bridgehead.attlist =
1029 db.bridgehead.role.attribute?
1030 & db.common.attributes
1031 & db.common.linking.attributes
1032 & db.bridgehead.renderas.attribute?
1033 db.bridgehead =
1034
1035 ## A free-floating heading
1036 element bridgehead { db.bridgehead.attlist, db.all.inlines* }
1037 }
1038 div {
1039 db.remark.role.attribute = attribute role { text }
1040 db.remark.attlist =
1041 db.remark.role.attribute?
1042 & db.common.attributes
1043 & db.common.linking.attributes
1044 db.remark =
1045
1046 ## A remark (or comment) intended for presentation in a draft manuscript
1047 element remark { db.remark.attlist, db.all.inlines* }
1048 }
1049 div {
1050 db.epigraph.role.attribute = attribute role { text }
1051 db.epigraph.attlist =
1052 db.epigraph.role.attribute?
1053 & db.common.attributes
1054 & db.common.linking.attributes
1055 db.epigraph.info = db._info.title.forbidden
1056 db.epigraph =
1057
1058 ## A short inscription at the beginning of a document or component
1059 element epigraph {
1060 db.epigraph.attlist,
1061 db.epigraph.info,
1062 db.attribution?,
1063 (db.para.blocks | db.literallayout)+
1064 }
1065 }
1066 div {
1067 db.footnote.role.attribute = attribute role { text }
1068 db.footnote.label.attribute =
1069
1070 ## Identifies the desired footnote mark
1071 attribute label { xsd:NMTOKEN }
1072 db.footnote.attlist =
1073 db.footnote.role.attribute?
1074 & db.common.attributes
1075 & db.common.linking.attributes
1076 & db.footnote.label.attribute?
1077 db.footnote =
1078
1079 ## A footnote
1080 [
1081 s:pattern [
1082 name = "Element exclusion"
1083 "\x{a}" ~
1084 " "
1085 s:rule [
1086 context = "db:footnote"
1087 "\x{a}" ~
1088 " "
1089 s:assert [
1090 test = "not(.//db:footnote)"
1091 "footnote must not occur among the children or descendants of footnote"
1092 ]
1093 "\x{a}" ~
1094 " "
1095 ]
1096 "\x{a}" ~
1097 " "
1098 ]
1099 s:pattern [
1100 name = "Element exclusion"
1101 "\x{a}" ~
1102 " "
1103 s:rule [
1104 context = "db:footnote"
1105 "\x{a}" ~
1106 " "
1107 s:assert [
1108 test = "not(.//db:example)"
1109 "example must not occur among the children or descendants of footnote"
1110 ]
1111 "\x{a}" ~
1112 " "
1113 ]
1114 "\x{a}" ~
1115 " "
1116 ]
1117 s:pattern [
1118 name = "Element exclusion"
1119 "\x{a}" ~
1120 " "
1121 s:rule [
1122 context = "db:footnote"
1123 "\x{a}" ~
1124 " "
1125 s:assert [
1126 test = "not(.//db:figure)"
1127 "figure must not occur among the children or descendants of footnote"
1128 ]
1129 "\x{a}" ~
1130 " "
1131 ]
1132 "\x{a}" ~
1133 " "
1134 ]
1135 s:pattern [
1136 name = "Element exclusion"
1137 "\x{a}" ~
1138 " "
1139 s:rule [
1140 context = "db:footnote"
1141 "\x{a}" ~
1142 " "
1143 s:assert [
1144 test = "not(.//db:table)"
1145 "table must not occur among the children or descendants of footnote"
1146 ]
1147 "\x{a}" ~
1148 " "
1149 ]
1150 "\x{a}" ~
1151 " "
1152 ]
1153 s:pattern [
1154 name = "Element exclusion"
1155 "\x{a}" ~
1156 " "
1157 s:rule [
1158 context = "db:footnote"
1159 "\x{a}" ~
1160 " "
1161 s:assert [
1162 test = "not(.//db:equation)"
1163 "equation must not occur among the children or descendants of footnote"
1164 ]
1165 "\x{a}" ~
1166 " "
1167 ]
1168 "\x{a}" ~
1169 " "
1170 ]
1171 s:pattern [
1172 name = "Element exclusion"
1173 "\x{a}" ~
1174 " "
1175 s:rule [
1176 context = "db:footnote"
1177 "\x{a}" ~
1178 " "
1179 s:assert [
1180 test = "not(.//db:sidebar)"
1181 "sidebar must not occur among the children or descendants of footnote"
1182 ]
1183 "\x{a}" ~
1184 " "
1185 ]
1186 "\x{a}" ~
1187 " "
1188 ]
1189 s:pattern [
1190 name = "Element exclusion"
1191 "\x{a}" ~
1192 " "
1193 s:rule [
1194 context = "db:footnote"
1195 "\x{a}" ~
1196 " "
1197 s:assert [
1198 test = "not(.//db:task)"
1199 "task must not occur among the children or descendants of footnote"
1200 ]
1201 "\x{a}" ~
1202 " "
1203 ]
1204 "\x{a}" ~
1205 " "
1206 ]
1207 s:pattern [
1208 name = "Element exclusion"
1209 "\x{a}" ~
1210 " "
1211 s:rule [
1212 context = "db:footnote"
1213 "\x{a}" ~
1214 " "
1215 s:assert [
1216 test = "not(.//db:epigraph)"
1217 "epigraph must not occur among the children or descendants of footnote"
1218 ]
1219 "\x{a}" ~
1220 " "
1221 ]
1222 "\x{a}" ~
1223 " "
1224 ]
1225 s:pattern [
1226 name = "Element exclusion"
1227 "\x{a}" ~
1228 " "
1229 s:rule [
1230 context = "db:footnote"
1231 "\x{a}" ~
1232 " "
1233 s:assert [
1234 test = "not(.//db:caution)"
1235 "caution must not occur among the children or descendants of footnote"
1236 ]
1237 "\x{a}" ~
1238 " "
1239 ]
1240 "\x{a}" ~
1241 " "
1242 ]
1243 s:pattern [
1244 name = "Element exclusion"
1245 "\x{a}" ~
1246 " "
1247 s:rule [
1248 context = "db:footnote"
1249 "\x{a}" ~
1250 " "
1251 s:assert [
1252 test = "not(.//db:important)"
1253 "important must not occur among the children or descendants of footnote"
1254 ]
1255 "\x{a}" ~
1256 " "
1257 ]
1258 "\x{a}" ~
1259 " "
1260 ]
1261 s:pattern [
1262 name = "Element exclusion"
1263 "\x{a}" ~
1264 " "
1265 s:rule [
1266 context = "db:footnote"
1267 "\x{a}" ~
1268 " "
1269 s:assert [
1270 test = "not(.//db:note)"
1271 "note must not occur among the children or descendants of footnote"
1272 ]
1273 "\x{a}" ~
1274 " "
1275 ]
1276 "\x{a}" ~
1277 " "
1278 ]
1279 s:pattern [
1280 name = "Element exclusion"
1281 "\x{a}" ~
1282 " "
1283 s:rule [
1284 context = "db:footnote"
1285 "\x{a}" ~
1286 " "
1287 s:assert [
1288 test = "not(.//db:tip)"
1289 "tip must not occur among the children or descendants of footnote"
1290 ]
1291 "\x{a}" ~
1292 " "
1293 ]
1294 "\x{a}" ~
1295 " "
1296 ]
1297 s:pattern [
1298 name = "Element exclusion"
1299 "\x{a}" ~
1300 " "
1301 s:rule [
1302 context = "db:footnote"
1303 "\x{a}" ~
1304 " "
1305 s:assert [
1306 test = "not(.//db:warning)"
1307 "warning must not occur among the children or descendants of footnote"
1308 ]
1309 "\x{a}" ~
1310 " "
1311 ]
1312 "\x{a}" ~
1313 " "
1314 ]
1315 ]
1316 element footnote { db.footnote.attlist, db.all.blocks+ }
1317 }
1318 div {
1319 db.formalpara.role.attribute = attribute role { text }
1320 db.formalpara.attlist =
1321 db.formalpara.role.attribute?
1322 & db.common.attributes
1323 & db.common.linking.attributes
1324 db.formalpara.info = db._info.title.onlyreq
1325 db.formalpara =
1326
1327 ## A paragraph with a title
1328 element formalpara {
1329 db.formalpara.attlist,
1330 db.formalpara.info,
1331 db.indexing.inlines*,
1332 db.para
1333 }
1334 }
1335 div {
1336 db.para.role.attribute = attribute role { text }
1337 db.para.attlist =
1338 db.para.role.attribute?
1339 & db.common.attributes
1340 & db.common.linking.attributes
1341 db.para.info = db._info.title.forbidden
1342 db.para =
1343
1344 ## A paragraph
1345 element para {
1346 db.para.attlist,
1347 db.para.info,
1348 (db.all.inlines | db.nopara.blocks)*
1349 }
1350 }
1351 div {
1352 db.simpara.role.attribute = attribute role { text }
1353 db.simpara.attlist =
1354 db.simpara.role.attribute?
1355 & db.common.attributes
1356 & db.common.linking.attributes
1357 db.simpara.info = db._info.title.forbidden
1358 db.simpara =
1359
1360 ## A paragraph that contains only text and inline markup, no block elements
1361 element simpara {
1362 db.simpara.attlist, db.simpara.info, db.all.inlines*
1363 }
1364 }
1365 div {
1366 db.itemizedlist.role.attribute = attribute role { text }
1367 db.itemizedlist.mark.attribute =
1368
1369 ## Identifies the type of mark to be used on items in this list
1370 attribute mark { xsd:NMTOKEN }
1371 db.itemizedlist.attlist =
1372 db.itemizedlist.role.attribute?
1373 & db.common.attributes
1374 & db.common.linking.attributes
1375 & db.spacing.attribute?
1376 & db.itemizedlist.mark.attribute?
1377 db.itemizedlist.info = db._info.title.only
1378 db.itemizedlist =
1379
1380 ## A list in which each entry is marked with a bullet or other dingbat
1381 element itemizedlist {
1382 db.itemizedlist.attlist,
1383 db.itemizedlist.info,
1384 db.all.blocks*,
1385 db.listitem+
1386 }
1387 }
1388 div {
1389 db.orderedlist.role.attribute = attribute role { text }
1390 db.orderedlist.continuation.enumeration =
1391
1392 ## Specifies that numbering should begin where the preceding list left off
1393 "continues"
1394 |
1395 ## Specifies that numbering should begin again at 1
1396 "restarts"
1397 db.orderedlist.continuation.attribute =
1398
1399 ## Indicates how list numbering should begin relative to the immediately preceding list
1400 attribute continuation { db.orderedlist.continuation.enumeration }
1401 db.orderedlist.startingnumber.attribute =
1402
1403 ## Specifies the initial line number.
1404 attribute startingnumber { xsd:integer }
1405 db.orderedlist.inheritnum.enumeration =
1406
1407 ## Specifies that numbering should ignore list nesting
1408 "ignore"
1409 |
1410 ## Specifies that numbering should inherit from outer-level lists
1411 "inherit"
1412 db.orderedlist.inheritnum.attribute =
1413
1414 ## Indicates whether or not item numbering should be influenced by list nesting
1415 attribute inheritnum { db.orderedlist.inheritnum.enumeration }
1416 db.orderedlist.numeration.enumeration =
1417
1418 ## Specifies Arabic numeration (1, 2, 3, …)
1419 "arabic"
1420 |
1421 ## Specifies upper-case alphabetic numeration (A, B, C, …)
1422 "upperalpha"
1423 |
1424 ## Specifies lower-case alphabetic numeration (a, b, c, …)
1425 "loweralpha"
1426 |
1427 ## Specifies upper-case Roman numeration (I, II, III, …)
1428 "upperroman"
1429 |
1430 ## Specifies lower-case Roman numeration (i, ii, iii …)
1431 "lowerroman"
1432 db.orderedlist.numeration.attribute =
1433
1434 ## Indicates the desired numeration
1435 attribute numeration { db.orderedlist.numeration.enumeration }
1436 db.orderedlist.attlist =
1437 db.orderedlist.role.attribute?
1438 & db.common.attributes
1439 & db.common.linking.attributes
1440 & db.spacing.attribute?
1441 & (db.orderedlist.continuation.attribute
1442 | db.orderedlist.startingnumber.attribute)?
1443 & db.orderedlist.inheritnum.attribute?
1444 & db.orderedlist.numeration.attribute?
1445 db.orderedlist.info = db._info.title.only
1446 db.orderedlist =
1447
1448 ## A list in which each entry is marked with a sequentially incremented label
1449 element orderedlist {
1450 db.orderedlist.attlist,
1451 db.orderedlist.info,
1452 db.all.blocks*,
1453 db.listitem+
1454 }
1455 }
1456 div {
1457 db.listitem.role.attribute = attribute role { text }
1458 db.listitem.override.attribute =
1459
1460 ## Specifies the keyword for the type of mark that should be used on this
1461 ## item, instead of the mark that would be used by default
1462 attribute override { xsd:NMTOKEN }
1463 db.listitem.attlist =
1464 db.listitem.role.attribute?
1465 & db.common.attributes
1466 & db.common.linking.attributes
1467 & db.listitem.override.attribute?
1468 db.listitem =
1469
1470 ## A wrapper for the elements of a list item
1471 element listitem { db.listitem.attlist, db.all.blocks+ }
1472 }
1473 div {
1474 db.segmentedlist.role.attribute = attribute role { text }
1475 db.segmentedlist.attlist =
1476 db.segmentedlist.role.attribute?
1477 & db.common.attributes
1478 & db.common.linking.attributes
1479 db.segmentedlist.info = db._info.title.only
1480 db.segmentedlist =
1481
1482 ## A segmented list, a list of sets of elements
1483 element segmentedlist {
1484 db.segmentedlist.attlist,
1485 db.segmentedlist.info,
1486 db.segtitle+,
1487 db.seglistitem+
1488 }
1489 }
1490 div {
1491 db.segtitle.role.attribute = attribute role { text }
1492 db.segtitle.attlist =
1493 db.segtitle.role.attribute?
1494 & db.common.attributes
1495 & db.common.linking.attributes
1496 db.segtitle =
1497
1498 ## The title of an element of a list item in a segmented list
1499 element segtitle { db.segtitle.attlist, db.all.inlines* }
1500 }
1501 div {
1502 db.seglistitem.role.attribute = attribute role { text }
1503 db.seglistitem.attlist =
1504 db.seglistitem.role.attribute?
1505 & db.common.attributes
1506 & db.common.linking.attributes
1507 db.seglistitem =
1508
1509 ## A list item in a segmented list
1510 [
1511 s:pattern [
1512 name = "Cardinality of segments and titles"
1513 "\x{a}" ~
1514 " "
1515 s:rule [
1516 context = "db:seglistitem"
1517 "\x{a}" ~
1518 " "
1519 s:assert [
1520 test = "count(db:seg) = count(../db:segtitle)"
1521 "The number of seg elements must be the same as the number of segtitle elements in the parent segmentedlist"
1522 ]
1523 "\x{a}" ~
1524 " "
1525 ]
1526 "\x{a}" ~
1527 " "
1528 ]
1529 ]
1530 element seglistitem { db.seglistitem.attlist, db.seg+ }
1531 }
1532 div {
1533 db.seg.role.attribute = attribute role { text }
1534 db.seg.attlist =
1535 db.seg.role.attribute?
1536 & db.common.attributes
1537 & db.common.linking.attributes
1538 db.seg =
1539
1540 ## An element of a list item in a segmented list
1541 element seg { db.seg.attlist, db.all.inlines* }
1542 }
1543 div {
1544 db.simplelist.role.attribute = attribute role { text }
1545 db.simplelist.type.enumeration =
1546
1547 ## A tabular presentation in row-major order.
1548 "horiz"
1549 |
1550 ## A tabular presentation in column-major order.
1551 "vert"
1552 |
1553 ## An inline presentation, usually a comma-delimited list.
1554 "inline"
1555 db.simplelist.type.attribute =
1556
1557 ## Specifies the type of list presentation.
1558 [ a:defaultValue = "vert" ]
1559 attribute type { db.simplelist.type.enumeration }
1560 db.simplelist.columns.attribute =
1561
1562 ## Specifies the number of columns for horizontal or vertical presentation
1563 attribute columns { xsd:integer }
1564 db.simplelist.attlist =
1565 db.simplelist.role.attribute?
1566 & db.common.attributes
1567 & db.common.linking.attributes
1568 & db.simplelist.type.attribute?
1569 & db.simplelist.columns.attribute?
1570 db.simplelist =
1571
1572 ## An undecorated list of single words or short phrases
1573 element simplelist { db.simplelist.attlist, db.member+ }
1574 }
1575 div {
1576 db.member.role.attribute = attribute role { text }
1577 db.member.attlist =
1578 db.member.role.attribute?
1579 & db.common.attributes
1580 & db.common.linking.attributes
1581 db.member =
1582
1583 ## An element of a simple list
1584 element member { db.member.attlist, db.all.inlines* }
1585 }
1586 div {
1587 db.variablelist.role.attribute = attribute role { text }
1588 db.variablelist.termlength.attribute =
1589
1590 ## Indicates a length beyond which the presentation system may consider a term too long and select an alternate presentation for that term, item, or list
1591 attribute termlength { text }
1592 db.variablelist.attlist =
1593 db.variablelist.role.attribute?
1594 & db.common.attributes
1595 & db.common.linking.attributes
1596 & db.spacing.attribute?
1597 & db.variablelist.termlength.attribute?
1598 db.variablelist.info = db._info.title.only
1599 db.variablelist =
1600
1601 ## A list in which each entry is composed of a set of one or more terms and an associated description
1602 element variablelist {
1603 db.variablelist.attlist,
1604 db.variablelist.info,
1605 db.all.blocks*,
1606 db.varlistentry+
1607 }
1608 }
1609 div {
1610 db.varlistentry.role.attribute = attribute role { text }
1611 db.varlistentry.attlist =
1612 db.varlistentry.role.attribute?
1613 & db.common.attributes
1614 & db.common.linking.attributes
1615 db.varlistentry =
1616
1617 ## A wrapper for a set of terms and the associated description in a variable list
1618 element varlistentry {
1619 db.varlistentry.attlist, db.term+, db.listitem
1620 }
1621 }
1622 div {
1623 db.term.role.attribute = attribute role { text }
1624 db.term.attlist =
1625 db.term.role.attribute?
1626 & db.common.attributes
1627 & db.common.linking.attributes
1628 db.term =
1629
1630 ## The word or phrase being defined or described in a variable list
1631 element term { db.term.attlist, db.all.inlines* }
1632 }
1633 div {
1634 db.example.role.attribute = attribute role { text }
1635 db.example.label.attribute = db.label.attribute
1636 db.example.width.attribute = db.width.characters.attribute
1637 db.example.pgwide.attribute = db.pgwide.attribute
1638 db.example.floatstyle.attribute = db.floatstyle.attribute
1639 db.example.attlist =
1640 db.example.role.attribute?
1641 & db.common.attributes
1642 & db.common.linking.attributes
1643 & db.example.label.attribute?
1644 & db.example.floatstyle.attribute?
1645 & (db.example.width.attribute | db.example.pgwide.attribute)?
1646 db.example.info = db._info.title.onlyreq
1647 db.example =
1648
1649 ## A formal example, with a title
1650 [
1651 s:pattern [
1652 name = "Element exclusion"
1653 "\x{a}" ~
1654 " "
1655 s:rule [
1656 context = "db:example"
1657 "\x{a}" ~
1658 " "
1659 s:assert [
1660 test = "not(.//db:example)"
1661 "example must not occur among the children or descendants of example"
1662 ]
1663 "\x{a}" ~
1664 " "
1665 ]
1666 "\x{a}" ~
1667 " "
1668 ]
1669 s:pattern [
1670 name = "Element exclusion"
1671 "\x{a}" ~
1672 " "
1673 s:rule [
1674 context = "db:example"
1675 "\x{a}" ~
1676 " "
1677 s:assert [
1678 test = "not(.//db:figure)"
1679 "figure must not occur among the children or descendants of example"
1680 ]
1681 "\x{a}" ~
1682 " "
1683 ]
1684 "\x{a}" ~
1685 " "
1686 ]
1687 s:pattern [
1688 name = "Element exclusion"
1689 "\x{a}" ~
1690 " "
1691 s:rule [
1692 context = "db:example"
1693 "\x{a}" ~
1694 " "
1695 s:assert [
1696 test = "not(.//db:table)"
1697 "table must not occur among the children or descendants of example"
1698 ]
1699 "\x{a}" ~
1700 " "
1701 ]
1702 "\x{a}" ~
1703 " "
1704 ]
1705 s:pattern [
1706 name = "Element exclusion"
1707 "\x{a}" ~
1708 " "
1709 s:rule [
1710 context = "db:example"
1711 "\x{a}" ~
1712 " "
1713 s:assert [
1714 test = "not(.//db:equation)"
1715 "equation must not occur among the children or descendants of example"
1716 ]
1717 "\x{a}" ~
1718 " "
1719 ]
1720 "\x{a}" ~
1721 " "
1722 ]
1723 s:pattern [
1724 name = "Element exclusion"
1725 "\x{a}" ~
1726 " "
1727 s:rule [
1728 context = "db:example"
1729 "\x{a}" ~
1730 " "
1731 s:assert [
1732 test = "not(.//db:caution)"
1733 "caution must not occur among the children or descendants of example"
1734 ]
1735 "\x{a}" ~
1736 " "
1737 ]
1738 "\x{a}" ~
1739 " "
1740 ]
1741 s:pattern [
1742 name = "Element exclusion"
1743 "\x{a}" ~
1744 " "
1745 s:rule [
1746 context = "db:example"
1747 "\x{a}" ~
1748 " "
1749 s:assert [
1750 test = "not(.//db:important)"
1751 "important must not occur among the children or descendants of example"
1752 ]
1753 "\x{a}" ~
1754 " "
1755 ]
1756 "\x{a}" ~
1757 " "
1758 ]
1759 s:pattern [
1760 name = "Element exclusion"
1761 "\x{a}" ~
1762 " "
1763 s:rule [
1764 context = "db:example"
1765 "\x{a}" ~
1766 " "
1767 s:assert [
1768 test = "not(.//db:note)"
1769 "note must not occur among the children or descendants of example"
1770 ]
1771 "\x{a}" ~
1772 " "
1773 ]
1774 "\x{a}" ~
1775 " "
1776 ]
1777 s:pattern [
1778 name = "Element exclusion"
1779 "\x{a}" ~
1780 " "
1781 s:rule [
1782 context = "db:example"
1783 "\x{a}" ~
1784 " "
1785 s:assert [
1786 test = "not(.//db:tip)"
1787 "tip must not occur among the children or descendants of example"
1788 ]
1789 "\x{a}" ~
1790 " "
1791 ]
1792 "\x{a}" ~
1793 " "
1794 ]
1795 s:pattern [
1796 name = "Element exclusion"
1797 "\x{a}" ~
1798 " "
1799 s:rule [
1800 context = "db:example"
1801 "\x{a}" ~
1802 " "
1803 s:assert [
1804 test = "not(.//db:warning)"
1805 "warning must not occur among the children or descendants of example"
1806 ]
1807 "\x{a}" ~
1808 " "
1809 ]
1810 "\x{a}" ~
1811 " "
1812 ]
1813 ]
1814 element example {
1815 db.example.attlist, db.example.info, db.all.blocks+, db.caption?
1816 }
1817 }
1818 div {
1819 db.informalexample.role.attribute = attribute role { text }
1820 db.informalexample.width.attribute = db.width.characters.attribute
1821 db.informalexample.pgwide.attribute = db.pgwide.attribute
1822 db.informalexample.floatstyle.attribute = db.floatstyle.attribute
1823 db.informalexample.attlist =
1824 db.informalexample.role.attribute?
1825 & db.common.attributes
1826 & db.common.linking.attributes
1827 & db.informalexample.floatstyle.attribute?
1828 & (db.informalexample.width.attribute
1829 | db.informalexample.pgwide.attribute)?
1830 db.informalexample.info = db._info.title.forbidden
1831 db.informalexample =
1832
1833 ## A displayed example without a title
1834 element informalexample {
1835 db.informalexample.attlist,
1836 db.informalexample.info,
1837 db.all.blocks+,
1838 db.caption?
1839 }
1840 }
1841 db.verbatim.inlines = (db.all.inlines | db.lineannotation) | db.co
1842 db.verbatim.contentmodel =
1843 db._info.title.forbidden, (db.textobject | db.verbatim.inlines*)
1844 div {
1845 db.literallayout.role.attribute = attribute role { text }
1846 db.literallayout.class.enumeration =
1847
1848 ## The literal layout should be formatted with a monospaced font
1849 "monospaced"
1850 |
1851 ## The literal layout should be formatted with the current font
1852 "normal"
1853 db.literallayout.class.attribute =
1854
1855 ## Specifies the class of literal layout
1856 attribute class { db.literallayout.class.enumeration }
1857 db.literallayout.attlist =
1858 db.literallayout.role.attribute?
1859 & db.common.attributes
1860 & db.common.linking.attributes
1861 & db.verbatim.attributes
1862 & db.literallayout.class.attribute?
1863 db.literallayout =
1864
1865 ## A block of text in which line breaks and white space are to be reproduced faithfully
1866 element literallayout {
1867 db.literallayout.attlist, db.verbatim.contentmodel
1868 }
1869 }
1870 div {
1871 db.screen.role.attribute = attribute role { text }
1872 db.screen.width.attribute = db.width.characters.attribute
1873 db.screen.attlist =
1874 db.screen.role.attribute?
1875 & db.common.attributes
1876 & db.common.linking.attributes
1877 & db.verbatim.attributes
1878 & db.screen.width.attribute?
1879 db.screen =
1880
1881 ## Text that a user sees or might see on a computer screen
1882 element screen { db.screen.attlist, db.verbatim.contentmodel }
1883 }
1884 div {
1885 db.screenshot.role.attribute = attribute role { text }
1886 db.screenshot.attlist =
1887 db.screenshot.role.attribute?
1888 & db.common.attributes
1889 & db.common.linking.attributes
1890 db.screenshot.info = db._info
1891 db.screenshot =
1892
1893 ## A representation of what the user sees or might see on a computer screen
1894 element screenshot {
1895 db.screenshot.attlist, db.screenshot.info, db.mediaobject
1896 }
1897 }
1898 div {
1899 db.figure.role.attribute = attribute role { text }
1900 db.figure.label.attribute = db.label.attribute
1901 db.figure.pgwide.attribute = db.pgwide.attribute
1902 db.figure.floatstyle.attribute = db.floatstyle.attribute
1903 db.figure.attlist =
1904 db.figure.role.attribute?
1905 & db.common.attributes
1906 & db.common.linking.attributes
1907 & db.figure.label.attribute?
1908 & db.figure.pgwide.attribute?
1909 & db.figure.floatstyle.attribute?
1910 db.figure.info = db._info.title.onlyreq
1911 db.figure =
1912
1913 ## A formal figure, generally an illustration, with a title
1914 [
1915 s:pattern [
1916 name = "Element exclusion"
1917 "\x{a}" ~
1918 " "
1919 s:rule [
1920 context = "db:figure"
1921 "\x{a}" ~
1922 " "
1923 s:assert [
1924 test = "not(.//db:example)"
1925 "example must not occur among the children or descendants of figure"
1926 ]
1927 "\x{a}" ~
1928 " "
1929 ]
1930 "\x{a}" ~
1931 " "
1932 ]
1933 s:pattern [
1934 name = "Element exclusion"
1935 "\x{a}" ~
1936 " "
1937 s:rule [
1938 context = "db:figure"
1939 "\x{a}" ~
1940 " "
1941 s:assert [
1942 test = "not(.//db:figure)"
1943 "figure must not occur among the children or descendants of figure"
1944 ]
1945 "\x{a}" ~
1946 " "
1947 ]
1948 "\x{a}" ~
1949 " "
1950 ]
1951 s:pattern [
1952 name = "Element exclusion"
1953 "\x{a}" ~
1954 " "
1955 s:rule [
1956 context = "db:figure"
1957 "\x{a}" ~
1958 " "
1959 s:assert [
1960 test = "not(.//db:table)"
1961 "table must not occur among the children or descendants of figure"
1962 ]
1963 "\x{a}" ~
1964 " "
1965 ]
1966 "\x{a}" ~
1967 " "
1968 ]
1969 s:pattern [
1970 name = "Element exclusion"
1971 "\x{a}" ~
1972 " "
1973 s:rule [
1974 context = "db:figure"
1975 "\x{a}" ~
1976 " "
1977 s:assert [
1978 test = "not(.//db:equation)"
1979 "equation must not occur among the children or descendants of figure"
1980 ]
1981 "\x{a}" ~
1982 " "
1983 ]
1984 "\x{a}" ~
1985 " "
1986 ]
1987 s:pattern [
1988 name = "Element exclusion"
1989 "\x{a}" ~
1990 " "
1991 s:rule [
1992 context = "db:figure"
1993 "\x{a}" ~
1994 " "
1995 s:assert [
1996 test = "not(.//db:caution)"
1997 "caution must not occur among the children or descendants of figure"
1998 ]
1999 "\x{a}" ~
2000 " "
2001 ]
2002 "\x{a}" ~
2003 " "
2004 ]
2005 s:pattern [
2006 name = "Element exclusion"
2007 "\x{a}" ~
2008 " "
2009 s:rule [
2010 context = "db:figure"
2011 "\x{a}" ~
2012 " "
2013 s:assert [
2014 test = "not(.//db:important)"
2015 "important must not occur among the children or descendants of figure"
2016 ]
2017 "\x{a}" ~
2018 " "
2019 ]
2020 "\x{a}" ~
2021 " "
2022 ]
2023 s:pattern [
2024 name = "Element exclusion"
2025 "\x{a}" ~
2026 " "
2027 s:rule [
2028 context = "db:figure"
2029 "\x{a}" ~
2030 " "
2031 s:assert [
2032 test = "not(.//db:note)"
2033 "note must not occur among the children or descendants of figure"
2034 ]
2035 "\x{a}" ~
2036 " "
2037 ]
2038 "\x{a}" ~
2039 " "
2040 ]
2041 s:pattern [
2042 name = "Element exclusion"
2043 "\x{a}" ~
2044 " "
2045 s:rule [
2046 context = "db:figure"
2047 "\x{a}" ~
2048 " "
2049 s:assert [
2050 test = "not(.//db:tip)"
2051 "tip must not occur among the children or descendants of figure"
2052 ]
2053 "\x{a}" ~
2054 " "
2055 ]
2056 "\x{a}" ~
2057 " "
2058 ]
2059 s:pattern [
2060 name = "Element exclusion"
2061 "\x{a}" ~
2062 " "
2063 s:rule [
2064 context = "db:figure"
2065 "\x{a}" ~
2066 " "
2067 s:assert [
2068 test = "not(.//db:warning)"
2069 "warning must not occur among the children or descendants of figure"
2070 ]
2071 "\x{a}" ~
2072 " "
2073 ]
2074 "\x{a}" ~
2075 " "
2076 ]
2077 ]
2078 element figure {
2079 db.figure.attlist, db.figure.info, db.all.blocks+, db.caption?
2080 }
2081 }
2082 div {
2083 db.informalfigure.role.attribute = attribute role { text }
2084 db.informalfigure.label.attribute = db.label.attribute
2085 db.informalfigure.pgwide.attribute = db.pgwide.attribute
2086 db.informalfigure.floatstyle.attribute = db.floatstyle.attribute
2087 db.informalfigure.attlist =
2088 db.informalfigure.role.attribute?
2089 & db.common.attributes
2090 & db.common.linking.attributes
2091 & db.informalfigure.label.attribute?
2092 & db.informalfigure.pgwide.attribute?
2093 & db.informalfigure.floatstyle.attribute?
2094 db.informalfigure.info = db._info.title.forbidden
2095 db.informalfigure =
2096
2097 ## A untitled figure
2098 element informalfigure {
2099 db.informalfigure.attlist,
2100 db.informalfigure.info,
2101 db.all.blocks+,
2102 db.caption?
2103 }
2104 }
2105 db.mediaobject.content =
2106 (db.videoobject | db.audioobject | db.imageobject | db.textobject)
2107 | db.imageobjectco
2108 div {
2109 db.mediaobject.role.attribute = attribute role { text }
2110 db.mediaobject.attlist =
2111 db.mediaobject.role.attribute?
2112 & db.common.attributes
2113 & db.common.linking.attributes
2114 db.mediaobject.info = db._info.title.forbidden
2115 db.mediaobject =
2116
2117 ## A displayed media object (video, audio, image, etc.)
2118 element mediaobject {
2119 db.mediaobject.attlist,
2120 db.mediaobject.info,
2121 db.alt?,
2122 db.mediaobject.content+,
2123 db.caption?
2124 }
2125 }
2126 div {
2127 db.inlinemediaobject.role.attribute = attribute role { text }
2128 db.inlinemediaobject.attlist =
2129 db.inlinemediaobject.role.attribute?
2130 & db.common.attributes
2131 & db.common.linking.attributes
2132 db.inlinemediaobject.info = db._info.title.forbidden
2133 db.inlinemediaobject =
2134
2135 ## An inline media object (video, audio, image, and so on)
2136 element inlinemediaobject {
2137 db.inlinemediaobject.attlist,
2138 db.inlinemediaobject.info,
2139 db.alt?,
2140 db.mediaobject.content+
2141 }
2142 }
2143 div {
2144 db.videoobject.role.attribute = attribute role { text }
2145 db.videoobject.attlist =
2146 db.videoobject.role.attribute?
2147 & db.common.attributes
2148 & db.common.linking.attributes
2149 db.videoobject.info = db._info.title.forbidden
2150 db.videoobject =
2151
2152 ## A wrapper for video data and its associated meta-information
2153 element videoobject {
2154 db.videoobject.attlist,
2155 db.videoobject.info,
2156 db.videodata,
2157 db.multimediaparam*
2158 }
2159 }
2160 div {
2161 db.audioobject.role.attribute = attribute role { text }
2162 db.audioobject.attlist =
2163 db.audioobject.role.attribute?
2164 & db.common.attributes
2165 & db.common.linking.attributes
2166 db.audioobject.info = db._info.title.forbidden
2167 db.audioobject =
2168
2169 ## A wrapper for audio data and its associated meta-information
2170 element audioobject {
2171 db.audioobject.attlist,
2172 db.audioobject.info,
2173 db.audiodata,
2174 db.multimediaparam*
2175 }
2176 }
2177 db.imageobject.content =
2178 db.imagedata | db.imagedata.mathml | db.imagedata.svg
2179 div {
2180 db.imageobject.role.attribute = attribute role { text }
2181 db.imageobject.attlist =
2182 db.imageobject.role.attribute?
2183 & db.common.attributes
2184 & db.common.linking.attributes
2185 db.imageobject.info = db._info.title.forbidden
2186 db.imageobject =
2187
2188 ## A wrapper for image data and its associated meta-information
2189 element imageobject {
2190 db.imageobject.attlist,
2191 db.imageobject.info,
2192 db.imageobject.content
2193 }
2194 }
2195 div {
2196 db.textobject.role.attribute = attribute role { text }
2197 db.textobject.attlist =
2198 db.textobject.role.attribute?
2199 & db.common.attributes
2200 & db.common.linking.attributes
2201 db.textobject.info = db._info.title.forbidden
2202 db.textobject =
2203
2204 ## A wrapper for a text description of an object and its associated meta-information
2205 element textobject {
2206 db.textobject.attlist,
2207 db.textobject.info,
2208 (db.phrase | db.textdata | db.all.blocks+)
2209 }
2210 }
2211 div {
2212 db.videodata.role.attribute = attribute role { text }
2213 db.videodata.align.enumeration = db.halign.enumeration
2214 db.videodata.align.attribute =
2215
2216 ## Specifies the (horizontal) alignment of the video data
2217 attribute align { db.videodata.align.enumeration }
2218 db.videodata.autoplay.attribute = db.autoplay.attribute
2219 db.videodata.classid.attribute = db.classid.attribute
2220 db.videodata.valign.enumeration = db.valign.enumeration
2221 db.videodata.valign.attribute =
2222
2223 ## Specifies the vertical alignment of the video data
2224 attribute valign { db.videodata.valign.enumeration }
2225 db.videodata.width.attribute = db.width.attribute
2226 db.videodata.depth.attribute = db.depth.attribute
2227 db.videodata.contentwidth.attribute = db.contentwidth.attribute
2228 db.videodata.contentdepth.attribute = db.contentdepth.attribute
2229 db.videodata.scalefit.enumeration = db.scalefit.enumeration
2230 db.videodata.scalefit.attribute =
2231
2232 ## Determines if anamorphic scaling is forbidden
2233 attribute scalefit { db.videodata.scalefit.enumeration }
2234 db.videodata.scale.attribute = db.scale.attribute
2235 db.videodata.attlist =
2236 db.videodata.role.attribute?
2237 & db.common.attributes
2238 & db.common.data.attributes
2239 & db.videodata.align.attribute?
2240 & db.videodata.valign.attribute?
2241 & db.videodata.width.attribute?
2242 & db.videodata.contentwidth.attribute?
2243 & db.videodata.scalefit.attribute?
2244 & db.videodata.scale.attribute?
2245 & db.videodata.depth.attribute?
2246 & db.videodata.contentdepth.attribute?
2247 & db.videodata.autoplay.attribute?
2248 & db.videodata.classid.attribute?
2249 db.videodata.info = db._info.title.forbidden
2250 db.videodata =
2251
2252 ## Pointer to external video data
2253 element videodata { db.videodata.attlist, db.videodata.info }
2254 }
2255 div {
2256 db.audiodata.role.attribute = attribute role { text }
2257 db.audiodata.align.enumeration = db.halign.enumeration
2258 db.audiodata.align.attribute =
2259
2260 ## Specifies the (horizontal) alignment of the video data
2261 attribute align { db.audiodata.align.enumeration }
2262 db.audiodata.autoplay.attribute = db.autoplay.attribute
2263 db.audiodata.classid.attribute = db.classid.attribute
2264 db.audiodata.contentwidth.attribute = db.contentwidth.attribute
2265 db.audiodata.contentdepth.attribute = db.contentdepth.attribute
2266 db.audiodata.depth.attribute = db.depth.attribute
2267 db.audiodata.scale.attribute = db.scale.attribute
2268 db.audiodata.scalefit.enumeration = db.scalefit.enumeration
2269 db.audiodata.scalefit.attribute =
2270
2271 ## Determines if anamorphic scaling is forbidden
2272 attribute scalefit { db.audiodata.scalefit.enumeration }
2273 db.audiodata.valign.enumeration = db.valign.enumeration
2274 db.audiodata.valign.attribute =
2275
2276 ## Specifies the vertical alignment of the video data
2277 attribute valign { db.audiodata.valign.enumeration }
2278 db.audiodata.width.attribute = db.width.attribute
2279 db.audiodata.attlist =
2280 db.audiodata.role.attribute?
2281 & db.common.attributes
2282 & db.common.data.attributes
2283 & db.audiodata.align.attribute?
2284 & db.audiodata.autoplay.attribute?
2285 & db.audiodata.classid.attribute?
2286 & db.audiodata.contentdepth.attribute?
2287 & db.audiodata.contentwidth.attribute?
2288 & db.audiodata.depth.attribute?
2289 & db.audiodata.scale.attribute?
2290 & db.audiodata.scalefit.attribute?
2291 & db.audiodata.valign.attribute?
2292 & db.audiodata.width.attribute?
2293 db.audiodata.info = db._info.title.forbidden
2294 db.audiodata =
2295
2296 ## Pointer to external audio data
2297 element audiodata { db.audiodata.attlist, db.audiodata.info }
2298 }
2299 div {
2300 db.imagedata.role.attribute = attribute role { text }
2301 db.imagedata.align.enumeration = db.halign.enumeration
2302 db.imagedata.align.attribute =
2303
2304 ## Specifies the (horizontal) alignment of the image data
2305 attribute align { db.imagedata.align.enumeration }
2306 db.imagedata.valign.enumeration = db.valign.enumeration
2307 db.imagedata.valign.attribute =
2308
2309 ## Specifies the vertical alignment of the image data
2310 attribute valign { db.imagedata.valign.enumeration }
2311 db.imagedata.width.attribute = db.width.attribute
2312 db.imagedata.depth.attribute = db.depth.attribute
2313 db.imagedata.contentwidth.attribute = db.contentwidth.attribute
2314 db.imagedata.contentdepth.attribute = db.contentdepth.attribute
2315 db.imagedata.scalefit.enumeration = db.scalefit.enumeration
2316 db.imagedata.scalefit.attribute =
2317
2318 ## Determines if anamorphic scaling is forbidden
2319 attribute scalefit { db.imagedata.scalefit.enumeration }
2320 db.imagedata.scale.attribute = db.scale.attribute
2321 db.imagedata.attlist =
2322 db.imagedata.role.attribute?
2323 & db.common.attributes
2324 & db.common.data.attributes
2325 & db.imagedata.align.attribute?
2326 & db.imagedata.valign.attribute?
2327 & db.imagedata.width.attribute?
2328 & db.imagedata.contentwidth.attribute?
2329 & db.imagedata.scalefit.attribute?
2330 & db.imagedata.scale.attribute?
2331 & db.imagedata.depth.attribute?
2332 & db.imagedata.contentdepth.attribute?
2333 db.imagedata.info = db._info.title.forbidden
2334 db.imagedata =
2335
2336 ## Pointer to external image data
2337 element imagedata { db.imagedata.attlist, db.imagedata.info }
2338 }
2339 div {
2340 db.textdata.role.attribute = attribute role { text }
2341 db.textdata.encoding.attribute =
2342
2343 ## Identifies the encoding of the text in the external file
2344 attribute encoding { text }
2345 db.textdata.attlist =
2346 db.textdata.role.attribute?
2347 & db.common.attributes
2348 & db.common.data.attributes
2349 & db.textdata.encoding.attribute?
2350 db.textdata.info = db._info.title.forbidden
2351 db.textdata =
2352
2353 ## Pointer to external text data
2354 element textdata { db.textdata.attlist, db.textdata.info }
2355 }
2356 div {
2357 db.multimediaparam.role.attribute = attribute role { text }
2358 db.multimediaparam.name.attribute =
2359
2360 ## Specifies the name of the parameter
2361 attribute name { text }
2362 db.multimediaparam.value.attribute =
2363
2364 ## Specifies the value of the parameter
2365 attribute value { text }
2366 db.multimediaparam.valuetype.attribute =
2367
2368 ## Specifies the type of the value of the parameter
2369 attribute valuetype { text }
2370 db.multimediaparam.attlist =
2371 db.multimediaparam.role.attribute?
2372 & db.common.attributes
2373 & db.multimediaparam.name.attribute
2374 & db.multimediaparam.value.attribute
2375 & db.multimediaparam.valuetype.attribute?
2376 db.multimediaparam =
2377
2378 ## Application specific parameters for a media player
2379 element multimediaparam { db.multimediaparam.attlist, empty }
2380 }
2381 div {
2382 db.caption.role.attribute = attribute role { text }
2383 db.caption.attlist =
2384 db.caption.role.attribute?
2385 & db.common.attributes
2386 & db.common.linking.attributes
2387 db.caption.info = db._info.title.forbidden
2388 db.caption =
2389
2390 ## A caption
2391 [
2392 s:pattern [
2393 name = "Element exclusion"
2394 "\x{a}" ~
2395 " "
2396 s:rule [
2397 context = "db:caption"
2398 "\x{a}" ~
2399 " "
2400 s:assert [
2401 test = "not(.//db:example)"
2402 "example must not occur among the children or descendants of caption"
2403 ]
2404 "\x{a}" ~
2405 " "
2406 ]
2407 "\x{a}" ~
2408 " "
2409 ]
2410 s:pattern [
2411 name = "Element exclusion"
2412 "\x{a}" ~
2413 " "
2414 s:rule [
2415 context = "db:caption"
2416 "\x{a}" ~
2417 " "
2418 s:assert [
2419 test = "not(.//db:figure)"
2420 "figure must not occur among the children or descendants of caption"
2421 ]
2422 "\x{a}" ~
2423 " "
2424 ]
2425 "\x{a}" ~
2426 " "
2427 ]
2428 s:pattern [
2429 name = "Element exclusion"
2430 "\x{a}" ~
2431 " "
2432 s:rule [
2433 context = "db:caption"
2434 "\x{a}" ~
2435 " "
2436 s:assert [
2437 test = "not(.//db:table)"
2438 "table must not occur among the children or descendants of caption"
2439 ]
2440 "\x{a}" ~
2441 " "
2442 ]
2443 "\x{a}" ~
2444 " "
2445 ]
2446 s:pattern [
2447 name = "Element exclusion"
2448 "\x{a}" ~
2449 " "
2450 s:rule [
2451 context = "db:caption"
2452 "\x{a}" ~
2453 " "
2454 s:assert [
2455 test = "not(.//db:equation)"
2456 "equation must not occur among the children or descendants of caption"
2457 ]
2458 "\x{a}" ~
2459 " "
2460 ]
2461 "\x{a}" ~
2462 " "
2463 ]
2464 s:pattern [
2465 name = "Element exclusion"
2466 "\x{a}" ~
2467 " "
2468 s:rule [
2469 context = "db:caption"
2470 "\x{a}" ~
2471 " "
2472 s:assert [
2473 test = "not(.//db:sidebar)"
2474 "sidebar must not occur among the children or descendants of caption"
2475 ]
2476 "\x{a}" ~
2477 " "
2478 ]
2479 "\x{a}" ~
2480 " "
2481 ]
2482 s:pattern [
2483 name = "Element exclusion"
2484 "\x{a}" ~
2485 " "
2486 s:rule [
2487 context = "db:caption"
2488 "\x{a}" ~
2489 " "
2490 s:assert [
2491 test = "not(.//db:task)"
2492 "task must not occur among the children or descendants of caption"
2493 ]
2494 "\x{a}" ~
2495 " "
2496 ]
2497 "\x{a}" ~
2498 " "
2499 ]
2500 s:pattern [
2501 name = "Element exclusion"
2502 "\x{a}" ~
2503 " "
2504 s:rule [
2505 context = "db:caption"
2506 "\x{a}" ~
2507 " "
2508 s:assert [
2509 test = "not(.//db:caution)"
2510 "caution must not occur among the children or descendants of caption"
2511 ]
2512 "\x{a}" ~
2513 " "
2514 ]
2515 "\x{a}" ~
2516 " "
2517 ]
2518 s:pattern [
2519 name = "Element exclusion"
2520 "\x{a}" ~
2521 " "
2522 s:rule [
2523 context = "db:caption"
2524 "\x{a}" ~
2525 " "
2526 s:assert [
2527 test = "not(.//db:important)"
2528 "important must not occur among the children or descendants of caption"
2529 ]
2530 "\x{a}" ~
2531 " "
2532 ]
2533 "\x{a}" ~
2534 " "
2535 ]
2536 s:pattern [
2537 name = "Element exclusion"
2538 "\x{a}" ~
2539 " "
2540 s:rule [
2541 context = "db:caption"
2542 "\x{a}" ~
2543 " "
2544 s:assert [
2545 test = "not(.//db:note)"
2546 "note must not occur among the children or descendants of caption"
2547 ]
2548 "\x{a}" ~
2549 " "
2550 ]
2551 "\x{a}" ~
2552 " "
2553 ]
2554 s:pattern [
2555 name = "Element exclusion"
2556 "\x{a}" ~
2557 " "
2558 s:rule [
2559 context = "db:caption"
2560 "\x{a}" ~
2561 " "
2562 s:assert [
2563 test = "not(.//db:tip)"
2564 "tip must not occur among the children or descendants of caption"
2565 ]
2566 "\x{a}" ~
2567 " "
2568 ]
2569 "\x{a}" ~
2570 " "
2571 ]
2572 s:pattern [
2573 name = "Element exclusion"
2574 "\x{a}" ~
2575 " "
2576 s:rule [
2577 context = "db:caption"
2578 "\x{a}" ~
2579 " "
2580 s:assert [
2581 test = "not(.//db:warning)"
2582 "warning must not occur among the children or descendants of caption"
2583 ]
2584 "\x{a}" ~
2585 " "
2586 ]
2587 "\x{a}" ~
2588 " "
2589 ]
2590 ]
2591 element caption {
2592 db.caption.attlist, db.caption.info, db.all.blocks+
2593 }
2594 }
2595 div {
2596 db.address.role.attribute = attribute role { text }
2597 db.address.attlist =
2598 db.address.role.attribute?
2599 & db.common.attributes
2600 & db.common.linking.attributes
2601 & db.verbatim.attributes
2602 db.address =
2603
2604 ## A real-world address, generally a postal address
2605 element address {
2606 db.address.attlist,
2607 (db._text
2608 | db.personname
2609 | db.orgname
2610 | db.pob
2611 | db.street
2612 | db.city
2613 | db.state
2614 | db.postcode
2615 | db.country
2616 | db.phone
2617 | db.fax
2618 | db.email
2619 | db.uri
2620 | db.otheraddr)*
2621 }
2622 }
2623 div {
2624 db.street.role.attribute = attribute role { text }
2625 db.street.attlist =
2626 db.street.role.attribute?
2627 & db.common.attributes
2628 & db.common.linking.attributes
2629 db.street =
2630
2631 ## A street address in an address
2632 element street { db.street.attlist, db._text }
2633 }
2634 div {
2635 db.pob.role.attribute = attribute role { text }
2636 db.pob.attlist =
2637 db.pob.role.attribute?
2638 & db.common.attributes
2639 & db.common.linking.attributes
2640 db.pob =
2641
2642 ## A post office box in an address
2643 element pob { db.pob.attlist, db._text }
2644 }
2645 div {
2646 db.postcode.role.attribute = attribute role { text }
2647 db.postcode.attlist =
2648 db.postcode.role.attribute?
2649 & db.common.attributes
2650 & db.common.linking.attributes
2651 db.postcode =
2652
2653 ## A postal code in an address
2654 element postcode { db.postcode.attlist, db._text }
2655 }
2656 div {
2657 db.city.role.attribute = attribute role { text }
2658 db.city.attlist =
2659 db.city.role.attribute?
2660 & db.common.attributes
2661 & db.common.linking.attributes
2662 db.city =
2663
2664 ## The name of a city in an address
2665 element city { db.city.attlist, db._text }
2666 }
2667 div {
2668 db.state.role.attribute = attribute role { text }
2669 db.state.attlist =
2670 db.state.role.attribute?
2671 & db.common.attributes
2672 & db.common.linking.attributes
2673 db.state =
2674
2675 ## A state or province in an address
2676 element state { db.state.attlist, db._text }
2677 }
2678 div {
2679 db.country.role.attribute = attribute role { text }
2680 db.country.attlist =
2681 db.country.role.attribute?
2682 & db.common.attributes
2683 & db.common.linking.attributes
2684 db.country =
2685
2686 ## The name of a country
2687 element country { db.country.attlist, db._text }
2688 }
2689 div {
2690 db.phone.role.attribute = attribute role { text }
2691 db.phone.attlist =
2692 db.phone.role.attribute?
2693 & db.common.attributes
2694 & db.common.linking.attributes
2695 db.phone =
2696
2697 ## A telephone number
2698 element phone { db.phone.attlist, db._text }
2699 }
2700 div {
2701 db.fax.role.attribute = attribute role { text }
2702 db.fax.attlist =
2703 db.fax.role.attribute?
2704 & db.common.attributes
2705 & db.common.linking.attributes
2706 db.fax =
2707
2708 ## A fax number
2709 element fax { db.fax.attlist, db._text }
2710 }
2711 div {
2712 db.otheraddr.role.attribute = attribute role { text }
2713 db.otheraddr.attlist =
2714 db.otheraddr.role.attribute?
2715 & db.common.attributes
2716 & db.common.linking.attributes
2717 db.otheraddr =
2718
2719 ## Uncategorized information in address
2720 element otheraddr { db.otheraddr.attlist, db._text }
2721 }
2722 div {
2723 db.affiliation.role.attribute = attribute role { text }
2724 db.affiliation.attlist =
2725 db.affiliation.role.attribute?
2726 & db.common.attributes
2727 & db.common.linking.attributes
2728 db.affiliation =
2729
2730 ## The institutional affiliation of an individual
2731 element affiliation {
2732 db.affiliation.attlist,
2733 db.shortaffil?,
2734 db.jobtitle*,
2735 (db.org? | (db.orgname?, db.orgdiv*, db.address*))
2736 }
2737 }
2738 div {
2739 db.shortaffil.role.attribute = attribute role { text }
2740 db.shortaffil.attlist =
2741 db.shortaffil.role.attribute?
2742 & db.common.attributes
2743 & db.common.linking.attributes
2744 db.shortaffil =
2745
2746 ## A brief description of an affiliation
2747 element shortaffil { db.shortaffil.attlist, db._text }
2748 }
2749 div {
2750 db.jobtitle.role.attribute = attribute role { text }
2751 db.jobtitle.attlist =
2752 db.jobtitle.role.attribute?
2753 & db.common.attributes
2754 & db.common.linking.attributes
2755 db.jobtitle =
2756
2757 ## The title of an individual in an organization
2758 element jobtitle { db.jobtitle.attlist, db._text }
2759 }
2760 div {
2761 db.orgname.class.enumeration =
2762
2763 ## A consortium
2764 "consortium"
2765 |
2766 ## A corporation
2767 "corporation"
2768 |
2769 ## An informal organization
2770 "informal"
2771 |
2772 ## A non-profit organization
2773 "nonprofit"
2774 db.orgname.class-enum.attribute =
2775
2776 ## Specifies the nature of the organization
2777 attribute class { db.orgname.class.enumeration }
2778 db.orgname.class-other.attributes =
2779
2780 ## Specifies the nature of the organization
2781 attribute class {
2782
2783 ## Indicates a non-standard organization class
2784 "other"
2785 },
2786
2787 ## Identifies the non-standard nature of the organization
2788 attribute otherclass { text }
2789 db.orgname.class.attribute =
2790 db.orgname.class-enum.attribute | db.orgname.class-other.attributes
2791 db.orgname.role.attribute = attribute role { text }
2792 db.orgname.attlist =
2793 db.orgname.role.attribute?
2794 & db.common.attributes
2795 & db.common.linking.attributes
2796 & db.orgname.class.attribute?
2797 db.orgname =
2798
2799 ## The name of an organization
2800 element orgname { db.orgname.attlist, db._text }
2801 }
2802 div {
2803 db.orgdiv.role.attribute = attribute role { text }
2804 db.orgdiv.attlist =
2805 db.orgdiv.role.attribute?
2806 & db.common.attributes
2807 & db.common.linking.attributes
2808 db.orgdiv =
2809
2810 ## A division of an organization
2811 element orgdiv { db.orgdiv.attlist, db.all.inlines* }
2812 }
2813 div {
2814 db.artpagenums.role.attribute = attribute role { text }
2815 db.artpagenums.attlist =
2816 db.artpagenums.role.attribute?
2817 & db.common.attributes
2818 & db.common.linking.attributes
2819 db.artpagenums =
2820
2821 ## The page numbers of an article as published
2822 element artpagenums { db.artpagenums.attlist, db._text }
2823 }
2824 div {
2825 db.personname.role.attribute = attribute role { text }
2826 db.personname.attlist =
2827 db.personname.role.attribute?
2828 & db.common.attributes
2829 & db.common.linking.attributes
2830 db.personname =
2831
2832 ## The personal name of an individual
2833 element personname {
2834 db.personname.attlist,
2835 (db._text
2836 | (db.honorific
2837 | db.firstname
2838 | db.surname
2839 | db.lineage
2840 | db.othername)+
2841 | (db.honorific
2842 | db.givenname
2843 | db.surname
2844 | db.lineage
2845 | db.othername)+)
2846 }
2847 }
2848 db.person.author.contentmodel =
2849 db.personname,
2850 (db.personblurb
2851 | db.affiliation
2852 | db.email
2853 | db.uri
2854 | db.address
2855 | db.contrib)*
2856 db.org.author.contentmodel =
2857 db.orgname,
2858 (db.orgdiv
2859 | db.affiliation
2860 | db.email
2861 | db.uri
2862 | db.address
2863 | db.contrib)*
2864 db.credit.contentmodel =
2865 db.person.author.contentmodel | db.org.author.contentmodel
2866 div {
2867 db.author.role.attribute = attribute role { text }
2868 db.author.attlist =
2869 db.author.role.attribute?
2870 & db.common.attributes
2871 & db.common.linking.attributes
2872 db.author =
2873
2874 ## The name of an individual author
2875 element author { db.author.attlist, db.credit.contentmodel }
2876 }
2877 div {
2878 db.authorgroup.role.attribute = attribute role { text }
2879 db.authorgroup.attlist =
2880 db.authorgroup.role.attribute?
2881 & db.common.attributes
2882 & db.common.linking.attributes
2883 db.authorgroup =
2884
2885 ## Wrapper for author information when a document has multiple authors or collaborators
2886 element authorgroup {
2887 db.authorgroup.attlist, (db.author | db.editor | db.othercredit)+
2888 }
2889 }
2890 div {
2891 db.collab.role.attribute = attribute role { text }
2892 db.collab.attlist =
2893 db.collab.role.attribute?
2894 & db.common.attributes
2895 & db.common.linking.attributes
2896 db.collab =
2897
2898 ## Identifies a collaborator
2899 element collab {
2900 db.collab.attlist,
2901 (db.person | db.personname | db.org | db.orgname)+,
2902 db.affiliation*
2903 }
2904 }
2905 div {
2906 db.authorinitials.role.attribute = attribute role { text }
2907 db.authorinitials.attlist =
2908 db.authorinitials.role.attribute?
2909 & db.common.attributes
2910 & db.common.linking.attributes
2911 db.authorinitials =
2912
2913 ## The initials or other short identifier for an author
2914 element authorinitials { db.authorinitials.attlist, db._text }
2915 }
2916 div {
2917 db.person.role.attribute = attribute role { text }
2918 db.person.attlist =
2919 db.person.role.attribute?
2920 & db.common.attributes
2921 & db.common.linking.attributes
2922 db.person =
2923
2924 ## A person and associated metadata
2925 element person {
2926 db.person.attlist,
2927 db.personname,
2928 (db.address
2929 | db.affiliation
2930 | db.email
2931 | db.uri
2932 | db.personblurb)*
2933 }
2934 }
2935 div {
2936 db.org.role.attribute = attribute role { text }
2937 db.org.attlist =
2938 db.org.role.attribute?
2939 & db.common.attributes
2940 & db.common.linking.attributes
2941 db.org =
2942
2943 ## An organization and associated metadata
2944 element org {
2945 db.org.attlist,
2946 db.orgname,
2947 (db.address | db.affiliation | db.email | db.uri | db.orgdiv)*
2948 }
2949 }
2950 div {
2951 db.confgroup.role.attribute = attribute role { text }
2952 db.confgroup.attlist =
2953 db.confgroup.role.attribute?
2954 & db.common.attributes
2955 & db.common.linking.attributes
2956 db.confgroup =
2957
2958 ## A wrapper for document meta-information about a conference
2959 element confgroup {
2960 db.confgroup.attlist,
2961 (db.confdates
2962 | db.conftitle
2963 | db.confnum
2964 | db.confsponsor
2965 | db.address)*
2966 }
2967 }
2968 div {
2969 db.confdates.role.attribute = attribute role { text }
2970 db.confdates.attlist =
2971 db.confdates.role.attribute?
2972 & db.common.attributes
2973 & db.common.linking.attributes
2974 db.confdates =
2975
2976 ## The dates of a conference for which a document was written
2977 element confdates { db.confdates.attlist, db._text }
2978 }
2979 div {
2980 db.conftitle.role.attribute = attribute role { text }
2981 db.conftitle.attlist =
2982 db.conftitle.role.attribute?
2983 & db.common.attributes
2984 & db.common.linking.attributes
2985 db.conftitle =
2986
2987 ## The title of a conference for which a document was written
2988 element conftitle { db.conftitle.attlist, db._text }
2989 }
2990 div {
2991 db.confnum.role.attribute = attribute role { text }
2992 db.confnum.attlist =
2993 db.confnum.role.attribute?
2994 & db.common.attributes
2995 & db.common.linking.attributes
2996 db.confnum =
2997
2998 ## An identifier, frequently numerical, associated with a conference for which a document was written
2999 element confnum { db.confnum.attlist, db._text }
3000 }
3001 div {
3002 db.confsponsor.role.attribute = attribute role { text }
3003 db.confsponsor.attlist =
3004 db.confsponsor.role.attribute?
3005 & db.common.attributes
3006 & db.common.linking.attributes
3007 db.confsponsor =
3008
3009 ## The sponsor of a conference for which a document was written
3010 element confsponsor { db.confsponsor.attlist, db._text }
3011 }
3012 div {
3013 db.contractnum.role.attribute = attribute role { text }
3014 db.contractnum.attlist =
3015 db.contractnum.role.attribute?
3016 & db.common.attributes
3017 & db.common.linking.attributes
3018 db.contractnum =
3019
3020 ## The contract number of a document
3021 element contractnum { db.contractnum.attlist, db._text }
3022 }
3023 div {
3024 db.contractsponsor.role.attribute = attribute role { text }
3025 db.contractsponsor.attlist =
3026 db.contractsponsor.role.attribute?
3027 & db.common.attributes
3028 & db.common.linking.attributes
3029 db.contractsponsor =
3030
3031 ## The sponsor of a contract
3032 element contractsponsor { db.contractsponsor.attlist, db._text }
3033 }
3034 div {
3035 db.copyright.role.attribute = attribute role { text }
3036 db.copyright.attlist =
3037 db.copyright.role.attribute?
3038 & db.common.attributes
3039 & db.common.linking.attributes
3040 db.copyright =
3041
3042 ## Copyright information about a document
3043 element copyright { db.copyright.attlist, db.year+, db.holder* }
3044 }
3045 div {
3046 db.year.role.attribute = attribute role { text }
3047 db.year.attlist =
3048 db.year.role.attribute?
3049 & db.common.attributes
3050 & db.common.linking.attributes
3051 db.year =
3052
3053 ## The year of publication of a document
3054 element year { db.year.attlist, db._text }
3055 }
3056 div {
3057 db.holder.role.attribute = attribute role { text }
3058 db.holder.attlist =
3059 db.holder.role.attribute?
3060 & db.common.attributes
3061 & db.common.linking.attributes
3062 db.holder =
3063
3064 ## The name of the individual or organization that holds a copyright
3065 element holder { db.holder.attlist, db._text }
3066 }
3067 db.cover.contentmodel =
3068 (db.para.blocks
3069 | db.list.blocks
3070 | db.informal.blocks
3071 | db.publishing.blocks
3072 | db.graphic.blocks
3073 | db.technical.blocks
3074 | db.verbatim.blocks
3075 | db.bridgehead
3076 | db.remark
3077 | db.revhistory)
3078 | db.synopsis.blocks
3079 div {
3080 db.cover.role.attribute = attribute role { text }
3081 db.cover.attlist =
3082 db.cover.role.attribute?
3083 & db.common.attributes
3084 & db.common.linking.attributes
3085 db.cover =
3086
3087 ## Additional content for the cover of a publication
3088 element cover { db.cover.attlist, db.cover.contentmodel+ }
3089 }
3090 db.date.contentmodel =
3091 xsd:date | xsd:dateTime | xsd:gYearMonth | xsd:gYear | text
3092 div {
3093 db.date.role.attribute = attribute role { text }
3094 db.date.attlist =
3095 db.date.role.attribute?
3096 & db.common.attributes
3097 & db.common.linking.attributes
3098 db.date =
3099
3100 ## The date of publication or revision of a document
3101 element date { db.date.attlist, db.date.contentmodel }
3102 }
3103 div {
3104 db.edition.role.attribute = attribute role { text }
3105 db.edition.attlist =
3106 db.edition.role.attribute?
3107 & db.common.attributes
3108 & db.common.linking.attributes
3109 db.edition =
3110
3111 ## The name or number of an edition of a document
3112 element edition { db.edition.attlist, db._text }
3113 }
3114 div {
3115 db.editor.role.attribute = attribute role { text }
3116 db.editor.attlist =
3117 db.editor.role.attribute?
3118 & db.common.attributes
3119 & db.common.linking.attributes
3120 db.editor =
3121
3122 ## The name of the editor of a document
3123 element editor { db.editor.attlist, db.credit.contentmodel }
3124 }
3125 div {
3126 db.biblioid.role.attribute = attribute role { text }
3127 db.biblioid.attlist =
3128 db.biblioid.role.attribute?
3129 & db.common.attributes
3130 & db.common.linking.attributes
3131 & db.biblio.class.attribute
3132 db.biblioid =
3133
3134 ## An identifier for a document
3135 element biblioid { db.biblioid.attlist, db._text }
3136 }
3137 div {
3138 db.citebiblioid.role.attribute = attribute role { text }
3139 db.citebiblioid.attlist =
3140 db.citebiblioid.role.attribute?
3141 & db.common.attributes
3142 & db.common.linking.attributes
3143 & db.biblio.class.attribute
3144 db.citebiblioid =
3145
3146 ## A citation of a bibliographic identifier
3147 element citebiblioid { db.citebiblioid.attlist, db._text }
3148 }
3149 div {
3150 db.bibliosource.role.attribute = attribute role { text }
3151 db.bibliosource.attlist =
3152 db.bibliosource.role.attribute?
3153 & db.common.attributes
3154 & db.common.linking.attributes
3155 & db.biblio.class.attribute
3156 db.bibliosource =
3157
3158 ## The source of a document
3159 element bibliosource { db.bibliosource.attlist, db._text }
3160 }
3161 div {
3162 db.bibliorelation.type.enumeration =
3163
3164 ## The described resource pre-existed the referenced resource, which is essentially the same intellectual content presented in another format
3165 "hasformat"
3166 |
3167 ## The described resource includes the referenced resource either physically or logically
3168 "haspart"
3169 |
3170 ## The described resource has a version, edition, or adaptation, namely, the referenced resource
3171 "hasversion"
3172 |
3173 ## The described resource is the same intellectual content of the referenced resource, but presented in another format
3174 "isformatof"
3175 |
3176 ## The described resource is a physical or logical part of the referenced resource
3177 "ispartof"
3178 |
3179 ## The described resource is referenced, cited, or otherwise pointed to by the referenced resource
3180 "isreferencedby"
3181 |
3182 ## The described resource is supplanted, displaced, or superceded by the referenced resource
3183 "isreplacedby"
3184 |
3185 ## The described resource is required by the referenced resource, either physically or logically
3186 "isrequiredby"
3187 |
3188 ## The described resource is a version, edition, or adaptation of the referenced resource; changes in version imply substantive changes in content rather than differences in format
3189 "isversionof"
3190 |
3191 ## The described resource references, cites, or otherwise points to the referenced resource
3192 "references"
3193 |
3194 ## The described resource supplants, displaces, or supersedes the referenced resource
3195 "replaces"
3196 |
3197 ## The described resource requires the referenced resource to support its function, delivery, or coherence of content
3198 "requires"
3199 db.bibliorelation.type-enum.attribute =
3200
3201 ## Identifies the type of relationship
3202 attribute type { db.bibliorelation.type.enumeration }?
3203 db.bibliorelation.type-other.attributes =
3204
3205 ## Identifies the type of relationship
3206 attribute type {
3207
3208 ## The described resource has a non-standard relationship with the referenced resource
3209 "othertype"
3210 }?,
3211
3212 ## A keyword that identififes the type of the non-standard relationship
3213 attribute othertype { xsd:NMTOKEN }
3214 db.bibliorelation.type.attribute =
3215 db.bibliorelation.type-enum.attribute
3216 | db.bibliorelation.type-other.attributes
3217 db.bibliorelation.role.attribute = attribute role { text }
3218 db.bibliorelation.attlist =
3219 db.bibliorelation.role.attribute?
3220 & db.common.attributes
3221 & db.common.linking.attributes
3222 & db.biblio.class.attribute
3223 & db.bibliorelation.type.attribute
3224 db.bibliorelation =
3225
3226 ## The relationship of a document to another
3227 element bibliorelation { db.bibliorelation.attlist, db._text }
3228 }
3229 div {
3230 db.bibliocoverage.spacial.enumeration =
3231
3232 ## The DCMI Point identifies a point in space using its geographic coordinates
3233 "dcmipoint"
3234 |
3235 ## ISO 3166 Codes for the representation of names of countries
3236 "iso3166"
3237 |
3238 ## The DCMI Box identifies a region of space using its geographic limits
3239 "dcmibox"
3240 |
3241 ## The Getty Thesaurus of Geographic Names
3242 "tgn"
3243 db.bibliocoverage.spatial-enum.attribute =
3244
3245 ## Specifies the type of spatial coverage
3246 attribute spatial { db.bibliocoverage.spacial.enumeration }?
3247 db.bibliocoverage.spatial-other.attributes =
3248
3249 ## Specifies the type of spatial coverage
3250 attribute spatial {
3251
3252 ## Identifies a non-standard type of coverage
3253 "otherspatial"
3254 }?,
3255
3256 ## A keyword that identifies the type of non-standard coverage
3257 attribute otherspatial { xsd:NMTOKEN }
3258 db.bibliocoverage.spatial.attribute =
3259 db.bibliocoverage.spatial-enum.attribute
3260 | db.bibliocoverage.spatial-other.attributes
3261 db.bibliocoverage.temporal.enumeration =
3262
3263 ## A specification of the limits of a time interval
3264 "dcmiperiod"
3265 |
3266 ## W3C Encoding rules for dates and times—a profile based on ISO 8601
3267 "w3c-dtf"
3268 db.bibliocoverage.temporal-enum.attribute =
3269
3270 ## Specifies the type of temporal coverage
3271 attribute temporal { db.bibliocoverage.temporal.enumeration }?
3272 db.bibliocoverage.temporal-other.attributes =
3273
3274 ## Specifies the type of temporal coverage
3275 attribute temporal {
3276
3277 ## Specifies a non-standard type of coverage
3278 "othertemporal"
3279 }?,
3280
3281 ## A keyword that identifies the type of non-standard coverage
3282 attribute othertemporal { xsd:NMTOKEN }
3283 db.bibliocoverage.temporal.attribute =
3284 db.bibliocoverage.temporal-enum.attribute
3285 | db.bibliocoverage.temporal-other.attributes
3286 db.bibliocoverage.coverage.attrib =
3287 db.bibliocoverage.spatial.attribute
3288 & db.bibliocoverage.temporal.attribute
3289 db.bibliocoverage.role.attribute = attribute role { text }
3290 db.bibliocoverage.attlist =
3291 db.bibliocoverage.role.attribute?
3292 & db.common.attributes
3293 & db.common.linking.attributes
3294 & db.bibliocoverage.coverage.attrib
3295 db.bibliocoverage =
3296
3297 ## The spatial or temporal coverage of a document
3298 element bibliocoverage { db.bibliocoverage.attlist, db._text }
3299 }
3300 div {
3301 db.legalnotice.role.attribute = attribute role { text }
3302 db.legalnotice.attlist =
3303 db.legalnotice.role.attribute?
3304 & db.common.attributes
3305 & db.common.linking.attributes
3306 db.legalnotice.info = db._info.title.only
3307 db.legalnotice =
3308
3309 ## A statement of legal obligations or requirements
3310 element legalnotice {
3311 db.legalnotice.attlist, db.legalnotice.info, db.all.blocks+
3312 }
3313 }
3314 div {
3315 db.othercredit.class.enumeration =
3316
3317 ## A copy editor
3318 "copyeditor"
3319 |
3320 ## A graphic designer
3321 "graphicdesigner"
3322 |
3323 ## Some other contributor
3324 "other"
3325 |
3326 ## A production editor
3327 "productioneditor"
3328 |
3329 ## A technical editor
3330 "technicaleditor"
3331 |
3332 ## A translator
3333 "translator"
3334 |
3335 ## An indexer
3336 "indexer"
3337 |
3338 ## A proof-reader
3339 "proofreader"
3340 |
3341 ## A cover designer
3342 "coverdesigner"
3343 |
3344 ## An interior designer
3345 "interiordesigner"
3346 |
3347 ## An illustrator
3348 "illustrator"
3349 |
3350 ## A reviewer
3351 "reviewer"
3352 |
3353 ## A typesetter
3354 "typesetter"
3355 |
3356 ## A converter (a persons responsible for conversion, not an application)
3357 "conversion"
3358 db.othercredit.class-enum.attribute =
3359
3360 ## Identifies the nature of the contributor
3361 attribute class { db.othercredit.class.enumeration }?
3362 db.othercredit.class-other.attribute =
3363
3364 ## Identifies the nature of the non-standard contribution
3365 attribute otherclass { xsd:NMTOKEN }
3366 db.othercredit.class-other.attributes =
3367
3368 ## Identifies the nature of the contributor
3369 attribute class {
3370
3371 ## Identifies a non-standard contribution
3372 "other"
3373 }
3374 & db.othercredit.class-other.attribute
3375 db.othercredit.class.attribute =
3376 db.othercredit.class-enum.attribute
3377 | db.othercredit.class-other.attributes
3378 db.othercredit.role.attribute = attribute role { text }
3379 db.othercredit.attlist =
3380 db.othercredit.role.attribute?
3381 & db.common.attributes
3382 & db.common.linking.attributes
3383 & db.othercredit.class.attribute
3384 db.othercredit =
3385
3386 ## A person or entity, other than an author or editor, credited in a document
3387 element othercredit {
3388 db.othercredit.attlist, db.credit.contentmodel
3389 }
3390 }
3391 div {
3392 db.pagenums.role.attribute = attribute role { text }
3393 db.pagenums.attlist =
3394 db.pagenums.role.attribute?
3395 & db.common.attributes
3396 & db.common.linking.attributes
3397 db.pagenums =
3398
3399 ## The numbers of the pages in a book, for use in a bibliographic entry
3400 element pagenums { db.pagenums.attlist, db._text }
3401 }
3402 div {
3403 db.contrib.role.attribute = attribute role { text }
3404 db.contrib.attlist =
3405 db.contrib.role.attribute?
3406 & db.common.attributes
3407 & db.common.linking.attributes
3408 db.contrib =
3409
3410 ## A summary of the contributions made to a document by a credited source
3411 element contrib { db.contrib.attlist, db.all.inlines* }
3412 }
3413 div {
3414 db.honorific.role.attribute = attribute role { text }
3415 db.honorific.attlist =
3416 db.honorific.role.attribute?
3417 & db.common.attributes
3418 & db.common.linking.attributes
3419 db.honorific =
3420
3421 ## The title of a person
3422 element honorific { db.honorific.attlist, db._text }
3423 }
3424 div {
3425 db.firstname.role.attribute = attribute role { text }
3426 db.firstname.attlist =
3427 db.firstname.role.attribute?
3428 & db.common.attributes
3429 & db.common.linking.attributes
3430 db.firstname =
3431
3432 ## A given name of a person
3433 element firstname { db.firstname.attlist, db._text }
3434 }
3435 div {
3436 db.givenname.role.attribute = attribute role { text }
3437 db.givenname.attlist =
3438 db.givenname.role.attribute?
3439 & db.common.attributes
3440 & db.common.linking.attributes
3441 db.givenname =
3442
3443 ## The given name of a person
3444 element givenname { db.givenname.attlist, db._text }
3445 }
3446 div {
3447 db.surname.role.attribute = attribute role { text }
3448 db.surname.attlist =
3449 db.surname.role.attribute?
3450 & db.common.attributes
3451 & db.common.linking.attributes
3452 db.surname =
3453
3454 ## An inherited or family name; in western cultures the last name
3455 element surname { db.surname.attlist, db._text }
3456 }
3457 div {
3458 db.lineage.role.attribute = attribute role { text }
3459 db.lineage.attlist =
3460 db.lineage.role.attribute?
3461 & db.common.attributes
3462 & db.common.linking.attributes
3463 db.lineage =
3464
3465 ## The portion of a person's name indicating a relationship to ancestors
3466 element lineage { db.lineage.attlist, db._text }
3467 }
3468 div {
3469 db.othername.role.attribute = attribute role { text }
3470 db.othername.attlist =
3471 db.othername.role.attribute?
3472 & db.common.attributes
3473 & db.common.linking.attributes
3474 db.othername =
3475
3476 ## A component of a person's name that is not a first name, surname, or lineage
3477 element othername { db.othername.attlist, db._text }
3478 }
3479 div {
3480 db.printhistory.role.attribute = attribute role { text }
3481 db.printhistory.attlist =
3482 db.printhistory.role.attribute?
3483 & db.common.attributes
3484 & db.common.linking.attributes
3485 db.printhistory =
3486
3487 ## The printing history of a document
3488 element printhistory { db.printhistory.attlist, db.para.blocks+ }
3489 }
3490 div {
3491 db.pubdate.role.attribute = attribute role { text }
3492 db.pubdate.attlist =
3493 db.pubdate.role.attribute?
3494 & db.common.attributes
3495 & db.common.linking.attributes
3496 db.pubdate =
3497
3498 ## The date of publication of a document
3499 element pubdate { db.pubdate.attlist, db.date.contentmodel }
3500 }
3501 div {
3502 db.publisher.role.attribute = attribute role { text }
3503 db.publisher.attlist =
3504 db.publisher.role.attribute?
3505 & db.common.attributes
3506 & db.common.linking.attributes
3507 db.publisher =
3508
3509 ## The publisher of a document
3510 element publisher {
3511 db.publisher.attlist, db.publishername, db.address*
3512 }
3513 }
3514 div {
3515 db.publishername.role.attribute = attribute role { text }
3516 db.publishername.attlist =
3517 db.publishername.role.attribute?
3518 & db.common.attributes
3519 & db.common.linking.attributes
3520 db.publishername =
3521
3522 ## The name of the publisher of a document
3523 element publishername { db.publishername.attlist, db._text }
3524 }
3525 div {
3526 db.releaseinfo.role.attribute = attribute role { text }
3527 db.releaseinfo.attlist =
3528 db.releaseinfo.role.attribute?
3529 & db.common.attributes
3530 & db.common.linking.attributes
3531 db.releaseinfo =
3532
3533 ## Information about a particular release of a document
3534 element releaseinfo { db.releaseinfo.attlist, db._text }
3535 }
3536 div {
3537 db.revhistory.role.attribute = attribute role { text }
3538 db.revhistory.attlist =
3539 db.revhistory.role.attribute?
3540 & db.common.attributes
3541 & db.common.linking.attributes
3542 db.revhistory.info = db._info.title.only
3543 db.revhistory =
3544
3545 ## A history of the revisions to a document
3546 element revhistory {
3547 db.revhistory.attlist, db.revhistory.info, db.revision+
3548 }
3549 }
3550 div {
3551 db.revision.role.attribute = attribute role { text }
3552 db.revision.attlist =
3553 db.revision.role.attribute?
3554 & db.common.attributes
3555 & db.common.linking.attributes
3556 db.revision =
3557
3558 ## An entry describing a single revision in the history of the revisions to a document
3559 element revision {
3560 db.revision.attlist,
3561 db.revnumber?,
3562 db.date,
3563 (db.authorinitials | db.author)*,
3564 (db.revremark | db.revdescription)?
3565 }
3566 }
3567 div {
3568 db.revnumber.role.attribute = attribute role { text }
3569 db.revnumber.attlist =
3570 db.revnumber.role.attribute?
3571 & db.common.attributes
3572 & db.common.linking.attributes
3573 db.revnumber =
3574
3575 ## A document revision number
3576 element revnumber { db.revnumber.attlist, db._text }
3577 }
3578 div {
3579 db.revremark.role.attribute = attribute role { text }
3580 db.revremark.attlist =
3581 db.revremark.role.attribute?
3582 & db.common.attributes
3583 & db.common.linking.attributes
3584 db.revremark =
3585
3586 ## A description of a revision to a document
3587 element revremark { db.revremark.attlist, db._text }
3588 }
3589 div {
3590 db.revdescription.role.attribute = attribute role { text }
3591 db.revdescription.attlist =
3592 db.revdescription.role.attribute?
3593 & db.common.attributes
3594 & db.common.linking.attributes
3595 db.revdescription =
3596
3597 ## A extended description of a revision to a document
3598 element revdescription { db.revdescription.attlist, db.all.blocks* }
3599 }
3600 div {
3601 db.seriesvolnums.role.attribute = attribute role { text }
3602 db.seriesvolnums.attlist =
3603 db.seriesvolnums.role.attribute?
3604 & db.common.attributes
3605 & db.common.linking.attributes
3606 db.seriesvolnums =
3607
3608 ## Numbers of the volumes in a series of books
3609 element seriesvolnums { db.seriesvolnums.attlist, db._text }
3610 }
3611 div {
3612 db.volumenum.role.attribute = attribute role { text }
3613 db.volumenum.attlist =
3614 db.volumenum.role.attribute?
3615 & db.common.attributes
3616 & db.common.linking.attributes
3617 db.volumenum =
3618
3619 ## The volume number of a document in a set (as of books in a set or articles in a journal)
3620 element volumenum { db.volumenum.attlist, db._text }
3621 }
3622 div {
3623 db.issuenum.role.attribute = attribute role { text }
3624 db.issuenum.attlist =
3625 db.issuenum.role.attribute?
3626 & db.common.attributes
3627 & db.common.linking.attributes
3628 db.issuenum =
3629
3630 ## The number of an issue of a journal
3631 element issuenum { db.issuenum.attlist, db._text }
3632 }
3633 div {
3634 db.package.role.attribute = attribute role { text }
3635 db.package.attlist =
3636 db.package.role.attribute?
3637 & db.common.attributes
3638 & db.common.linking.attributes
3639 db.package =
3640
3641 ## A software or application package
3642 element package { db.package.attlist, db._text }
3643 }
3644 div {
3645 db.email.role.attribute = attribute role { text }
3646 db.email.attlist =
3647 db.email.role.attribute?
3648 & db.common.attributes
3649 & db.common.linking.attributes
3650 db.email =
3651
3652 ## An email address
3653 element email { db.email.attlist, db._text }
3654 }
3655 div {
3656 db.lineannotation.role.attribute = attribute role { text }
3657 db.lineannotation.attlist =
3658 db.lineannotation.role.attribute?
3659 & db.common.attributes
3660 & db.common.linking.attributes
3661 db.lineannotation =
3662
3663 ## A comment on a line in a verbatim listing
3664 element lineannotation { db.lineannotation.attlist, db._text }
3665 }
3666 div {
3667 db.parameter.class.enumeration =
3668
3669 ## A command
3670 "command"
3671 |
3672 ## A function
3673 "function"
3674 |
3675 ## An option
3676 "option"
3677 db.parameter.class.attribute =
3678
3679 ## Identifies the class of parameter
3680 attribute class { db.parameter.class.enumeration }
3681 db.parameter.role.attribute = attribute role { text }
3682 db.parameter.attlist =
3683 db.parameter.role.attribute?
3684 & db.common.attributes
3685 & db.common.linking.attributes
3686 & db.parameter.class.attribute?
3687 db.parameter =
3688
3689 ## A value or a symbolic reference to a value
3690 element parameter { db.parameter.attlist, db._text }
3691 }
3692 db.replaceable.inlines = db._text | db.co
3693 div {
3694 db.replaceable.class.enumeration =
3695
3696 ## A command
3697 "command"
3698 |
3699 ## A function
3700 "function"
3701 |
3702 ## An option
3703 "option"
3704 |
3705 ## A parameter
3706 "parameter"
3707 db.replaceable.class.attribute =
3708
3709 ## Identifies the nature of the replaceable text
3710 attribute class { db.replaceable.class.enumeration }
3711 db.replaceable.role.attribute = attribute role { text }
3712 db.replaceable.attlist =
3713 db.replaceable.role.attribute?
3714 & db.common.attributes
3715 & db.common.linking.attributes
3716 & db.replaceable.class.attribute?
3717 db.replaceable =
3718
3719 ## Content that may or must be replaced by the user
3720 element replaceable {
3721 db.replaceable.attlist, db.replaceable.inlines*
3722 }
3723 }
3724 div {
3725 db.uri.type.attribute =
3726
3727 ## Identifies the type of URI specified
3728 attribute type { text }?
3729 db.uri.role.attribute = attribute role { text }
3730 db.uri.attlist =
3731 db.uri.role.attribute?
3732 & db.common.attributes
3733 & db.common.linking.attributes
3734 & db.uri.type.attribute
3735 db.uri =
3736
3737 ## A Uniform Resource Identifier
3738 element uri { db.uri.attlist, db._text }
3739 }
3740 div {
3741 db.abbrev.role.attribute = attribute role { text }
3742 db.abbrev.attlist =
3743 db.abbrev.role.attribute?
3744 & db.common.attributes
3745 & db.common.linking.attributes
3746 db.abbrev =
3747
3748 ## An abbreviation, especially one followed by a period
3749 element abbrev {
3750 db.abbrev.attlist,
3751 (db._text | db.superscript | db.subscript | db.trademark)*
3752 }
3753 }
3754 div {
3755 db.acronym.role.attribute = attribute role { text }
3756 db.acronym.attlist =
3757 db.acronym.role.attribute?
3758 & db.common.attributes
3759 & db.common.linking.attributes
3760 db.acronym =
3761
3762 ## An often pronounceable word made from the initial (or selected) letters of a name or phrase
3763 element acronym {
3764 db.acronym.attlist,
3765 (db._text | db.superscript | db.subscript | db.trademark)*
3766 }
3767 }
3768 div {
3769 db.citation.role.attribute = attribute role { text }
3770 db.citation.attlist =
3771 db.citation.role.attribute?
3772 & db.common.attributes
3773 & db.common.linking.attributes
3774 db.citation =
3775
3776 ## An inline bibliographic reference to another published work
3777 element citation { db.citation.attlist, db.all.inlines* }
3778 }
3779 div {
3780 db.citerefentry.role.attribute = attribute role { text }
3781 db.citerefentry.attlist =
3782 db.citerefentry.role.attribute?
3783 & db.common.attributes
3784 & db.common.linking.attributes
3785 db.citerefentry =
3786
3787 ## A citation to a reference page
3788 element citerefentry {
3789 db.citerefentry.attlist, db.refentrytitle, db.manvolnum?
3790 }
3791 }
3792 div {
3793 db.refentrytitle.role.attribute = attribute role { text }
3794 db.refentrytitle.attlist =
3795 db.refentrytitle.role.attribute?
3796 & db.common.attributes
3797 & db.common.linking.attributes
3798 db.refentrytitle =
3799
3800 ## The title of a reference page
3801 element refentrytitle { db.refentrytitle.attlist, db.all.inlines* }
3802 }
3803 div {
3804 db.manvolnum.role.attribute = attribute role { text }
3805 db.manvolnum.attlist =
3806 db.manvolnum.role.attribute?
3807 & db.common.attributes
3808 & db.common.linking.attributes
3809 db.manvolnum =
3810
3811 ## A reference volume number
3812 element manvolnum { db.manvolnum.attlist, db._text }
3813 }
3814 div {
3815 db.citetitle.pubwork.enumeration =
3816
3817 ## An article
3818 "article"
3819 |
3820 ## A bulletin board system
3821 "bbs"
3822 |
3823 ## A book
3824 "book"
3825 |
3826 ## A CD-ROM
3827 "cdrom"
3828 |
3829 ## A chapter (as of a book)
3830 "chapter"
3831 |
3832 ## A DVD
3833 "dvd"
3834 |
3835 ## An email message
3836 "emailmessage"
3837 |
3838 ## A gopher page
3839 "gopher"
3840 |
3841 ## A journal
3842 "journal"
3843 |
3844 ## A manuscript
3845 "manuscript"
3846 |
3847 ## A posting to a newsgroup
3848 "newsposting"
3849 |
3850 ## A part (as of a book)
3851 "part"
3852 |
3853 ## A reference entry
3854 "refentry"
3855 |
3856 ## A section (as of a book or article)
3857 "section"
3858 |
3859 ## A series
3860 "series"
3861 |
3862 ## A set (as of books)
3863 "set"
3864 |
3865 ## A web page
3866 "webpage"
3867 |
3868 ## A wiki page
3869 "wiki"
3870 db.citetitle.pubwork.attribute =
3871
3872 ## Identifies the nature of the publication being cited
3873 attribute pubwork { db.citetitle.pubwork.enumeration }
3874 db.citetitle.role.attribute = attribute role { text }
3875 db.citetitle.attlist =
3876 db.citetitle.role.attribute?
3877 & db.common.attributes
3878 & db.common.linking.attributes
3879 & db.citetitle.pubwork.attribute?
3880 db.citetitle =
3881
3882 ## The title of a cited work
3883 element citetitle { db.citetitle.attlist, db.all.inlines* }
3884 }
3885 div {
3886 db.emphasis.role.attribute = attribute role { text }
3887 db.emphasis.attlist =
3888 db.emphasis.role.attribute?
3889 & db.common.attributes
3890 & db.common.linking.attributes
3891 db.emphasis =
3892
3893 ## Emphasized text
3894 element emphasis { db.emphasis.attlist, db.all.inlines* }
3895 }
3896 div {
3897 db._emphasis =
3898
3899 ## A limited span of emphasized text
3900 element emphasis { db.emphasis.attlist, db._text }
3901 }
3902 div {
3903 db.foreignphrase.role.attribute = attribute role { text }
3904 db.foreignphrase.attlist =
3905 db.foreignphrase.role.attribute?
3906 & db.common.attributes
3907 & db.common.linking.attributes
3908 db.foreignphrase =
3909
3910 ## A word or phrase in a language other than the primary language of the document
3911 element foreignphrase {
3912 db.foreignphrase.attlist, (text | db.general.inlines)*
3913 }
3914 }
3915 div {
3916 db._foreignphrase.role.attribute = attribute role { text }
3917 db._foreignphrase.attlist =
3918 db._foreignphrase.role.attribute?
3919 & db.common.attributes
3920 & db.common.linking.attributes
3921 db._foreignphrase =
3922
3923 ## A limited word or phrase in a language other than the primary language of the document
3924 element foreignphrase { db._foreignphrase.attlist, db._text }
3925 }
3926 div {
3927 db.phrase.role.attribute = attribute role { text }
3928 db.phrase.attlist =
3929 db.phrase.role.attribute?
3930 & db.common.attributes
3931 & db.common.linking.attributes
3932 db.phrase =
3933
3934 ## A span of text
3935 element phrase { db.phrase.attlist, db.all.inlines* }
3936 }
3937 div {
3938 db._phrase =
3939
3940 ## A limited span of text
3941 element phrase { db.phrase.attlist, db._text }
3942 }
3943 div {
3944 db.quote.role.attribute = attribute role { text }
3945 db.quote.attlist =
3946 db.quote.role.attribute?
3947 & db.common.attributes
3948 & db.common.linking.attributes
3949 db.quote =
3950
3951 ## An inline quotation
3952 element quote { db.quote.attlist, db.all.inlines* }
3953 }
3954 div {
3955 db._quote.role.attribute = attribute role { text }
3956 db._quote.attlist =
3957 db._quote.role.attribute?
3958 & db.common.attributes
3959 & db.common.linking.attributes
3960 db._quote =
3961
3962 ## A limited inline quotation
3963 element quote { db._quote.attlist, db._text }
3964 }
3965 div {
3966 db.subscript.role.attribute = attribute role { text }
3967 db.subscript.attlist =
3968 db.subscript.role.attribute?
3969 & db.common.attributes
3970 & db.common.linking.attributes
3971 db.subscript =
3972
3973 ## A subscript (as in H2
3974 ## O, the molecular formula for water)
3975 element subscript { db.subscript.attlist, db._text }
3976 }
3977 div {
3978 db.superscript.role.attribute = attribute role { text }
3979 db.superscript.attlist =
3980 db.superscript.role.attribute?
3981 & db.common.attributes
3982 & db.common.linking.attributes
3983 db.superscript =
3984
3985 ## A superscript (as in x2
3986 ## , the mathematical notation for x multiplied by itself)
3987 element superscript { db.superscript.attlist, db._text }
3988 }
3989 div {
3990 db.trademark.class.enumeration =
3991
3992 ## A copyright
3993 "copyright"
3994 |
3995 ## A registered copyright
3996 "registered"
3997 |
3998 ## A service
3999 "service"
4000 |
4001 ## A trademark
4002 "trade"
4003 db.trademark.class.attribute =
4004
4005 ## Identifies the class of trade mark
4006 attribute class { db.trademark.class.enumeration }
4007 db.trademark.role.attribute = attribute role { text }
4008 db.trademark.attlist =
4009 db.trademark.role.attribute?
4010 & db.common.attributes
4011 & db.common.linking.attributes
4012 & db.trademark.class.attribute?
4013 db.trademark =
4014
4015 ## A trademark
4016 element trademark { db.trademark.attlist, db._text }
4017 }
4018 div {
4019 db.wordasword.role.attribute = attribute role { text }
4020 db.wordasword.attlist =
4021 db.wordasword.role.attribute?
4022 & db.common.attributes
4023 & db.common.linking.attributes
4024 db.wordasword =
4025
4026 ## A word meant specifically as a word and not representing anything else
4027 element wordasword { db.wordasword.attlist, db._text }
4028 }
4029 div {
4030 db.footnoteref.role.attribute = attribute role { text }
4031 db.footnoteref.label.attribute = db.label.attribute
4032 db.footnoteref.attlist =
4033 db.footnoteref.role.attribute?
4034 & db.common.attributes
4035 & db.linkend.attribute
4036 & db.footnoteref.label.attribute?
4037 db.footnoteref =
4038
4039 ## A cross reference to a footnote (a footnote mark)
4040 [
4041 s:pattern [
4042 name = "Footnote reference type constraint"
4043 "\x{a}" ~
4044 " "
4045 s:rule [
4046 context = "db:footnoteref"
4047 "\x{a}" ~
4048 " "
4049 s:assert [
4050 test =
4051 "local-name(//*[@xml:id=current()/@linkend]) = 'footnote' and namespace-uri(//*[@xml:id=current()/@linkend]) = 'http://docbook.org/ns/docbook'"
4052 "@linkend on footnoteref must point to a footnote."
4053 ]
4054 "\x{a}" ~
4055 " "
4056 ]
4057 "\x{a}" ~
4058 " "
4059 ]
4060 ]
4061 element footnoteref { db.footnoteref.attlist, empty }
4062 }
4063 div {
4064 db.xref.role.attribute = attribute role { text }
4065 db.xref.xrefstyle.attribute = db.xrefstyle.attribute
4066 db.xref.endterm.attribute = db.endterm.attribute
4067 db.xref.attlist =
4068 db.xref.role.attribute?
4069 & db.common.attributes
4070 & db.common.req.linking.attributes
4071 & db.xref.xrefstyle.attribute?
4072 & db.xref.endterm.attribute?
4073 db.xref =
4074
4075 ## A cross reference to another part of the document
4076 element xref { db.xref.attlist, empty }
4077 }
4078 div {
4079 db.link.role.attribute = attribute role { text }
4080 db.link.xrefstyle.attribute = db.xrefstyle.attribute
4081 db.link.endterm.attribute = db.endterm.attribute
4082 db.link.attlist =
4083 db.link.role.attribute?
4084 & db.common.attributes
4085 & db.common.req.linking.attributes
4086 & db.link.xrefstyle.attribute?
4087 & db.link.endterm.attribute?
4088 db.link =
4089
4090 ## A hypertext link
4091 element link { db.link.attlist, db.all.inlines* }
4092 }
4093 div {
4094 db.olink.role.attribute = attribute role { text }
4095 db.olink.xrefstyle.attribute = db.xrefstyle.attribute
4096 db.olink.localinfo.attribute =
4097
4098 ## Holds additional information that may be used by the application when resolving the link
4099 attribute localinfo { text }
4100 db.olink.targetdoc.attribute =
4101
4102 ## Specifies the URI of the document in which the link target appears
4103 attribute targetdoc { xsd:anyURI }
4104 db.olink.targetptr.attribute =
4105
4106 ## Specifies the location of the link target in the document
4107 attribute targetptr { text }
4108 db.olink.type.attribute =
4109
4110 ## Identifies application-specific customization of the link behavior
4111 attribute type { text }
4112 db.olink.attlist =
4113 db.common.attributes
4114 & db.olink.targetdoc.attribute?
4115 & db.olink.role.attribute?
4116 & db.olink.xrefstyle.attribute?
4117 & db.olink.localinfo.attribute?
4118 & db.olink.targetptr.attribute?
4119 & db.olink.type.attribute?
4120 db.olink =
4121
4122 ## A link that addresses its target indirectly
4123 element olink { db.olink.attlist, db.all.inlines* }
4124 }
4125 div {
4126 db.anchor.role.attribute = attribute role { text }
4127 db.anchor.attlist =
4128 db.anchor.role.attribute? & db.common.idreq.attributes
4129 db.anchor =
4130
4131 ## A spot in the document
4132 element anchor { db.anchor.attlist, empty }
4133 }
4134 div {
4135 db.alt.role.attribute = attribute role { text }
4136 db.alt.attlist = db.alt.role.attribute? & db.common.attributes
4137 db.alt =
4138
4139 ## A text-only annotation, often used for accessibility
4140 element alt { db.alt.attlist, (text | db.inlinemediaobject)* }
4141 }
4142 db.status.attribute =
4143
4144 ## Identifies the editorial or publication status of the element on which it occurs
4145 attribute status { text }
4146 db.toplevel.sections =
4147 ((db.section+, db.simplesect*) | db.simplesect+)
4148 | (db.sect1+, db.simplesect*)
4149 | db.refentry+
4150 db.toplevel.blocks.or.sections =
4151 (db.all.blocks+, db.toplevel.sections?) | db.toplevel.sections
4152 db.recursive.sections =
4153 ((db.section+, db.simplesect*) | db.simplesect+)
4154 | db.refentry+
4155 db.recursive.blocks.or.sections =
4156 (db.all.blocks+, db.recursive.sections?) | db.recursive.sections
4157 db.divisions = db.part | db.reference
4158 db.components =
4159 db.dedication
4160 | db.acknowledgements
4161 | db.preface
4162 | db.chapter
4163 | db.appendix
4164 | db.article
4165 | db.colophon
4166 db.navigation.components =
4167 notAllowed | db.glossary | db.bibliography | db.index | db.toc
4168 db.component.contentmodel =
4169 db.navigation.components*,
4170 db.toplevel.blocks.or.sections,
4171 db.navigation.components*
4172 db.setindex.components = notAllowed | db.setindex
4173 db.toc.components = notAllowed | db.toc
4174 db.set.components = db.set | db.book
4175 div {
4176 db.set.status.attribute = db.status.attribute
4177 db.set.role.attribute = attribute role { text }
4178 db.set.attlist =
4179 db.set.role.attribute?
4180 & db.common.attributes
4181 & db.common.linking.attributes
4182 & db.label.attribute?
4183 & db.set.status.attribute?
4184 db.set.info = db._info.title.req
4185 db.set =
4186
4187 ## A collection of books
4188 element set {
4189 db.set.attlist,
4190 db.set.info,
4191 db.toc.components?,
4192 db.set.components+,
4193 db.setindex.components?
4194 }
4195 }
4196 db.book.components =
4197 (db.navigation.components | db.components | db.divisions)* | db.topic*
4198 div {
4199 db.book.status.attribute = db.status.attribute
4200 db.book.role.attribute = attribute role { text }
4201 db.book.attlist =
4202 db.book.role.attribute?
4203 & db.common.attributes
4204 & db.common.linking.attributes
4205 & db.label.attribute?
4206 & db.book.status.attribute?
4207 db.book.info = db._info
4208 db.book =
4209
4210 ## A book
4211 element book { db.book.attlist, db.book.info, db.book.components }
4212 }
4213 div {
4214 db.dedication.status.attribute = db.status.attribute
4215 db.dedication.role.attribute = attribute role { text }
4216 db.dedication.attlist =
4217 db.dedication.role.attribute?
4218 & db.common.attributes
4219 & db.common.linking.attributes
4220 & db.label.attribute?
4221 & db.dedication.status.attribute?
4222 db.dedication.info = db._info
4223 db.dedication =
4224
4225 ## The dedication of a book or other component
4226 element dedication {
4227 db.dedication.attlist, db.dedication.info, db.all.blocks+
4228 }
4229 }
4230 div {
4231 db.acknowledgements.status.attribute = db.status.attribute
4232 db.acknowledgements.role.attribute = attribute role { text }
4233 db.acknowledgements.attlist =
4234 db.acknowledgements.role.attribute?
4235 & db.common.attributes
4236 & db.common.linking.attributes
4237 & db.label.attribute?
4238 & db.acknowledgements.status.attribute?
4239 db.acknowledgements.info = db._info
4240 db.acknowledgements =
4241
4242 ## Acknowledgements of a book or other component
4243 element acknowledgements {
4244 db.acknowledgements.attlist,
4245 db.acknowledgements.info,
4246 db.all.blocks+
4247 }
4248 }
4249 div {
4250 db.colophon.status.attribute = db.status.attribute
4251 db.colophon.role.attribute = attribute role { text }
4252 db.colophon.attlist =
4253 db.colophon.role.attribute?
4254 & db.common.attributes
4255 & db.common.linking.attributes
4256 & db.label.attribute?
4257 & db.colophon.status.attribute?
4258 db.colophon.info = db._info
4259 db.colophon =
4260
4261 ## Text at the back of a book describing facts about its production
4262 element colophon {
4263 db.colophon.attlist,
4264 db.colophon.info,
4265 ((db.all.blocks+, db.simplesect*)
4266 | (db.all.blocks*, db.simplesect+))
4267 }
4268 }
4269 db.appendix.contentmodel = db.component.contentmodel | db.topic+
4270 div {
4271 db.appendix.status.attribute = db.status.attribute
4272 db.appendix.role.attribute = attribute role { text }
4273 db.appendix.attlist =
4274 db.appendix.role.attribute?
4275 & db.common.attributes
4276 & db.common.linking.attributes
4277 & db.label.attribute?
4278 & db.appendix.status.attribute?
4279 db.appendix.info = db._info.title.req
4280 db.appendix =
4281
4282 ## An appendix in a book or article
4283 element appendix {
4284 db.appendix.attlist, db.appendix.info, db.appendix.contentmodel?
4285 }
4286 }
4287 db.chapter.contentmodel = db.component.contentmodel | db.topic+
4288 div {
4289 db.chapter.status.attribute = db.status.attribute
4290 db.chapter.role.attribute = attribute role { text }
4291 db.chapter.attlist =
4292 db.chapter.role.attribute?
4293 & db.common.attributes
4294 & db.common.linking.attributes
4295 & db.label.attribute?
4296 & db.chapter.status.attribute?
4297 db.chapter.info = db._info.title.req
4298 db.chapter =
4299
4300 ## A chapter, as of a book
4301 element chapter {
4302 db.chapter.attlist, db.chapter.info, db.chapter.contentmodel?
4303 }
4304 }
4305 db.part.components =
4306 (db.navigation.components | db.components)
4307 | (db.refentry | db.reference)
4308 db.part.contentmodel = db.part.components+ | db.topic+
4309 div {
4310 db.part.status.attribute = db.status.attribute
4311 db.part.role.attribute = attribute role { text }
4312 db.part.attlist =
4313 db.part.role.attribute?
4314 & db.common.attributes
4315 & db.common.linking.attributes
4316 & db.label.attribute?
4317 & db.part.status.attribute?
4318 db.part.info = db._info.title.req
4319 db.part =
4320
4321 ## A division in a book
4322 element part {
4323 db.part.attlist,
4324 db.part.info,
4325 db.partintro?,
4326 db.part.contentmodel?
4327 }
4328 }
4329 div {
4330 db.preface.status.attribute = db.status.attribute
4331 db.preface.role.attribute = attribute role { text }
4332 db.preface.attlist =
4333 db.preface.role.attribute?
4334 & db.common.attributes
4335 & db.common.linking.attributes
4336 & db.label.attribute?
4337 & db.preface.status.attribute?
4338 db.preface.info = db._info.title.req
4339 db.preface =
4340
4341 ## Introductory matter preceding the first chapter of a book
4342 element preface {
4343 db.preface.attlist, db.preface.info, db.component.contentmodel?
4344 }
4345 }
4346 div {
4347 db.partintro.status.attribute = db.status.attribute
4348 db.partintro.role.attribute = attribute role { text }
4349 db.partintro.attlist =
4350 db.partintro.role.attribute?
4351 & db.common.attributes
4352 & db.common.linking.attributes
4353 & db.label.attribute?
4354 & db.partintro.status.attribute?
4355 db.partintro.info = db._info
4356 db.partintro =
4357
4358 ## An introduction to the contents of a part
4359 element partintro {
4360 db.partintro.attlist,
4361 db.partintro.info,
4362 db.toplevel.blocks.or.sections?
4363 }
4364 }
4365 div {
4366 db.section.status.attribute = db.status.attribute
4367 db.section.role.attribute = attribute role { text }
4368 db.section.attlist =
4369 db.section.role.attribute?
4370 & db.common.attributes
4371 & db.common.linking.attributes
4372 & db.label.attribute?
4373 & db.section.status.attribute?
4374 db.section.info = db._info.title.req
4375 db.section =
4376
4377 ## A recursive section
4378 element section {
4379 db.section.attlist,
4380 db.section.info,
4381 db.recursive.blocks.or.sections?,
4382 db.navigation.components*
4383 }
4384 }
4385 div {
4386 db.simplesect.status.attribute = db.status.attribute
4387 db.simplesect.role.attribute = attribute role { text }
4388 db.simplesect.attlist =
4389 db.simplesect.role.attribute?
4390 & db.common.attributes
4391 & db.common.linking.attributes
4392 & db.label.attribute?
4393 & db.simplesect.status.attribute?
4394 db.simplesect.info = db._info.title.req
4395 db.simplesect =
4396
4397 ## A section of a document with no subdivisions
4398 element simplesect {
4399 db.simplesect.attlist, db.simplesect.info, db.all.blocks*
4400 }
4401 }
4402 db.article.components = db.toplevel.sections
4403 db.article.navcomponents =
4404 db.navigation.components
4405 | db.acknowledgements
4406 | db.dedication
4407 | db.appendix
4408 | db.colophon
4409 div {
4410 db.article.status.attribute = db.status.attribute
4411 db.article.class.enumeration =
4412
4413 ## A collection of frequently asked questions.
4414 "faq"
4415 |
4416 ## An article in a journal or other periodical.
4417 "journalarticle"
4418 |
4419 ## A description of a product.
4420 "productsheet"
4421 |
4422 ## A specification.
4423 "specification"
4424 |
4425 ## A technical report.
4426 "techreport"
4427 |
4428 ## A white paper.
4429 "whitepaper"
4430 db.article.class.attribute =
4431
4432 ## Identifies the nature of the article
4433 attribute class { db.article.class.enumeration }
4434 db.article.role.attribute = attribute role { text }
4435 db.article.attlist =
4436 db.article.role.attribute?
4437 & db.common.attributes
4438 & db.common.linking.attributes
4439 & db.label.attribute?
4440 & db.article.status.attribute?
4441 & db.article.class.attribute?
4442 db.article.info = db._info.title.req
4443 db.article =
4444
4445 ## An article
4446 element article {
4447 db.article.attlist,
4448 db.article.info,
4449 db.article.navcomponents*,
4450 ((db.all.blocks+, db.article.components?)
4451 | db.article.components),
4452 db.article.navcomponents*
4453 }
4454 }
4455 db.annotations.attribute =
4456
4457 ## Identifies one or more annotations that apply to this element
4458 attribute annotations { text }
4459 div {
4460 db.annotation.role.attribute = attribute role { text }
4461 db.annotation.annotates.attribute =
4462
4463 ## Identifies one ore more elements to which this annotation applies
4464 attribute annotates { text }
4465 db.annotation.attlist =
4466 db.annotation.role.attribute?
4467 & db.annotation.annotates.attribute?
4468 & db.common.attributes
4469 db.annotation.info = db._info.title.only
4470 db.annotation =
4471
4472 ## An annotation
4473 [
4474 s:pattern [
4475 name = "Element exclusion"
4476 "\x{a}" ~
4477 " "
4478 s:rule [
4479 context = "db:annotation"
4480 "\x{a}" ~
4481 " "
4482 s:assert [
4483 test = "not(.//db:annotation)"
4484 "annotation must not occur among the children or descendants of annotation"
4485 ]
4486 "\x{a}" ~
4487 " "
4488 ]
4489 "\x{a}" ~
4490 " "
4491 ]
4492 ]
4493 element annotation {
4494 db.annotation.attlist, db.annotation.info, db.all.blocks+
4495 }
4496 }
4497 db.xlink.extended.type.attribute =
4498
4499 ## Identifies the XLink extended link type
4500 [
4501 s:pattern [
4502 name = "XLink extended placement"
4503 "\x{a}" ~
4504 " "
4505 s:rule [
4506 context = "*[@xlink:type='extended']"
4507 "\x{a}" ~
4508 " "
4509 s:assert [
4510 test = "not(parent::*[@xlink:type='extended'])"
4511 "An XLink extended type element may not occur as the direct child of an XLink extended type element."
4512 ]
4513 "\x{a}" ~
4514 " "
4515 ]
4516 "\x{a}" ~
4517 " "
4518 ]
4519 ]
4520 attribute xlink:type {
4521
4522 ## An XLink extended link type
4523 "extended"
4524 }
4525 db.xlink.locator.type.attribute =
4526
4527 ## Identifies the XLink locator link type
4528 [
4529 s:pattern [
4530 name = "XLink locator placement"
4531 "\x{a}" ~
4532 " "
4533 s:rule [
4534 context = "*[@xlink:type='locator']"
4535 "\x{a}" ~
4536 " "
4537 s:assert [
4538 test = "not(parent::*[@xlink:type='extended'])"
4539 "An XLink locator type element must occur as the direct child of an XLink extended type element."
4540 ]
4541 "\x{a}" ~
4542 " "
4543 ]
4544 "\x{a}" ~
4545 " "
4546 ]
4547 ]
4548 attribute xlink:type {
4549
4550 ## An XLink locator link type
4551 "locator"
4552 }
4553 db.xlink.arc.type.attribute =
4554
4555 ## Identifies the XLink arc link type
4556 [
4557 s:pattern [
4558 name = "XLink arc placement"
4559 "\x{a}" ~
4560 " "
4561 s:rule [
4562 context = "*[@xlink:type='arc']"
4563 "\x{a}" ~
4564 " "
4565 s:assert [
4566 test = "parent::*[@xlink:type='extended']"
4567 "An XLink arc type element must occur as the direct child of an XLink extended type element."
4568 ]
4569 "\x{a}" ~
4570 " "
4571 ]
4572 "\x{a}" ~
4573 " "
4574 ]
4575 ]
4576 attribute xlink:type {
4577
4578 ## An XLink arc link type
4579 "arc"
4580 }
4581 db.xlink.resource.type.attribute =
4582
4583 ## Identifies the XLink resource link type
4584 [
4585 s:pattern [
4586 name = "XLink resource placement"
4587 "\x{a}" ~
4588 " "
4589 s:rule [
4590 context = "*[@xlink:type='resource']"
4591 "\x{a}" ~
4592 " "
4593 s:assert [
4594 test = "not(parent::*[@xlink:type='extended'])"
4595 "An XLink resource type element must occur as the direct child of an XLink extended type element."
4596 ]
4597 "\x{a}" ~
4598 " "
4599 ]
4600 "\x{a}" ~
4601 " "
4602 ]
4603 ]
4604 attribute xlink:type {
4605
4606 ## An XLink resource link type
4607 "resource"
4608 }
4609 db.xlink.title.type.attribute =
4610
4611 ## Identifies the XLink title link type
4612 [
4613 s:pattern [
4614 name = "XLink title placement"
4615 "\x{a}" ~
4616 " "
4617 s:rule [
4618 context = "*[@xlink:type='title']"
4619 "\x{a}" ~
4620 " "
4621 s:assert [
4622 test =
4623 "not(parent::*[@xlink:type='extended']) and not(parent::*[@xlink:type='locator']) and not(parent::*[@xlink:type='arc'])"
4624 "An XLink title type element must occur as the direct child of an XLink extended, locator, or arc type element."
4625 ]
4626 "\x{a}" ~
4627 " "
4628 ]
4629 "\x{a}" ~
4630 " "
4631 ]
4632 ]
4633 attribute xlink:type {
4634
4635 ## An XLink title link type
4636 "title"
4637 }
4638 db.xlink.extended.link.attributes =
4639 db.xlink.extended.type.attribute
4640 & db.xlink.role.attribute?
4641 & db.xlink.title.attribute?
4642 db.xlink.locator.link.attributes =
4643 db.xlink.locator.type.attribute
4644 & db.xlink.href.attribute
4645 & db.xlink.role.attribute?
4646 & db.xlink.title.attribute?
4647 & db.xlink.label.attribute?
4648 db.xlink.arc.link.attributes =
4649 db.xlink.arc.type.attribute
4650 & db.xlink.arcrole.attribute?
4651 & db.xlink.title.attribute?
4652 & db.xlink.show.attribute?
4653 & db.xlink.actuate.attribute?
4654 & db.xlink.from.attribute?
4655 & db.xlink.to.attribute?
4656 db.xlink.resource.link.attributes =
4657 db.xlink.resource.type.attribute
4658 & db.xlink.role.attribute?
4659 & db.xlink.title.attribute?
4660 & db.xlink.label.attribute?
4661 db.xlink.title.link.attributes = db.xlink.title.type.attribute
4662 db.xlink.from.attribute =
4663
4664 ## Specifies the XLink traversal-from
4665 attribute xlink:from { xsd:NMTOKEN }
4666 db.xlink.label.attribute =
4667
4668 ## Specifies the XLink label
4669 attribute xlink:label { xsd:NMTOKEN }
4670 db.xlink.to.attribute =
4671
4672 ## Specifies the XLink traversal-to
4673 attribute xlink:to { xsd:NMTOKEN }
4674 div {
4675 db.extendedlink.role.attribute = attribute role { text }
4676 db.extendedlink.attlist =
4677 db.extendedlink.role.attribute?
4678 & db.common.attributes
4679 &
4680 ## Identifies the XLink link type
4681 [ a:defaultValue = "extended" ]
4682 attribute xlink:type {
4683
4684 ## An XLink extended link
4685 "extended"
4686 }?
4687 & db.xlink.role.attribute?
4688 & db.xlink.title.attribute?
4689 db.extendedlink =
4690
4691 ## An XLink extended link
4692 element extendedlink {
4693 db.extendedlink.attlist, (db.locator | db.arc | db.link)+
4694 }
4695 }
4696 div {
4697 db.locator.role.attribute = attribute role { text }
4698 db.locator.attlist =
4699 db.locator.role.attribute?
4700 & db.common.attributes
4701 &
4702 ## Identifies the XLink link type
4703 [ a:defaultValue = "locator" ]
4704 attribute xlink:type {
4705
4706 ## An XLink locator link
4707 "locator"
4708 }?
4709 & db.xlink.href.attribute
4710 & db.xlink.role.attribute?
4711 & db.xlink.title.attribute?
4712 & db.xlink.label.attribute?
4713 db.locator =
4714
4715 ## An XLink locator in an extendedlink
4716 element locator { db.locator.attlist, empty }
4717 }
4718 div {
4719 db.arc.role.attribute = attribute role { text }
4720 db.arc.attlist =
4721 db.arc.role.attribute?
4722 & db.common.attributes
4723 &
4724 ## Identifies the XLink link type
4725 [ a:defaultValue = "arc" ]
4726 attribute xlink:type {
4727
4728 ## An XLink arc link
4729 "arc"
4730 }?
4731 & db.xlink.arcrole.attribute?
4732 & db.xlink.title.attribute?
4733 & db.xlink.show.attribute?
4734 & db.xlink.actuate.attribute?
4735 & db.xlink.from.attribute?
4736 & db.xlink.to.attribute?
4737 db.arc =
4738
4739 ## An XLink arc in an extendedlink
4740 element arc { db.arc.attlist, empty }
4741 }
4742 db.sect1.sections = (db.sect2+, db.simplesect*) | db.simplesect+
4743 div {
4744 db.sect1.status.attribute = db.status.attribute
4745 db.sect1.role.attribute = attribute role { text }
4746 db.sect1.attlist =
4747 db.sect1.role.attribute?
4748 & db.common.attributes
4749 & db.common.linking.attributes
4750 & db.label.attribute?
4751 & db.sect1.status.attribute?
4752 db.sect1.info = db._info.title.req
4753 db.sect1 =
4754
4755 ## A top-level section of document
4756 element sect1 {
4757 db.sect1.attlist,
4758 db.sect1.info,
4759 ((db.all.blocks+, db.sect1.sections?) | db.sect1.sections)?,
4760 db.navigation.components*
4761 }
4762 }
4763 db.sect2.sections = (db.sect3+, db.simplesect*) | db.simplesect+
4764 div {
4765 db.sect2.status.attribute = db.status.attribute
4766 db.sect2.role.attribute = attribute role { text }
4767 db.sect2.attlist =
4768 db.sect2.role.attribute?
4769 & db.common.attributes
4770 & db.common.linking.attributes
4771 & db.label.attribute?
4772 & db.sect2.status.attribute?
4773 db.sect2.info = db._info.title.req
4774 db.sect2 =
4775
4776 ## A subsection within a sect1
4777 element sect2 {
4778 db.sect2.attlist,
4779 db.sect2.info,
4780 ((db.all.blocks+, db.sect2.sections?) | db.sect2.sections)?,
4781 db.navigation.components*
4782 }
4783 }
4784 db.sect3.sections = (db.sect4+, db.simplesect*) | db.simplesect+
4785 div {
4786 db.sect3.status.attribute = db.status.attribute
4787 db.sect3.role.attribute = attribute role { text }
4788 db.sect3.attlist =
4789 db.sect3.role.attribute?
4790 & db.common.attributes
4791 & db.common.linking.attributes
4792 & db.label.attribute?
4793 & db.sect3.status.attribute?
4794 db.sect3.info = db._info.title.req
4795 db.sect3 =
4796
4797 ## A subsection within a sect2
4798 element sect3 {
4799 db.sect3.attlist,
4800 db.sect3.info,
4801 ((db.all.blocks+, db.sect3.sections?) | db.sect3.sections)?,
4802 db.navigation.components*
4803 }
4804 }
4805 db.sect4.sections = (db.sect5+, db.simplesect*) | db.simplesect+
4806 div {
4807 db.sect4.status.attribute = db.status.attribute
4808 db.sect4.role.attribute = attribute role { text }
4809 db.sect4.attlist =
4810 db.sect4.role.attribute?
4811 & db.common.attributes
4812 & db.common.linking.attributes
4813 & db.label.attribute?
4814 & db.sect4.status.attribute?
4815 db.sect4.info = db._info.title.req
4816 db.sect4 =
4817
4818 ## A subsection within a sect3
4819 element sect4 {
4820 db.sect4.attlist,
4821 db.sect4.info,
4822 ((db.all.blocks+, db.sect4.sections?) | db.sect4.sections)?,
4823 db.navigation.components*
4824 }
4825 }
4826 db.sect5.sections = db.simplesect+
4827 div {
4828 db.sect5.status.attribute = db.status.attribute
4829 db.sect5.role.attribute = attribute role { text }
4830 db.sect5.attlist =
4831 db.sect5.role.attribute?
4832 & db.common.attributes
4833 & db.common.linking.attributes
4834 & db.label.attribute?
4835 & db.sect5.status.attribute?
4836 db.sect5.info = db._info.title.req
4837 db.sect5 =
4838
4839 ## A subsection within a sect4
4840 element sect5 {
4841 db.sect5.attlist,
4842 db.sect5.info,
4843 ((db.all.blocks+, db.sect5.sections?) | db.sect5.sections)?,
4844 db.navigation.components*
4845 }
4846 }
4847 db.toplevel.refsection = db.refsection+ | db.refsect1+
4848 db.secondlevel.refsection = db.refsection+ | db.refsect2+
4849 db.reference.components = db.refentry
4850 div {
4851 db.reference.status.attribute = db.status.attribute
4852 db.reference.role.attribute = attribute role { text }
4853 db.reference.attlist =
4854 db.reference.role.attribute?
4855 & db.common.attributes
4856 & db.common.linking.attributes
4857 & db.reference.status.attribute?
4858 & db.label.attribute?
4859 db.reference.info = db._info.title.req
4860 db.reference =
4861
4862 ## A collection of reference entries
4863 element reference {
4864 db.reference.attlist,
4865 db.reference.info,
4866 db.partintro?,
4867 db.reference.components*
4868 }
4869 }
4870 div {
4871 db.refentry.status.attribute = db.status.attribute
4872 db.refentry.role.attribute = attribute role { text }
4873 db.refentry.attlist =
4874 db.refentry.role.attribute?
4875 & db.common.attributes
4876 & db.common.linking.attributes
4877 & db.refentry.status.attribute?
4878 & db.label.attribute?
4879 db.refentry.info = db._info.title.forbidden
4880 db.refentry =
4881
4882 ## A reference page (originally a UNIX man-style reference page)
4883 element refentry {
4884 db.refentry.attlist,
4885 db.indexterm*,
4886 db.refentry.info,
4887 db.refmeta?,
4888 db.refnamediv+,
4889 db.refsynopsisdiv?,
4890 db.toplevel.refsection
4891 }
4892 }
4893 div {
4894 db.refmeta.role.attribute = attribute role { text }
4895 db.refmeta.attlist =
4896 db.refmeta.role.attribute?
4897 & db.common.attributes
4898 & db.common.linking.attributes
4899 db.refmeta =
4900
4901 ## Meta-information for a reference entry
4902 element refmeta {
4903 db.refmeta.attlist,
4904 db.indexterm*,
4905 db.refentrytitle,
4906 db.manvolnum?,
4907 db.refmiscinfo*,
4908 db.indexterm*
4909 }
4910 }
4911 db.refmiscinfo.class.enumeration =
4912
4913 ## The name of the software product or component to which this topic applies
4914 "source"
4915 |
4916 ## The version of the software product or component to which this topic applies
4917 "version"
4918 |
4919 ## The section title of the reference page (e.g., User Commands)
4920 "manual"
4921 |
4922 ## The section title of the reference page (believed synonymous with "manual" but in wide use)
4923 "sectdesc"
4924 |
4925 ## The name of the software product or component to which this topic applies (e.g., SunOS x.y; believed synonymous with "source" but in wide use)
4926 "software"
4927 db.refmiscinfo.class-enum.attribute =
4928
4929 ## Identifies the kind of miscellaneous information
4930 attribute class { db.refmiscinfo.class.enumeration }?
4931 db.refmiscinfo.class-other.attribute =
4932
4933 ## Identifies the nature of non-standard miscellaneous information
4934 attribute otherclass { text }
4935 db.refmiscinfo.class-other.attributes =
4936
4937 ## Identifies the kind of miscellaneious information
4938 attribute class {
4939
4940 ## Indicates that the information is some 'other' kind.
4941 "other"
4942 }
4943 & db.refmiscinfo.class-other.attribute
4944 db.refmiscinfo.class.attribute =
4945 db.refmiscinfo.class-enum.attribute
4946 | db.refmiscinfo.class-other.attributes
4947 div {
4948 db.refmiscinfo.role.attribute = attribute role { text }
4949 db.refmiscinfo.attlist =
4950 db.refmiscinfo.role.attribute?
4951 & db.common.attributes
4952 & db.common.linking.attributes
4953 & db.refmiscinfo.class.attribute?
4954 db.refmiscinfo =
4955
4956 ## Meta-information for a reference entry other than the title and volume number
4957 element refmiscinfo { db.refmiscinfo.attlist, db._text }
4958 }
4959 div {
4960 db.refnamediv.role.attribute = attribute role { text }
4961 db.refnamediv.attlist =
4962 db.refnamediv.role.attribute?
4963 & db.common.attributes
4964 & db.common.linking.attributes
4965 db.refnamediv =
4966
4967 ## The name, purpose, and classification of a reference page
4968 element refnamediv {
4969 db.refnamediv.attlist,
4970 db.refdescriptor?,
4971 db.refname+,
4972 db.refpurpose,
4973 db.refclass*
4974 }
4975 }
4976 div {
4977 db.refdescriptor.role.attribute = attribute role { text }
4978 db.refdescriptor.attlist =
4979 db.refdescriptor.role.attribute?
4980 & db.common.attributes
4981 & db.common.linking.attributes
4982 db.refdescriptor =
4983
4984 ## A description of the topic of a reference page
4985 element refdescriptor { db.refdescriptor.attlist, db.all.inlines* }
4986 }
4987 div {
4988 db.refname.role.attribute = attribute role { text }
4989 db.refname.attlist =
4990 db.refname.role.attribute?
4991 & db.common.attributes
4992 & db.common.linking.attributes
4993 db.refname =
4994
4995 ## The name of (one of) the subject(s) of a reference page
4996 element refname { db.refname.attlist, db.all.inlines* }
4997 }
4998 div {
4999 db.refpurpose.role.attribute = attribute role { text }
5000 db.refpurpose.attlist =
5001 db.refpurpose.role.attribute?
5002 & db.common.attributes
5003 & db.common.linking.attributes
5004 db.refpurpose =
5005
5006 ## A short (one sentence) synopsis of the topic of a reference page
5007 element refpurpose { db.refpurpose.attlist, db.all.inlines* }
5008 }
5009 div {
5010 db.refclass.role.attribute = attribute role { text }
5011 db.refclass.attlist =
5012 db.refclass.role.attribute?
5013 & db.common.attributes
5014 & db.common.linking.attributes
5015 db.refclass =
5016
5017 ## The scope or other indication of applicability of a reference entry
5018 element refclass { db.refclass.attlist, (text | db.application)* }
5019 }
5020 div {
5021 db.refsynopsisdiv.role.attribute = attribute role { text }
5022 db.refsynopsisdiv.attlist =
5023 db.refsynopsisdiv.role.attribute?
5024 & db.common.attributes
5025 & db.common.linking.attributes
5026 db.refsynopsisdiv.info = db._info
5027 db.refsynopsisdiv =
5028
5029 ## A syntactic synopsis of the subject of the reference page
5030 element refsynopsisdiv {
5031 db.refsynopsisdiv.attlist,
5032 db.refsynopsisdiv.info,
5033 ((db.all.blocks+, db.secondlevel.refsection?)
5034 | db.secondlevel.refsection)
5035 }
5036 }
5037 div {
5038 db.refsection.status.attribute = db.status.attribute
5039 db.refsection.role.attribute = attribute role { text }
5040 db.refsection.attlist =
5041 db.refsection.role.attribute?
5042 & db.common.attributes
5043 & db.common.linking.attributes
5044 & db.refsection.status.attribute?
5045 & db.label.attribute?
5046 db.refsection.info = db._info.title.req
5047 db.refsection =
5048
5049 ## A recursive section in a refentry
5050 element refsection {
5051 db.refsection.attlist,
5052 db.refsection.info,
5053 ((db.all.blocks+, db.refsection*) | db.refsection+)
5054 }
5055 }
5056 db.refsect1.sections = db.refsect2+
5057 div {
5058 db.refsect1.status.attribute = db.status.attribute
5059 db.refsect1.role.attribute = attribute role { text }
5060 db.refsect1.attlist =
5061 db.refsect1.role.attribute?
5062 & db.common.attributes
5063 & db.common.linking.attributes
5064 & db.label.attribute?
5065 & db.refsect1.status.attribute?
5066 db.refsect1.info = db._info.title.req
5067 db.refsect1 =
5068
5069 ## A major subsection of a reference entry
5070 element refsect1 {
5071 db.refsect1.attlist,
5072 db.refsect1.info,
5073 ((db.all.blocks+, db.refsect1.sections?) | db.refsect1.sections)
5074 }
5075 }
5076 db.refsect2.sections = db.refsect3+
5077 div {
5078 db.refsect2.status.attribute = db.status.attribute
5079 db.refsect2.role.attribute = attribute role { text }
5080 db.refsect2.attlist =
5081 db.refsect2.role.attribute?
5082 & db.common.attributes
5083 & db.common.linking.attributes
5084 & db.label.attribute?
5085 & db.refsect2.status.attribute?
5086 db.refsect2.info = db._info.title.req
5087 db.refsect2 =
5088
5089 ## A subsection of a refsect1
5090 element refsect2 {
5091 db.refsect2.attlist,
5092 db.refsect2.info,
5093 ((db.all.blocks+, db.refsect2.sections?) | db.refsect2.sections)
5094 }
5095 }
5096 div {
5097 db.refsect3.status.attribute = db.status.attribute
5098 db.refsect3.role.attribute = attribute role { text }
5099 db.refsect3.attlist =
5100 db.refsect3.role.attribute?
5101 & db.common.attributes
5102 & db.common.linking.attributes
5103 & db.label.attribute?
5104 & db.refsect3.status.attribute?
5105 db.refsect3.info = db._info.title.req
5106 db.refsect3 =
5107
5108 ## A subsection of a refsect2
5109 element refsect3 {
5110 db.refsect3.attlist, db.refsect3.info, db.all.blocks+
5111 }
5112 }
5113 db.glossary.inlines =
5114 db.firstterm | db.glossterm | db._firstterm | db._glossterm
5115 db.baseform.attribute =
5116
5117 ## Specifies the base form of the term, the one that appears in the glossary. This allows adjectival, plural, and other variations of the term to appear in the element. The element content is the default base form.
5118 attribute baseform { text }?
5119 div {
5120 db.glosslist.role.attribute = attribute role { text }
5121 db.glosslist.attlist =
5122 db.glosslist.role.attribute?
5123 & db.common.attributes
5124 & db.common.linking.attributes
5125 db.glosslist.info = db._info.title.only
5126 db.glosslist =
5127
5128 ## A wrapper for a list of glossary entries
5129 element glosslist {
5130 db.glosslist.attlist,
5131 db.glosslist.info?,
5132 db.all.blocks*,
5133 db.glossentry+
5134 }
5135 }
5136 div {
5137 db.glossentry.role.attribute = attribute role { text }
5138 db.glossentry.sortas.attribute =
5139
5140 ## Specifies the string by which the element's content is to be sorted; if unspecified, the content is used
5141 attribute sortas { text }
5142 db.glossentry.attlist =
5143 db.glossentry.role.attribute?
5144 & db.common.attributes
5145 & db.common.linking.attributes
5146 & db.glossentry.sortas.attribute?
5147 db.glossentry =
5148
5149 ## An entry in a glossary or glosslist
5150 element glossentry {
5151 db.glossentry.attlist,
5152 db.glossterm,
5153 db.acronym?,
5154 db.abbrev?,
5155 db.indexterm*,
5156 (db.glosssee | db.glossdef+)
5157 }
5158 }
5159 div {
5160 db.glossdef.role.attribute = attribute role { text }
5161 db.glossdef.subject.attribute =
5162
5163 ## Specifies a list of keywords for the definition
5164 attribute subject { text }
5165 db.glossdef.attlist =
5166 db.glossdef.role.attribute?
5167 & db.common.attributes
5168 & db.common.linking.attributes
5169 & db.glossdef.subject.attribute?
5170 db.glossdef =
5171
5172 ## A definition in a glossentry
5173 element glossdef {
5174 db.glossdef.attlist, db.all.blocks+, db.glossseealso*
5175 }
5176 }
5177 div {
5178 db.glosssee.role.attribute = attribute role { text }
5179 db.glosssee.otherterm.attribute =
5180
5181 ## Identifies the other term
5182 attribute otherterm { xsd:IDREF }
5183 db.glosssee.attlist =
5184 db.glosssee.role.attribute?
5185 & db.common.attributes
5186 & db.common.linking.attributes
5187 & db.glosssee.otherterm.attribute?
5188 db.glosssee =
5189
5190 ## A cross-reference from one glossentry
5191 ## to another
5192 [
5193 s:pattern [
5194 name = "Glosssary 'see' type constraint"
5195 "\x{a}" ~
5196 " "
5197 s:rule [
5198 context = "db:glosssee[@otherterm]"
5199 "\x{a}" ~
5200 " "
5201 s:assert [
5202 test =
5203 "local-name(//*[@xml:id=current()/@otherterm]) = 'glossentry' and namespace-uri(//*[@xml:id=current()/@otherterm]) = 'http://docbook.org/ns/docbook'"
5204 "@otherterm on glosssee must point to a glossentry."
5205 ]
5206 "\x{a}" ~
5207 " "
5208 ]
5209 "\x{a}" ~
5210 " "
5211 ]
5212 ]
5213 element glosssee { db.glosssee.attlist, db.all.inlines* }
5214 }
5215 div {
5216 db.glossseealso.role.attribute = attribute role { text }
5217 db.glossseealso.otherterm.attribute =
5218
5219 ## Identifies the other term
5220 attribute otherterm { xsd:IDREF }
5221 db.glossseealso.attlist =
5222 db.glossseealso.role.attribute?
5223 & db.common.attributes
5224 & db.common.linking.attributes
5225 & db.glossseealso.otherterm.attribute?
5226 db.glossseealso =
5227
5228 ## A cross-reference from one glossentry to another
5229 [
5230 s:pattern [
5231 name = "Glossary 'seealso' type constraint"
5232 "\x{a}" ~
5233 " "
5234 s:rule [
5235 context = "db:glossseealso[@otherterm]"
5236 "\x{a}" ~
5237 " "
5238 s:assert [
5239 test =
5240 "local-name(//*[@xml:id=current()/@otherterm]) = 'glossentry' and namespace-uri(//*[@xml:id=current()/@otherterm]) = 'http://docbook.org/ns/docbook'"
5241 "@otherterm on glossseealso must point to a glossentry."
5242 ]
5243 "\x{a}" ~
5244 " "
5245 ]
5246 "\x{a}" ~
5247 " "
5248 ]
5249 ]
5250 element glossseealso { db.glossseealso.attlist, db.all.inlines* }
5251 }
5252 div {
5253 db.firstterm.role.attribute = attribute role { text }
5254 db.firstterm.attlist =
5255 db.firstterm.role.attribute?
5256 & db.common.attributes
5257 & db.common.linking.attributes
5258 & db.baseform.attribute
5259 db.firstterm =
5260
5261 ## The first occurrence of a term
5262 [
5263 s:pattern [
5264 name = "Glossary 'firstterm' type constraint"
5265 "\x{a}" ~
5266 " "
5267 s:rule [
5268 context = "db:firstterm[@linkend]"
5269 "\x{a}" ~
5270 " "
5271 s:assert [
5272 test =
5273 "local-name(//*[@xml:id=current()/@linkend]) = 'glossentry' and namespace-uri(//*[@xml:id=current()/@linkend]) = 'http://docbook.org/ns/docbook'"
5274 "@linkend on firstterm must point to a glossentry."
5275 ]
5276 "\x{a}" ~
5277 " "
5278 ]
5279 "\x{a}" ~
5280 " "
5281 ]
5282 ]
5283 element firstterm { db.firstterm.attlist, db.all.inlines* }
5284 }
5285 div {
5286 db._firstterm.role.attribute = attribute role { text }
5287 db._firstterm.attlist =
5288 db._firstterm.role.attribute?
5289 & db.common.attributes
5290 & db.common.linking.attributes
5291 & db.baseform.attribute
5292 db._firstterm =
5293
5294 ## The first occurrence of a term, with limited content
5295 [
5296 s:pattern [
5297 name = "Glossary 'firstterm' type constraint"
5298 "\x{a}" ~
5299 " "
5300 s:rule [
5301 context = "db:firstterm[@linkend]"
5302 "\x{a}" ~
5303 " "
5304 s:assert [
5305 test =
5306 "local-name(//*[@xml:id=current()/@linkend]) = 'glossentry' and namespace-uri(//*[@xml:id=current()/@linkend]) = 'http://docbook.org/ns/docbook'"
5307 "@linkend on firstterm must point to a glossentry."
5308 ]
5309 "\x{a}" ~
5310 " "
5311 ]
5312 "\x{a}" ~
5313 " "
5314 ]
5315 ]
5316 element firstterm { db._firstterm.attlist, db._text }
5317 }
5318 div {
5319 db.glossterm.role.attribute = attribute role { text }
5320 db.glossterm.attlist =
5321 db.glossterm.role.attribute?
5322 & db.common.attributes
5323 & db.common.linking.attributes
5324 & db.baseform.attribute
5325 db.glossterm =
5326
5327 ## A glossary term
5328 [
5329 s:pattern [
5330 name = "Glossary 'glossterm' type constraint"
5331 "\x{a}" ~
5332 " "
5333 s:rule [
5334 context = "db:glossterm[@linkend]"
5335 "\x{a}" ~
5336 " "
5337 s:assert [
5338 test =
5339 "local-name(//*[@xml:id=current()/@linkend]) = 'glossentry' and namespace-uri(//*[@xml:id=current()/@linkend]) = 'http://docbook.org/ns/docbook'"
5340 "@linkend on glossterm must point to a glossentry."
5341 ]
5342 "\x{a}" ~
5343 " "
5344 ]
5345 "\x{a}" ~
5346 " "
5347 ]
5348 ]
5349 element glossterm { db.glossterm.attlist, db.all.inlines* }
5350 }
5351 div {
5352 db._glossterm.role.attribute = attribute role { text }
5353 db._glossterm.attlist =
5354 db._glossterm.role.attribute?
5355 & db.common.attributes
5356 & db.common.linking.attributes
5357 & db.baseform.attribute
5358 db._glossterm =
5359
5360 ## A glossary term
5361 [
5362 s:pattern [
5363 name = "Glossary 'glossterm' type constraint"
5364 "\x{a}" ~
5365 " "
5366 s:rule [
5367 context = "db:glossterm[@linkend]"
5368 "\x{a}" ~
5369 " "
5370 s:assert [
5371 test =
5372 "local-name(//*[@xml:id=current()/@linkend]) = 'glossentry' and namespace-uri(//*[@xml:id=current()/@linkend]) = 'http://docbook.org/ns/docbook'"
5373 "@linkend on glossterm must point to a glossentry."
5374 ]
5375 "\x{a}" ~
5376 " "
5377 ]
5378 "\x{a}" ~
5379 " "
5380 ]
5381 ]
5382 element glossterm { db._glossterm.attlist, db._text }
5383 }
5384 div {
5385 db.glossary.status.attribute = db.status.attribute
5386 db.glossary.role.attribute = attribute role { text }
5387 db.glossary.attlist =
5388 db.glossary.role.attribute?
5389 & db.common.attributes
5390 & db.common.linking.attributes
5391 & db.label.attribute?
5392 & db.glossary.status.attribute?
5393 db.glossary.info = db._info
5394 db.glossary =
5395
5396 ## A glossary
5397 element glossary {
5398 db.glossary.attlist,
5399 db.glossary.info,
5400 db.all.blocks*,
5401 (db.glossdiv* | db.glossentry*),
5402 db.bibliography?
5403 }
5404 }
5405 div {
5406 db.glossdiv.status.attribute = db.status.attribute
5407 db.glossdiv.role.attribute = attribute role { text }
5408 db.glossdiv.attlist =
5409 db.glossdiv.role.attribute?
5410 & db.common.attributes
5411 & db.common.linking.attributes
5412 & db.label.attribute?
5413 & db.glossdiv.status.attribute?
5414 db.glossdiv.info = db._info.title.req
5415 db.glossdiv =
5416
5417 ## A division in a glossary
5418 element glossdiv {
5419 db.glossdiv.attlist,
5420 db.glossdiv.info,
5421 db.all.blocks*,
5422 db.glossentry+
5423 }
5424 }
5425 div {
5426 db.termdef.role.attribute = attribute role { text }
5427 db.termdef.attlist =
5428 db.termdef.role.attribute?
5429 & db.glossentry.sortas.attribute?
5430 & db.common.attributes
5431 & db.common.linking.attributes
5432 & db.baseform.attribute
5433 db.termdef =
5434
5435 ## An inline definition of a term
5436 [
5437 s:pattern [
5438 name = "Glossary term definition constraint"
5439 "\x{a}" ~
5440 " "
5441 s:rule [
5442 context = "db:termdef"
5443 "\x{a}" ~
5444 " "
5445 s:assert [
5446 test = "count(db:firstterm) = 1"
5447 "A termdef must contain exactly one firstterm"
5448 ]
5449 "\x{a}" ~
5450 " "
5451 ]
5452 "\x{a}" ~
5453 " "
5454 ]
5455 ]
5456 element termdef { db.termdef.attlist, db.all.inlines* }
5457 }
5458 db.relation.attribute =
5459
5460 ## Identifies the relationship between the bibliographic elemnts
5461 attribute relation { text }
5462 div {
5463 db.biblioentry.role.attribute = attribute role { text }
5464 db.biblioentry.attlist =
5465 db.biblioentry.role.attribute?
5466 & db.common.attributes
5467 & db.common.linking.attributes
5468 db.biblioentry =
5469
5470 ## A raw entry in a bibliography
5471 element biblioentry {
5472 db.biblioentry.attlist, db.bibliographic.elements+
5473 }
5474 }
5475 div {
5476 db.bibliomixed.role.attribute = attribute role { text }
5477 db.bibliomixed.attlist =
5478 db.bibliomixed.role.attribute?
5479 & db.common.attributes
5480 & db.common.linking.attributes
5481 db.bibliomixed =
5482
5483 ## A cooked entry in a bibliography
5484 element bibliomixed {
5485 db.bibliomixed.attlist,
5486 ((db._text
5487 | db.honorific
5488 | db.firstname
5489 | db.surname
5490 | db.lineage
5491 | db.othername
5492 | db.bibliographic.elements)*
5493 | (db._text
5494 | db.honorific
5495 | db.givenname
5496 | db.surname
5497 | db.lineage
5498 | db.othername
5499 | db.bibliographic.elements)*)
5500 }
5501 }
5502 div {
5503 db.biblioset.relation.attribute = db.relation.attribute
5504 db.biblioset.role.attribute = attribute role { text }
5505 db.biblioset.attlist =
5506 db.biblioset.role.attribute?
5507 & db.common.attributes
5508 & db.common.linking.attributes
5509 & db.biblioset.relation.attribute?
5510 db.biblioset =
5511
5512 ## A raw container for related bibliographic information
5513 element biblioset {
5514 db.biblioset.attlist, db.bibliographic.elements+
5515 }
5516 }
5517 div {
5518 db.bibliomset.relation.attribute = db.relation.attribute
5519 db.bibliomset.role.attribute = attribute role { text }
5520 db.bibliomset.attlist =
5521 db.bibliomset.role.attribute?
5522 & db.common.attributes
5523 & db.common.linking.attributes
5524 & db.bibliomset.relation.attribute?
5525 db.bibliomset =
5526
5527 ## A cooked container for related bibliographic information
5528 element bibliomset {
5529 db.bibliomset.attlist,
5530 ((db._text
5531 | db.honorific
5532 | db.firstname
5533 | db.surname
5534 | db.lineage
5535 | db.othername
5536 | db.bibliographic.elements)*
5537 | (db._text
5538 | db.honorific
5539 | db.givenname
5540 | db.surname
5541 | db.lineage
5542 | db.othername
5543 | db.bibliographic.elements)*)
5544 }
5545 }
5546 div {
5547 db.bibliomisc.role.attribute = attribute role { text }
5548 db.bibliomisc.attlist =
5549 db.bibliomisc.role.attribute?
5550 & db.common.attributes
5551 & db.common.linking.attributes
5552 db.bibliomisc =
5553
5554 ## Untyped bibliographic information
5555 element bibliomisc { db.bibliomisc.attlist, db._text }
5556 }
5557 div {
5558 db.bibliography.status.attrib = db.status.attribute
5559 db.bibliography.role.attribute = attribute role { text }
5560 db.bibliography.attlist =
5561 db.bibliography.role.attribute?
5562 & db.common.attributes
5563 & db.common.linking.attributes
5564 & db.label.attribute?
5565 & db.bibliography.status.attrib?
5566 db.bibliography.info = db._info
5567 db.bibliography =
5568
5569 ## A bibliography
5570 element bibliography {
5571 db.bibliography.attlist,
5572 db.bibliography.info,
5573 db.all.blocks*,
5574 (db.bibliodiv+ | (db.biblioentry | db.bibliomixed)+)
5575 }
5576 }
5577 div {
5578 db.bibliodiv.status.attrib = db.status.attribute
5579 db.bibliodiv.role.attribute = attribute role { text }
5580 db.bibliodiv.attlist =
5581 db.bibliodiv.role.attribute?
5582 & db.common.attributes
5583 & db.common.linking.attributes
5584 & db.label.attribute?
5585 & db.bibliodiv.status.attrib?
5586 db.bibliodiv.info = db._info.title.req
5587 db.bibliodiv =
5588
5589 ## A section of a bibliography
5590 element bibliodiv {
5591 db.bibliodiv.attlist,
5592 db.bibliodiv.info,
5593 db.all.blocks*,
5594 (db.biblioentry | db.bibliomixed)+
5595 }
5596 }
5597 div {
5598 db.bibliolist.role.attribute = attribute role { text }
5599 db.bibliolist.attlist =
5600 db.bibliolist.role.attribute?
5601 & db.common.attributes
5602 & db.common.linking.attributes
5603 db.bibliolist.info = db._info.title.only
5604 db.bibliolist =
5605
5606 ## A wrapper for a list of bibliography entries
5607 element bibliolist {
5608 db.bibliolist.attlist,
5609 db.bibliolist.info?,
5610 db.all.blocks*,
5611 (db.biblioentry | db.bibliomixed)+
5612 }
5613 }
5614 div {
5615 db.biblioref.role.attribute = attribute role { text }
5616 db.biblioref.xrefstyle.attribute = db.xrefstyle.attribute
5617 db.biblioref.endterm.attribute = db.endterm.attribute
5618 db.biblioref.units.attribute =
5619
5620 ## The units (for example, pages) used to identify the beginning and ending of a reference.
5621 attribute units { xsd:token }
5622 db.biblioref.begin.attribute =
5623
5624 ## Identifies the beginning of a reference; the location within the work that is being referenced.
5625 attribute begin { xsd:token }
5626 db.biblioref.end.attribute =
5627
5628 ## Identifies the end of a reference.
5629 attribute end { xsd:token }
5630 db.biblioref.attlist =
5631 db.biblioref.role.attribute?
5632 & db.common.attributes
5633 & db.common.req.linking.attributes
5634 & db.biblioref.xrefstyle.attribute?
5635 & db.biblioref.endterm.attribute?
5636 & db.biblioref.units.attribute?
5637 & db.biblioref.begin.attribute?
5638 & db.biblioref.end.attribute?
5639 db.biblioref =
5640
5641 ## A cross-reference to a bibliographic entry
5642 element biblioref { db.biblioref.attlist, empty }
5643 }
5644 db.significance.enumeration =
5645
5646 ## Normal
5647 "normal"
5648 |
5649 ## Preferred
5650 "preferred"
5651 db.significance.attribute =
5652
5653 ## Specifies the significance of the term
5654 attribute significance { db.significance.enumeration }
5655 db.zone.attribute =
5656
5657 ## Specifies the IDs of the elements to which this term applies
5658 attribute zone { xsd:IDREFS }
5659 db.indexterm.pagenum.attribute =
5660
5661 ## Indicates the page on which this index term occurs in some version of the printed document
5662 attribute pagenum { text }
5663 db.scope.enumeration =
5664
5665 ## All indexes
5666 "all"
5667 |
5668 ## The global index (as for a combined index of a set of books)
5669 "global"
5670 |
5671 ## The local index (the index for this document only)
5672 "local"
5673 db.scope.attribute =
5674
5675 ## Specifies the scope of the index term
5676 attribute scope { db.scope.enumeration }
5677 db.sortas.attribute =
5678
5679 ## Specifies the string by which the term is to be sorted; if unspecified, the term content is used
5680 attribute sortas { text }
5681 db.index.type.attribute =
5682
5683 ## Specifies the target index for this term
5684 attribute type { text }
5685 div {
5686 db.itermset.role.attribute = attribute role { text }
5687 db.itermset.attlist =
5688 db.itermset.role.attribute?
5689 & db.common.attributes
5690 & db.common.linking.attributes
5691 db.itermset =
5692
5693 ## A set of index terms in the meta-information of a document
5694 element itermset { db.itermset.attlist, db.indexterm.singular+ }
5695 }
5696 db.indexterm.contentmodel =
5697 db.primary?,
5698 ((db.secondary,
5699 ((db.tertiary, (db.see | db.seealso+)?)
5700 | db.see
5701 | db.seealso+)?)
5702 | db.see
5703 | db.seealso+)?
5704 div {
5705 db.indexterm.singular.role.attribute = attribute role { text }
5706 db.indexterm.singular.class.attribute =
5707
5708 ## Identifies the class of index term
5709 attribute class {
5710
5711 ## A singular index term
5712 "singular"
5713 }
5714 db.indexterm.singular.attlist =
5715 db.indexterm.singular.role.attribute?
5716 & db.common.attributes
5717 & db.common.linking.attributes
5718 & db.significance.attribute?
5719 & db.zone.attribute?
5720 & db.indexterm.pagenum.attribute?
5721 & db.scope.attribute?
5722 & db.index.type.attribute?
5723 & db.indexterm.singular.class.attribute?
5724 db.indexterm.singular =
5725
5726 ## A wrapper for an indexed term
5727 element indexterm {
5728 db.indexterm.singular.attlist, db.indexterm.contentmodel
5729 }
5730 }
5731 div {
5732 db.indexterm.startofrange.role.attribute = attribute role { text }
5733 db.indexterm.startofrange.class.attribute =
5734
5735 ## Identifies the class of index term
5736 attribute class {
5737
5738 ## The start of a range
5739 "startofrange"
5740 }
5741 db.indexterm.startofrange.attlist =
5742 db.indexterm.startofrange.role.attribute?
5743 & db.common.attributes
5744 & db.common.linking.attributes
5745 & db.significance.attribute?
5746 & db.zone.attribute?
5747 & db.indexterm.pagenum.attribute?
5748 & db.scope.attribute?
5749 & db.index.type.attribute?
5750 & db.indexterm.startofrange.class.attribute
5751 db.indexterm.startofrange =
5752
5753 ## A wrapper for an indexed term that covers a range
5754 element indexterm {
5755 db.indexterm.startofrange.attlist, db.indexterm.contentmodel
5756 }
5757 }
5758 div {
5759 db.indexterm.endofrange.role.attribute = attribute role { text }
5760 db.indexterm.endofrange.class.attribute =
5761
5762 ## Identifies the class of index term
5763 attribute class {
5764
5765 ## The end of a range
5766 "endofrange"
5767 }
5768 db.indexterm.endofrange.startref.attribute =
5769
5770 ## Points to the start of the range
5771 attribute startref { xsd:IDREF }
5772 db.indexterm.endofrange.attlist =
5773 db.indexterm.endofrange.role.attribute?
5774 & db.common.attributes
5775 & db.common.linking.attributes
5776 & db.indexterm.endofrange.class.attribute
5777 & db.indexterm.endofrange.startref.attribute
5778 db.indexterm.endofrange =
5779
5780 ## Identifies the end of a range associated with an indexed term
5781 element indexterm { db.indexterm.endofrange.attlist, empty }
5782 }
5783 div {
5784 db.indexterm =
5785 db.indexterm.singular
5786 | db.indexterm.startofrange
5787 | db.indexterm.endofrange
5788 }
5789 div {
5790 db.primary.role.attribute = attribute role { text }
5791 db.primary.attlist =
5792 db.primary.role.attribute?
5793 & db.common.attributes
5794 & db.common.linking.attributes
5795 & db.sortas.attribute?
5796 db.primary =
5797
5798 ## The primary word or phrase under which an index term should be sorted
5799 element primary { db.primary.attlist, db.all.inlines* }
5800 }
5801 div {
5802 db.secondary.role.attribute = attribute role { text }
5803 db.secondary.attlist =
5804 db.secondary.role.attribute?
5805 & db.common.attributes
5806 & db.common.linking.attributes
5807 & db.sortas.attribute?
5808 db.secondary =
5809
5810 ## A secondary word or phrase in an index term
5811 element secondary { db.secondary.attlist, db.all.inlines* }
5812 }
5813 div {
5814 db.tertiary.role.attribute = attribute role { text }
5815 db.tertiary.attlist =
5816 db.tertiary.role.attribute?
5817 & db.common.attributes
5818 & db.common.linking.attributes
5819 & db.sortas.attribute?
5820 db.tertiary =
5821
5822 ## A tertiary word or phrase in an index term
5823 element tertiary { db.tertiary.attlist, db.all.inlines* }
5824 }
5825 div {
5826 db.see.role.attribute = attribute role { text }
5827 db.see.attlist =
5828 db.see.role.attribute?
5829 & db.common.attributes
5830 & db.common.linking.attributes
5831 db.see =
5832
5833 ## Part of an index term directing the reader instead to another entry in the index
5834 element see { db.see.attlist, db.all.inlines* }
5835 }
5836 div {
5837 db.seealso.role.attribute = attribute role { text }
5838 db.seealso.attlist =
5839 db.seealso.role.attribute?
5840 & db.common.attributes
5841 & db.common.linking.attributes
5842 db.seealso =
5843
5844 ## Part of an index term directing the reader also to another entry in the index
5845 element seealso { db.seealso.attlist, db.all.inlines* }
5846 }
5847 div {
5848 db.index.status.attribute = db.status.attribute
5849 db.index.role.attribute = attribute role { text }
5850 db.index.attlist =
5851 db.index.role.attribute?
5852 & db.common.attributes
5853 & db.common.linking.attributes
5854 & db.label.attribute?
5855 & db.index.status.attribute?
5856 & db.index.type.attribute?
5857 db.index.info = db._info
5858 # Yes, db.indexdiv* and db.indexentry*; that way an <index/> is valid.
5859 # Authors can use an empty index to indicate where a generated index should
5860 # appear.
5861 db.index =
5862
5863 ## An index to a book or part of a book
5864 element index {
5865 db.index.attlist,
5866 db.index.info,
5867 db.all.blocks*,
5868 (db.indexdiv* | db.indexentry* | db.segmentedlist)
5869 }
5870 }
5871 div {
5872 db.setindex.status.attribute = db.status.attribute
5873 db.setindex.role.attribute = attribute role { text }
5874 db.setindex.attlist =
5875 db.setindex.role.attribute?
5876 & db.common.attributes
5877 & db.common.linking.attributes
5878 & db.label.attribute?
5879 & db.setindex.status.attribute?
5880 & db.index.type.attribute?
5881 db.setindex.info = db._info
5882 db.setindex =
5883
5884 ## An index to a set of books
5885 element setindex {
5886 db.setindex.attlist,
5887 db.setindex.info,
5888 db.all.blocks*,
5889 (db.indexdiv* | db.indexentry*)
5890 }
5891 }
5892 div {
5893 db.indexdiv.status.attribute = db.status.attribute
5894 db.indexdiv.role.attribute = attribute role { text }
5895 db.indexdiv.attlist =
5896 db.indexdiv.role.attribute?
5897 & db.common.attributes
5898 & db.common.linking.attributes
5899 & db.label.attribute?
5900 & db.indexdiv.status.attribute?
5901 db.indexdiv.info = db._info.title.req
5902 db.indexdiv =
5903
5904 ## A division in an index
5905 element indexdiv {
5906 db.indexdiv.attlist,
5907 db.indexdiv.info,
5908 db.all.blocks*,
5909 (db.indexentry+ | db.segmentedlist)
5910 }
5911 }
5912 div {
5913 db.indexentry.role.attribute = attribute role { text }
5914 db.indexentry.attlist =
5915 db.indexentry.role.attribute?
5916 & db.common.attributes
5917 & db.common.linking.attributes
5918 db.indexentry =
5919
5920 ## An entry in an index
5921 element indexentry {
5922 db.indexentry.attlist,
5923 db.primaryie,
5924 (db.seeie | db.seealsoie)*,
5925 (db.secondaryie, (db.seeie | db.seealsoie | db.tertiaryie)*)*
5926 }
5927 }
5928 div {
5929 db.primaryie.role.attribute = attribute role { text }
5930 db.primaryie.attlist =
5931 db.primaryie.role.attribute?
5932 & db.common.attributes
5933 & db.linkends.attribute?
5934 db.primaryie =
5935
5936 ## A primary term in an index entry, not in the text
5937 element primaryie { db.primaryie.attlist, db.all.inlines* }
5938 }
5939 div {
5940 db.secondaryie.role.attribute = attribute role { text }
5941 db.secondaryie.attlist =
5942 db.secondaryie.role.attribute?
5943 & db.common.attributes
5944 & db.linkends.attribute?
5945 db.secondaryie =
5946
5947 ## A secondary term in an index entry, rather than in the text
5948 element secondaryie { db.secondaryie.attlist, db.all.inlines* }
5949 }
5950 div {
5951 db.tertiaryie.role.attribute = attribute role { text }
5952 db.tertiaryie.attlist =
5953 db.tertiaryie.role.attribute?
5954 & db.common.attributes
5955 & db.linkends.attribute?
5956 db.tertiaryie =
5957
5958 ## A tertiary term in an index entry, rather than in the text
5959 element tertiaryie { db.tertiaryie.attlist, db.all.inlines* }
5960 }
5961 div {
5962 db.seeie.role.attribute = attribute role { text }
5963 db.seeie.attlist =
5964 db.seeie.role.attribute?
5965 & db.common.attributes
5966 & db.linkend.attribute?
5967 db.seeie =
5968
5969 ## A See
5970 ## entry in an index, rather than in the text
5971 element seeie { db.seeie.attlist, db.all.inlines* }
5972 }
5973 div {
5974 db.seealsoie.role.attribute = attribute role { text }
5975 db.seealsoie.attlist =
5976 db.seealsoie.role.attribute?
5977 & db.common.attributes
5978 & db.linkends.attribute?
5979 db.seealsoie =
5980
5981 ## A See also
5982 ## entry in an index, rather than in the text
5983 element seealsoie { db.seealsoie.attlist, db.all.inlines* }
5984 }
5985 db.toc.pagenum.attribute =
5986
5987 ## Indicates the page on which this element occurs in some version of the printed document
5988 attribute pagenum { text }
5989 div {
5990 db.toc.role.attribute = attribute role { text }
5991 db.toc.attlist =
5992 db.toc.role.attribute?
5993 & db.common.attributes
5994 & db.common.linking.attributes
5995 db.toc.info = db._info.title.only
5996 db.toc =
5997
5998 ## A table of contents
5999 element toc {
6000 db.toc.attlist,
6001 db.toc.info,
6002 db.all.blocks*,
6003 (db.tocdiv | db.tocentry)*
6004 }
6005 }
6006 div {
6007 db.tocdiv.role.attribute = attribute role { text }
6008 db.tocdiv.pagenum.attribute = db.toc.pagenum.attribute
6009 db.tocdiv.attlist =
6010 db.tocdiv.role.attribute?
6011 & db.common.attributes
6012 & db.tocdiv.pagenum.attribute?
6013 & db.linkend.attribute?
6014 db.tocdiv.info = db._info
6015 db.tocdiv =
6016
6017 ## A division in a table of contents
6018 element tocdiv {
6019 db.tocdiv.attlist,
6020 db.tocdiv.info,
6021 db.all.blocks*,
6022 (db.tocdiv | db.tocentry)+
6023 }
6024 }
6025 div {
6026 db.tocentry.role.attribute = attribute role { text }
6027 db.tocentry.pagenum.attribute = db.toc.pagenum.attribute
6028 db.tocentry.attlist =
6029 db.tocentry.role.attribute?
6030 & db.common.attributes
6031 & db.tocentry.pagenum.attribute?
6032 & db.linkend.attribute?
6033 db.tocentry =
6034
6035 ## A component title in a table of contents
6036 element tocentry { db.tocentry.attlist, db.all.inlines* }
6037 }
6038 db.task.info = db._info.title.req
6039 div {
6040 db.task.role.attribute = attribute role { text }
6041 db.task.attlist =
6042 db.task.role.attribute?
6043 & db.common.attributes
6044 & db.common.linking.attributes
6045 db.task =
6046
6047 ## A task to be completed
6048 element task {
6049 db.task.attlist,
6050 db.task.info,
6051 db.tasksummary?,
6052 db.taskprerequisites?,
6053 db.procedure+,
6054 db.example*,
6055 db.taskrelated?
6056 }
6057 }
6058 div {
6059 db.tasksummary.role.attribute = attribute role { text }
6060 db.tasksummary.attlist =
6061 db.tasksummary.role.attribute?
6062 & db.common.attributes
6063 & db.common.linking.attributes
6064 db.tasksummary.info = db._info.title.only
6065 db.tasksummary =
6066
6067 ## A summary of a task
6068 element tasksummary {
6069 db.tasksummary.attlist, db.tasksummary.info, db.all.blocks+
6070 }
6071 }
6072 div {
6073 db.taskprerequisites.role.attribute = attribute role { text }
6074 db.taskprerequisites.attlist =
6075 db.taskprerequisites.role.attribute?
6076 & db.common.attributes
6077 & db.common.linking.attributes
6078 db.taskprerequisites.info = db._info.title.only
6079 db.taskprerequisites =
6080
6081 ## The prerequisites for a task
6082 element taskprerequisites {
6083 db.taskprerequisites.attlist,
6084 db.taskprerequisites.info,
6085 db.all.blocks+
6086 }
6087 }
6088 div {
6089 db.taskrelated.role.attribute = attribute role { text }
6090 db.taskrelated.attlist =
6091 db.taskrelated.role.attribute?
6092 & db.common.attributes
6093 & db.common.linking.attributes
6094 db.taskrelated.info = db._info.title.only
6095 db.taskrelated =
6096
6097 ## Information related to a task
6098 element taskrelated {
6099 db.taskrelated.attlist, db.taskrelated.info, db.all.blocks+
6100 }
6101 }
6102 db.area.units.enumeration =
6103
6104 ## Coordinates expressed as a pair of CALS graphic coordinates.
6105 "calspair"
6106 |
6107 ## Coordinates expressed as a line and column.
6108 "linecolumn"
6109 |
6110 ## Coordinates expressed as a pair of lines and columns.
6111 "linecolumnpair"
6112 |
6113 ## Coordinates expressed as a line range.
6114 "linerange"
6115 db.area.units-enum.attribute =
6116
6117 ## Identifies the units used in the coords attribute. The default units vary according to the type of callout specified: calspair
6118 ## for graphics and linecolumn
6119 ## for line-oriented elements.
6120 attribute units { db.area.units.enumeration }?
6121 db.area.units-other.attributes =
6122
6123 ## Indicates that non-standard units are used for this area
6124 ## . In this case otherunits
6125 ## must be specified.
6126 attribute units {
6127
6128 ## Coordinates expressed in some non-standard units.
6129 "other"
6130 }?,
6131
6132 ## Identifies the units used in the coords
6133 ## attribute when the units
6134 ## attribute is other
6135 ## . This attribute is forbidden otherwise.
6136 attribute otherunits { xsd:NMTOKEN }
6137 db.area.units.attribute =
6138 db.area.units-enum.attribute | db.area.units-other.attributes
6139 div {
6140 db.calloutlist.role.attribute = attribute role { text }
6141 db.calloutlist.attlist =
6142 db.calloutlist.role.attribute?
6143 & db.common.attributes
6144 & db.common.linking.attributes
6145 db.calloutlist.info = db._info.title.only
6146 db.calloutlist =
6147
6148 ## A list of callout
6149 ## s
6150 element calloutlist {
6151 db.calloutlist.attlist,
6152 db.calloutlist.info,
6153 db.all.blocks*,
6154 db.callout+
6155 }
6156 }
6157 div {
6158 db.callout.role.attribute = attribute role { text }
6159 db.callout.arearefs.attribute =
6160
6161 ## Identifies the areas described by this callout.
6162 attribute arearefs { xsd:IDREFS }
6163 db.callout.attlist =
6164 db.callout.role.attribute?
6165 & db.common.attributes
6166 & db.callout.arearefs.attribute
6167 db.callout =
6168
6169 ## A called out
6170 ## description of a marked area
6171 element callout { db.callout.attlist, db.all.blocks+ }
6172 }
6173 div {
6174 db.programlistingco.role.attribute = attribute role { text }
6175 db.programlistingco.attlist =
6176 db.programlistingco.role.attribute?
6177 & db.common.attributes
6178 & db.common.linking.attributes
6179 db.programlistingco.info = db._info.title.forbidden
6180 db.programlistingco =
6181
6182 ## A program listing with associated areas used in callouts
6183 element programlistingco {
6184 db.programlistingco.attlist,
6185 db.programlistingco.info,
6186 db.areaspec,
6187 db.programlisting,
6188 db.calloutlist*
6189 }
6190 }
6191 div {
6192 db.areaspec.role.attribute = attribute role { text }
6193 db.areaspec.attlist =
6194 db.areaspec.role.attribute?
6195 & db.common.attributes
6196 & db.common.linking.attributes
6197 & db.area.units.attribute
6198 db.areaspec =
6199
6200 ## A collection of regions in a graphic or code example
6201 element areaspec { db.areaspec.attlist, (db.area | db.areaset)+ }
6202 }
6203 div {
6204 db.area.role.attribute = attribute role { text }
6205 db.area.linkends.attribute =
6206
6207 ## Point to the callout
6208 ## s which refer to this area. (This provides bidirectional linking which may be useful in online presentation.)
6209 attribute linkends { xsd:IDREFS }
6210 db.area.label.attribute =
6211
6212 ## Specifies an identifying number or string that may be used in presentation. The area label might be drawn on top of the figure, for example, at the position indicated by the coords attribute.
6213 attribute label { text }
6214 db.area.coords.attribute =
6215
6216 ## Provides the coordinates of the area. The coordinates must be interpreted using the units
6217 ## specified.
6218 attribute coords { text }
6219 db.area.attlist =
6220 db.area.role.attribute?
6221 & db.common.idreq.attributes
6222 & db.area.units.attribute
6223 & (db.area.linkends.attribute | db.xlink.simple.link.attributes)?
6224 & db.area.label.attribute?
6225 & db.area.coords.attribute
6226 db.area =
6227
6228 ## A region defined for a callout in a graphic or code example
6229 element area { db.area.attlist, db.alt? }
6230 }
6231 div {
6232 # The only difference is that xml:id is optional
6233 db.area.inareaset.attlist =
6234 db.area.role.attribute?
6235 & db.common.attributes
6236 & db.area.units.attribute
6237 & (db.area.linkends.attribute | db.xlink.simple.link.attributes)?
6238 & db.area.label.attribute?
6239 & db.area.coords.attribute
6240 db.area.inareaset =
6241
6242 ## A region defined for a callout in a graphic or code example
6243 element area { db.area.inareaset.attlist, db.alt? }
6244 }
6245 div {
6246 db.areaset.role.attribute = attribute role { text }
6247 db.areaset.linkends.attribute = db.linkends.attribute
6248 db.areaset.label.attribute = db.label.attribute
6249 db.areaset.attlist =
6250 db.areaset.role.attribute?
6251 & db.common.idreq.attributes
6252 & db.area.units.attribute
6253 & (db.areaset.linkends.attribute | db.xlink.simple.link.attributes)?
6254 & db.areaset.label.attribute?
6255 db.areaset =
6256
6257 ## A set of related areas in a graphic or code example
6258 element areaset { db.areaset.attlist, db.area.inareaset+ }
6259 }
6260 div {
6261 db.screenco.role.attribute = attribute role { text }
6262 db.screenco.attlist =
6263 db.screenco.role.attribute?
6264 & db.common.attributes
6265 & db.common.linking.attributes
6266 db.screenco.info = db._info.title.forbidden
6267 db.screenco =
6268
6269 ## A screen with associated areas used in callouts
6270 element screenco {
6271 db.screenco.attlist,
6272 db.screenco.info,
6273 db.areaspec,
6274 db.screen,
6275 db.calloutlist*
6276 }
6277 }
6278 div {
6279 db.imageobjectco.role.attribute = attribute role { text }
6280 db.imageobjectco.attlist =
6281 db.imageobjectco.role.attribute?
6282 & db.common.attributes
6283 & db.common.linking.attributes
6284 db.imageobjectco.info = db._info.title.forbidden
6285 db.imageobjectco =
6286
6287 ## A wrapper for an image object with callouts
6288 element imageobjectco {
6289 db.imageobjectco.attlist,
6290 db.imageobjectco.info,
6291 db.areaspec,
6292 db.imageobject+,
6293 db.calloutlist*
6294 }
6295 }
6296 div {
6297 db.co.role.attribute = attribute role { text }
6298 db.co.linkends.attribute = db.linkends.attribute
6299 db.co.label.attribute = db.label.attribute
6300 db.co.attlist =
6301 db.co.role.attribute?
6302 & db.common.idreq.attributes
6303 & db.co.linkends.attribute?
6304 & db.co.label.attribute?
6305 db.co =
6306
6307 ## The location of a callout embedded in text
6308 element co { db.co.attlist, empty }
6309 }
6310 div {
6311 db.coref.role.attribute = attribute role { text }
6312 db.coref.label.attribute = db.label.attribute
6313 db.coref.attlist =
6314 db.coref.role.attribute?
6315 & db.common.attributes
6316 & db.linkend.attribute
6317 & db.coref.label.attribute?
6318 db.coref =
6319
6320 ## A cross reference to a co
6321 element coref { db.coref.attlist, empty }
6322 }
6323 div {
6324 db.productionset.role.attribute = attribute role { text }
6325 db.productionset.attlist =
6326 db.productionset.role.attribute?
6327 & db.common.attributes
6328 & db.common.linking.attributes
6329 db.productionset.info = db._info.title.only
6330 db.productionset =
6331
6332 ## A set of EBNF productions
6333 element productionset {
6334 db.productionset.attlist,
6335 db.productionset.info,
6336 (db.production | db.productionrecap)+
6337 }
6338 }
6339 div {
6340 db.production.role.attribute = attribute role { text }
6341 db.production.attlist =
6342 db.production.role.attribute?
6343 & db.common.idreq.attributes
6344 & db.common.linking.attributes
6345 db.production =
6346
6347 ## A production in a set of EBNF productions
6348 element production {
6349 db.production.attlist, db.lhs, db.rhs+, db.constraint*
6350 }
6351 }
6352 div {
6353 db.lhs.role.attribute = attribute role { text }
6354 db.lhs.attlist =
6355 db.lhs.role.attribute?
6356 & db.common.attributes
6357 & db.common.linking.attributes
6358 db.lhs =
6359
6360 ## The left-hand side of an EBNF production
6361 element lhs { db.lhs.attlist, text }
6362 }
6363 div {
6364 db.rhs.role.attribute = attribute role { text }
6365 db.rhs.attlist =
6366 db.rhs.role.attribute?
6367 & db.common.attributes
6368 & db.common.linking.attributes
6369 db.rhs =
6370
6371 ## The right-hand side of an EBNF production
6372 element rhs {
6373 db.rhs.attlist,
6374 (text | db.nonterminal | db.lineannotation | db.sbr)*
6375 }
6376 }
6377 div {
6378 db.nonterminal.role.attribute = attribute role { text }
6379 db.nonterminal.def.attribute =
6380
6381 ## Specifies a URI that points to a production
6382 ## where the nonterminal
6383 ## is defined
6384 attribute def { xsd:anyURI }
6385 db.nonterminal.attlist =
6386 db.nonterminal.role.attribute?
6387 & db.common.attributes
6388 & db.common.linking.attributes
6389 & db.nonterminal.def.attribute
6390 db.nonterminal =
6391
6392 ## A non-terminal in an EBNF production
6393 element nonterminal { db.nonterminal.attlist, text }
6394 }
6395 div {
6396 db.constraint.role.attribute = attribute role { text }
6397 db.constraint.attlist =
6398 db.constraint.role.attribute?
6399 & db.common.attributes
6400 & db.common.req.linking.attributes
6401 db.constraint =
6402
6403 ## A constraint in an EBNF production
6404 element constraint { db.constraint.attlist, empty }
6405 }
6406 div {
6407 db.productionrecap.role.attribute = attribute role { text }
6408 db.productionrecap.attlist =
6409 db.productionrecap.role.attribute?
6410 & db.common.attributes
6411 & db.common.req.linking.attributes
6412 db.productionrecap =
6413
6414 ## A cross-reference to an EBNF production
6415 element productionrecap { db.productionrecap.attlist, empty }
6416 }
6417 div {
6418 db.constraintdef.role.attribute = attribute role { text }
6419 db.constraintdef.attlist =
6420 db.constraintdef.role.attribute?
6421 & db.common.attributes
6422 & db.common.linking.attributes
6423 db.constraintdef.info = db._info.title.only
6424 db.constraintdef =
6425
6426 ## The definition of a constraint in an EBNF production
6427 element constraintdef {
6428 db.constraintdef.attlist, db.constraintdef.info, db.all.blocks+
6429 }
6430 }
6431 db.char.attribute =
6432
6433 ## Specifies the alignment character when align
6434 ## is set to char
6435 ## .
6436 attribute char { text }
6437 db.charoff.attribute =
6438
6439 ## Specifies the percentage of the column's total width that should appear to the left of the first occurance of the character identified in char
6440 ## when align
6441 ## is set to char
6442 ## .
6443 attribute charoff {
6444 xsd:decimal { minExclusive = "0" maxExclusive = "100" }
6445 }
6446 db.frame.attribute =
6447
6448 ## Specifies how the table is to be framed. Note that there is no way to obtain a border on only the starting edge (left, in left-to-right writing systems) of the table.
6449 attribute frame {
6450
6451 ## Frame all four sides of the table. In some environments with limited control over table border formatting, such as HTML, this may imply additional borders.
6452 "all"
6453 |
6454 ## Frame only the bottom of the table.
6455 "bottom"
6456 |
6457 ## Place no border on the table. In some environments with limited control over table border formatting, such as HTML, this may disable other borders as well.
6458 "none"
6459 |
6460 ## Frame the left and right sides of the table.
6461 "sides"
6462 |
6463 ## Frame the top of the table.
6464 "top"
6465 |
6466 ## Frame the top and bottom of the table.
6467 "topbot"
6468 }
6469 db.colsep.attribute =
6470
6471 ## Specifies the presence or absence of the column separator
6472 attribute colsep {
6473
6474 ## No column separator rule.
6475 "0"
6476 |
6477 ## Provide a column separator rule on the right
6478 "1"
6479 }
6480 db.rowsep.attribute =
6481
6482 ## Specifies the presence or absence of the row separator
6483 attribute rowsep {
6484
6485 ## No row separator rule.
6486 "0"
6487 |
6488 ## Provide a row separator rule below
6489 "1"
6490 }
6491 db.orient.attribute =
6492
6493 ## Specifies the orientation of the table
6494 attribute orient {
6495
6496 ## 90 degrees counter-clockwise from the rest of the text flow.
6497 "land"
6498 |
6499 ## The same orientation as the rest of the text flow.
6500 "port"
6501 }
6502 db.tabstyle.attribute =
6503
6504 ## Specifies the table style
6505 attribute tabstyle { text }
6506 db.rowheader.attribute =
6507
6508 ## Indicates whether or not the entries in the first column should be considered row headers
6509 attribute rowheader {
6510
6511 ## Indicates that entries in the first column of the table are functionally row headers (analogous to the way that a thead provides column headers).
6512 "firstcol"
6513 |
6514 ## Indicates that entries in the first column have no special significance with respect to column headers.
6515 "norowheader"
6516 }
6517 db.align.attribute =
6518
6519 ## Specifies the horizontal alignment of text in an entry.
6520 attribute align {
6521
6522 ## Centered.
6523 "center"
6524 |
6525 ## Aligned on a particular character.
6526 "char"
6527 |
6528 ## Left and right justified.
6529 "justify"
6530 |
6531 ## Left justified.
6532 "left"
6533 |
6534 ## Right justified.
6535 "right"
6536 }
6537 db.valign.attribute =
6538
6539 ## Specifies the vertical alignment of text in an entry.
6540 attribute valign {
6541
6542 ## Aligned on the bottom of the entry.
6543 "bottom"
6544 |
6545 ## Aligned in the middle.
6546 "middle"
6547 |
6548 ## Aligned at the top of the entry.
6549 "top"
6550 }
6551 db.specify-col-by-colname.attributes =
6552
6553 ## Specifies a column specification by name.
6554 attribute colname { text }
6555 db.specify-col-by-namest.attributes =
6556
6557 ## Specifies a starting column by name.
6558 attribute namest { text }
6559 db.specify-span-by-spanspec.attributes =
6560
6561 ## Specifies a span by name.
6562 attribute spanname { text }
6563 db.specify-span-directly.attributes =
6564
6565 ## Specifies a starting column by name.
6566 attribute namest { text }
6567 &
6568 ## Specifies an ending column by name.
6569 attribute nameend { text }
6570 db.column-spec.attributes =
6571 db.specify-col-by-colname.attributes
6572 | db.specify-col-by-namest.attributes
6573 | db.specify-span-by-spanspec.attributes
6574 | db.specify-span-directly.attributes
6575 db.colname.attribute =
6576
6577 ## Provides a name for a column specification.
6578 attribute colname { text }
6579 db.spanname.attribute =
6580
6581 ## Provides a name for a span specification.
6582 attribute spanname { text }
6583 div {
6584 db.tgroup.role.attribute = attribute role { text }
6585 db.tgroup.tgroupstyle.attribute =
6586
6587 ## Additional style information for downstream processing; typically the name of a style.
6588 attribute tgroupstyle { text }
6589 db.tgroup.cols.attribute =
6590
6591 ## The number of columns in the table. Must be an integer greater than zero.
6592 attribute cols { xsd:positiveInteger }
6593 db.tgroup.attlist =
6594 db.tgroup.role.attribute?
6595 & db.common.attributes
6596 & db.common.linking.attributes
6597 & db.char.attribute?
6598 & db.charoff.attribute?
6599 & db.tgroup.tgroupstyle.attribute?
6600 & db.tgroup.cols.attribute
6601 & db.colsep.attribute?
6602 & db.rowsep.attribute?
6603 & db.align.attribute?
6604 db.tgroup =
6605
6606 ## A wrapper for the main content of a table, or part of a table
6607 element tgroup {
6608 db.tgroup.attlist,
6609 db.colspec*,
6610 db.spanspec*,
6611 db.cals.thead?,
6612 db.cals.tfoot?,
6613 db.cals.tbody
6614 }
6615 }
6616 div {
6617 db.colspec.role.attribute = attribute role { text }
6618 db.colspec.colnum.attribute =
6619
6620 ## The number of the column to which this specification applies. Must be greater than any preceding column number. Defaults to one more than the number of the preceding column, if there is one, or one.
6621 attribute colnum { xsd:positiveInteger }
6622 db.colspec.colwidth.attribute =
6623
6624 ## Specifies the width of the column.
6625 attribute colwidth { text }
6626 db.colspec.attlist =
6627 db.colspec.role.attribute?
6628 & db.common.attributes
6629 & db.common.linking.attributes
6630 & db.colspec.colnum.attribute?
6631 & db.char.attribute?
6632 & db.colsep.attribute?
6633 & db.colspec.colwidth.attribute?
6634 & db.charoff.attribute?
6635 & db.colname.attribute?
6636 & db.rowsep.attribute?
6637 & db.align.attribute?
6638 db.colspec =
6639
6640 ## Specifications for a column in a table
6641 element colspec { db.colspec.attlist, empty }
6642 }
6643 div {
6644 db.spanspec.role.attribute = attribute role { text }
6645 db.spanspec.namest.attribute =
6646
6647 ## Specifies a starting column by name.
6648 attribute namest { text }
6649 db.spanspec.nameend.attribute =
6650
6651 ## Specifies an ending column by name.
6652 attribute nameend { text }
6653 db.spanspec.attlist =
6654 db.spanspec.role.attribute?
6655 & db.common.attributes
6656 & db.common.linking.attributes
6657 & db.spanname.attribute
6658 & db.spanspec.namest.attribute
6659 & db.spanspec.nameend.attribute
6660 & db.char.attribute?
6661 & db.colsep.attribute?
6662 & db.charoff.attribute?
6663 & db.rowsep.attribute?
6664 & db.align.attribute?
6665 db.spanspec =
6666
6667 ## Formatting information for a spanned column in a table
6668 element spanspec { db.spanspec.attlist, empty }
6669 }
6670 div {
6671 db.cals.thead.role.attribute = attribute role { text }
6672 db.cals.thead.attlist =
6673 db.cals.thead.role.attribute?
6674 & db.common.attributes
6675 & db.common.linking.attributes
6676 & db.valign.attribute?
6677 db.cals.thead =
6678
6679 ## A table header consisting of one or more rows
6680 element thead { db.cals.thead.attlist, db.colspec*, db.row+ }
6681 }
6682 div {
6683 db.cals.tfoot.role.attribute = attribute role { text }
6684 db.cals.tfoot.attlist =
6685 db.cals.tfoot.role.attribute?
6686 & db.common.attributes
6687 & db.common.linking.attributes
6688 & db.valign.attribute?
6689 db.cals.tfoot =
6690
6691 ## A table footer consisting of one or more rows
6692 element tfoot { db.cals.tfoot.attlist, db.colspec*, db.row+ }
6693 }
6694 div {
6695 db.cals.tbody.role.attribute = attribute role { text }
6696 db.cals.tbody.attlist =
6697 db.cals.tbody.role.attribute?
6698 & db.common.attributes
6699 & db.common.linking.attributes
6700 & db.valign.attribute?
6701 db.cals.tbody =
6702
6703 ## A wrapper for the rows of a table or informal table
6704 element tbody { db.cals.tbody.attlist, db.row+ }
6705 }
6706 div {
6707 db.row.role.attribute = attribute role { text }
6708 db.row.attlist =
6709 db.row.role.attribute?
6710 & db.common.attributes
6711 & db.common.linking.attributes
6712 & db.rowsep.attribute?
6713 & db.valign.attribute?
6714 db.row =
6715
6716 ## A row in a table
6717 element row { db.row.attlist, (db.entry | db.entrytbl)+ }
6718 }
6719 div {
6720 db.entry.role.attribute = attribute role { text }
6721 db.entry.morerows.attribute =
6722
6723 ## Specifies the number of additional rows which this entry occupies. Defaults to zero.
6724 attribute morerows { xsd:integer }
6725 db.entry.rotate.attribute =
6726
6727 ## Specifies the rotation of this entry. A value of 1 (true) rotates the cell 90 degrees counter-clockwise. A value of 0 (false) leaves the cell unrotated.
6728 attribute rotate {
6729
6730 ## Do not rotate the cell.
6731 "0"
6732 |
6733 ## Rotate the cell 90 degrees counter-clockwise.
6734 "1"
6735 }
6736 db.entry.attlist =
6737 db.entry.role.attribute?
6738 & db.common.attributes
6739 & db.common.linking.attributes
6740 & db.valign.attribute?
6741 & db.char.attribute?
6742 & db.colsep.attribute?
6743 & db.charoff.attribute?
6744 & db.entry.morerows.attribute?
6745 & db.column-spec.attributes?
6746 & db.rowsep.attribute?
6747 & db.entry.rotate.attribute?
6748 & db.align.attribute?
6749 db.entry =
6750
6751 ## A cell in a table
6752 [
6753 s:pattern [
6754 name = "Element exclusion"
6755 "\x{a}" ~
6756 " "
6757 s:rule [
6758 context = "db:entry"
6759 "\x{a}" ~
6760 " "
6761 s:assert [
6762 test = "not(.//db:table)"
6763 "table must not occur among the children or descendants of entry"
6764 ]
6765 "\x{a}" ~
6766 " "
6767 ]
6768 "\x{a}" ~
6769 " "
6770 ]
6771 s:pattern [
6772 name = "Element exclusion"
6773 "\x{a}" ~
6774 " "
6775 s:rule [
6776 context = "db:entry"
6777 "\x{a}" ~
6778 " "
6779 s:assert [
6780 test = "not(.//db:informaltable)"
6781 "informaltable must not occur among the children or descendants of entry"
6782 ]
6783 "\x{a}" ~
6784 " "
6785 ]
6786 "\x{a}" ~
6787 " "
6788 ]
6789 ]
6790 element entry {
6791 db.entry.attlist, (db.all.inlines* | db.all.blocks*)
6792 }
6793 }
6794 div {
6795 db.entrytbl.role.attribute = attribute role { text }
6796 db.entrytbl.tgroupstyle.attribute =
6797
6798 ## Additional style information for downstream processing; typically the name of a style.
6799 attribute tgroupstyle { text }
6800 db.entrytbl.cols.attribute =
6801
6802 ## The number of columns in the entry table. Must be an integer greater than zero.
6803 attribute cols { xsd:positiveInteger }
6804 db.entrytbl.attlist =
6805 db.entrytbl.role.attribute?
6806 & db.common.attributes
6807 & db.common.linking.attributes
6808 & db.char.attribute?
6809 & db.charoff.attribute?
6810 & db.column-spec.attributes?
6811 & db.entrytbl.tgroupstyle.attribute?
6812 & db.entrytbl.cols.attribute?
6813 & db.colsep.attribute?
6814 & db.rowsep.attribute?
6815 & db.align.attribute?
6816 db.entrytbl =
6817
6818 ## A subtable appearing in place of an entry in a table
6819 element entrytbl {
6820 db.entrytbl.attlist,
6821 db.colspec*,
6822 db.spanspec*,
6823 db.cals.entrytbl.thead?,
6824 db.cals.entrytbl.tbody
6825 }
6826 }
6827 div {
6828 db.cals.entrytbl.thead.role.attribute = attribute role { text }
6829 db.cals.entrytbl.thead.attlist =
6830 db.cals.entrytbl.thead.role.attribute?
6831 & db.common.attributes
6832 & db.common.linking.attributes
6833 & db.valign.attribute?
6834 db.cals.entrytbl.thead =
6835
6836 ## A table header consisting of one or more rows
6837 element thead {
6838 db.cals.entrytbl.thead.attlist, db.colspec*, db.entrytbl.row+
6839 }
6840 }
6841 div {
6842 db.cals.entrytbl.tbody.role.attribute = attribute role { text }
6843 db.cals.entrytbl.tbody.attlist =
6844 db.cals.entrytbl.tbody.role.attribute?
6845 & db.common.attributes
6846 & db.common.linking.attributes
6847 & db.valign.attribute?
6848 db.cals.entrytbl.tbody =
6849
6850 ## A wrapper for the rows of a table or informal table
6851 element tbody { db.cals.entrytbl.tbody.attlist, db.entrytbl.row+ }
6852 }
6853 div {
6854 db.entrytbl.row.role.attribute = attribute role { text }
6855 db.entrytbl.row.attlist =
6856 db.entrytbl.row.role.attribute?
6857 & db.common.attributes
6858 & db.common.linking.attributes
6859 & db.rowsep.attribute?
6860 & db.valign.attribute?
6861 db.entrytbl.row =
6862
6863 ## A row in a table
6864 element row { db.entrytbl.row.attlist, db.entry+ }
6865 }
6866 div {
6867 db.cals.table.role.attribute = attribute role { text }
6868 db.cals.table.label.attribute = db.label.attribute
6869 db.cals.table.attlist =
6870 db.cals.table.role.attribute?
6871 & db.cals.table.label.attribute?
6872 & db.common.attributes
6873 & db.common.linking.attributes
6874 & db.tabstyle.attribute?
6875 & db.floatstyle.attribute?
6876 & db.orient.attribute?
6877 & db.colsep.attribute?
6878 & db.rowsep.attribute?
6879 & db.frame.attribute?
6880 & db.pgwide.attribute?
6881 &
6882 ## Indicates if the short or long title should be used in a List of Tables
6883 attribute shortentry {
6884
6885 ## Indicates that the full title should be used.
6886 "0"
6887 |
6888 ## Indicates that the short short title (titleabbrev) should be used.
6889 "1"
6890 }?
6891 &
6892 ## Indicates if the table should appear in a List of Tables
6893 attribute tocentry {
6894
6895 ## Indicates that the table should not occur in the List of Tables.
6896 "0"
6897 |
6898 ## Indicates that the table should appear in the List of Tables.
6899 "1"
6900 }?
6901 & db.rowheader.attribute?
6902 db.cals.table.info = db._info.title.onlyreq
6903 db.cals.table =
6904
6905 ## A formal table in a document
6906 [
6907 s:pattern [
6908 name = "Element exclusion"
6909 "\x{a}" ~
6910 " "
6911 s:rule [
6912 context = "db:table"
6913 "\x{a}" ~
6914 " "
6915 s:assert [
6916 test = "not(.//db:example)"
6917 "example must not occur among the children or descendants of table"
6918 ]
6919 "\x{a}" ~
6920 " "
6921 ]
6922 "\x{a}" ~
6923 " "
6924 ]
6925 s:pattern [
6926 name = "Element exclusion"
6927 "\x{a}" ~
6928 " "
6929 s:rule [
6930 context = "db:table"
6931 "\x{a}" ~
6932 " "
6933 s:assert [
6934 test = "not(.//db:figure)"
6935 "figure must not occur among the children or descendants of table"
6936 ]
6937 "\x{a}" ~
6938 " "
6939 ]
6940 "\x{a}" ~
6941 " "
6942 ]
6943 s:pattern [
6944 name = "Element exclusion"
6945 "\x{a}" ~
6946 " "
6947 s:rule [
6948 context = "db:table"
6949 "\x{a}" ~
6950 " "
6951 s:assert [
6952 test = "not(.//db:equation)"
6953 "equation must not occur among the children or descendants of table"
6954 ]
6955 "\x{a}" ~
6956 " "
6957 ]
6958 "\x{a}" ~
6959 " "
6960 ]
6961 s:pattern [
6962 name = "Element exclusion"
6963 "\x{a}" ~
6964 " "
6965 s:rule [
6966 context = "db:table"
6967 "\x{a}" ~
6968 " "
6969 s:assert [
6970 test = "not(.//db:caution)"
6971 "caution must not occur among the children or descendants of table"
6972 ]
6973 "\x{a}" ~
6974 " "
6975 ]
6976 "\x{a}" ~
6977 " "
6978 ]
6979 s:pattern [
6980 name = "Element exclusion"
6981 "\x{a}" ~
6982 " "
6983 s:rule [
6984 context = "db:table"
6985 "\x{a}" ~
6986 " "
6987 s:assert [
6988 test = "not(.//db:important)"
6989 "important must not occur among the children or descendants of table"
6990 ]
6991 "\x{a}" ~
6992 " "
6993 ]
6994 "\x{a}" ~
6995 " "
6996 ]
6997 s:pattern [
6998 name = "Element exclusion"
6999 "\x{a}" ~
7000 " "
7001 s:rule [
7002 context = "db:table"
7003 "\x{a}" ~
7004 " "
7005 s:assert [
7006 test = "not(.//db:note)"
7007 "note must not occur among the children or descendants of table"
7008 ]
7009 "\x{a}" ~
7010 " "
7011 ]
7012 "\x{a}" ~
7013 " "
7014 ]
7015 s:pattern [
7016 name = "Element exclusion"
7017 "\x{a}" ~
7018 " "
7019 s:rule [
7020 context = "db:table"
7021 "\x{a}" ~
7022 " "
7023 s:assert [
7024 test = "not(.//db:tip)"
7025 "tip must not occur among the children or descendants of table"
7026 ]
7027 "\x{a}" ~
7028 " "
7029 ]
7030 "\x{a}" ~
7031 " "
7032 ]
7033 s:pattern [
7034 name = "Element exclusion"
7035 "\x{a}" ~
7036 " "
7037 s:rule [
7038 context = "db:table"
7039 "\x{a}" ~
7040 " "
7041 s:assert [
7042 test = "not(.//db:warning)"
7043 "warning must not occur among the children or descendants of table"
7044 ]
7045 "\x{a}" ~
7046 " "
7047 ]
7048 "\x{a}" ~
7049 " "
7050 ]
7051 ]
7052 element table {
7053 db.cals.table.attlist,
7054 db.cals.table.info,
7055 (db.alt? & db.indexing.inlines* & db.textobject*),
7056 (db.mediaobject+ | db.tgroup+),
7057 db.caption?
7058 }
7059 }
7060 div {
7061 db.cals.informaltable.role.attribute = attribute role { text }
7062 db.cals.informaltable.attlist =
7063 db.cals.informaltable.role.attribute?
7064 & db.common.attributes
7065 & db.common.linking.attributes
7066 & db.tabstyle.attribute?
7067 & db.floatstyle.attribute?
7068 & db.orient.attribute?
7069 & db.colsep.attribute?
7070 & db.rowsep.attribute?
7071 & db.frame.attribute?
7072 & db.pgwide.attribute?
7073 & db.rowheader.attribute?
7074 db.cals.informaltable.info = db._info.title.forbidden
7075 db.cals.informaltable =
7076
7077 ## A table without a title
7078 element informaltable {
7079 db.cals.informaltable.attlist,
7080 db.cals.informaltable.info,
7081 (db.alt? & db.indexing.inlines* & db.textobject*),
7082 (db.mediaobject+ | db.tgroup+),
7083 db.caption?
7084 }
7085 }
7086 db.html.coreattrs =
7087
7088 ## This attribute assigns a class name or set of class names to an element. Any number of elements may be assigned the same class name or names. Multiple class names must be separated by white space characters.
7089 attribute class { text }?
7090 &
7091 ## This attribute specifies style information for the current element.
7092 attribute style { text }?
7093 &
7094 ## This attribute offers advisory information about the element for which it is set.
7095 attribute title { text }?
7096 db.html.i18n =
7097
7098 ## This attribute specifies the base language of an element's attribute values and text content. The default value of this attribute is unknown.
7099 attribute lang { text }?
7100 db.html.events =
7101
7102 ## Occurs when the pointing device button is clicked over an element.
7103 attribute onclick { text }?
7104 &
7105 ## Occurs when the pointing device button is double clicked over an element.
7106 attribute ondblclick { text }?
7107 &
7108 ## Occurs when the pointing device button is pressed over an element.
7109 attribute onmousedown { text }?
7110 &
7111 ## Occurs when the pointing device button is released over an element.
7112 attribute onmouseup { text }?
7113 &
7114 ## Occurs when the pointing device is moved onto an element.
7115 attribute onmouseover { text }?
7116 &
7117 ## Occurs when the pointing device is moved while it is over an element.
7118 attribute onmousemove { text }?
7119 &
7120 ## Occurs when the pointing device is moved away from an element.
7121 attribute onmouseout { text }?
7122 &
7123 ## Occurs when a key is pressed and released over an element.
7124 attribute onkeypress { text }?
7125 &
7126 ## Occurs when a key is pressed down over an element.
7127 attribute onkeydown { text }?
7128 &
7129 ## Occurs when a key is released over an element.
7130 attribute onkeyup { text }?
7131 db.html.attrs =
7132 db.common.attributes
7133 & db.html.coreattrs
7134 & db.html.i18n
7135 & db.html.events
7136 db.html.cellhalign =
7137
7138 ## Specifies the alignment of data and the justification of text in a cell.
7139 attribute align {
7140
7141 ## Left-flush data/Left-justify text. This is the default value for table data.
7142 "left"
7143 |
7144 ## Center data/Center-justify text. This is the default value for table headers.
7145 "center"
7146 |
7147 ## Right-flush data/Right-justify text.
7148 "right"
7149 |
7150 ## Double-justify text.
7151 "justify"
7152 |
7153 ## Align text around a specific character. If a user agent doesn't support character alignment, behavior in the presence of this value is unspecified.
7154 "char"
7155 }?
7156 &
7157 ## This attribute specifies a single character within a text fragment to act as an axis for alignment. The default value for this attribute is the decimal point character for the current language as set by the lang attribute (e.g., the period in English and the comma in French). User agents are not required to support this attribute.
7158 attribute char { text }?
7159 &
7160 ## When present, this attribute specifies the offset to the first occurrence of the alignment character on each line. If a line doesn't include the alignment character, it should be horizontally shifted to end at the alignment position. When charoff is used to set the offset of an alignment character, the direction of offset is determined by the current text direction (set by the dir attribute). In left-to-right texts (the default), offset is from the left margin. In right-to-left texts, offset is from the right margin. User agents are not required to support this attribute.
7161 attribute charoff {
7162 xsd:integer >> a:documentation [ "An explicit offset." ]
7163 | xsd:string { pattern = "[0-9]+%" }
7164 >> a:documentation [ "A percentage offset." ]
7165 }?
7166 db.html.cellvalign =
7167
7168 ## Specifies the vertical position of data within a cell.
7169 attribute valign {
7170
7171 ## Cell data is flush with the top of the cell.
7172 "top"
7173 |
7174 ## Cell data is centered vertically within the cell. This is the default value.
7175 "middle"
7176 |
7177 ## Cell data is flush with the bottom of the cell.
7178 "bottom"
7179 |
7180 ## All cells in the same row as a cell whose valign attribute has this value should have their textual data positioned so that the first text line occurs on a baseline common to all cells in the row. This constraint does not apply to subsequent text lines in these cells.
7181 "baseline"
7182 }?
7183 db.html.table.attributes =
7184
7185 ## Provides a summary of the table's purpose and structure for user agents rendering to non-visual media such as speech and Braille.
7186 attribute summary { text }?
7187 &
7188 ## Specifies the desired width of the entire table and is intended for visual user agents. When the value is a percentage value, the value is relative to the user agent's available horizontal space. In the absence of any width specification, table width is determined by the user agent.
7189 attribute width {
7190 xsd:integer >> a:documentation [ "An explicit width." ]
7191 | xsd:string { pattern = "[0-9]+%" }
7192 >> a:documentation [ "A percentage width." ]
7193 }?
7194 &
7195 ## Specifies the width (in pixels only) of the frame around a table.
7196 attribute border { xsd:nonNegativeInteger }?
7197 &
7198 ## Specifies which sides of the frame surrounding a table will be visible.
7199 attribute frame {
7200
7201 ## No sides. This is the default value.
7202 "void"
7203 |
7204 ## The top side only.
7205 "above"
7206 |
7207 ## The bottom side only.
7208 "below"
7209 |
7210 ## The top and bottom sides only.
7211 "hsides"
7212 |
7213 ## The left-hand side only.
7214 "lhs"
7215 |
7216 ## The right-hand side only.
7217 "rhs"
7218 |
7219 ## The right and left sides only.
7220 "vsides"
7221 |
7222 ## All four sides.
7223 "box"
7224 |
7225 ## All four sides.
7226 "border"
7227 }?
7228 &
7229 ## Specifies which rules will appear between cells within a table. The rendering of rules is user agent dependent.
7230 attribute rules {
7231
7232 ## No rules. This is the default value.
7233 "none"
7234 |
7235 ## Rules will appear between row groups (see thead, tfoot, and tbody) and column groups (see colgroup and col) only.
7236 "groups"
7237 |
7238 ## Rules will appear between rows only.
7239 "rows"
7240 |
7241 ## Rules will appear between columns only.
7242 "cols"
7243 |
7244 ## Rules will appear between all rows and columns.
7245 "all"
7246 }?
7247 &
7248 ## Specifies how much space the user agent should leave between the left side of the table and the left-hand side of the leftmost column, the top of the table and the top side of the topmost row, and so on for the right and bottom of the table. The attribute also specifies the amount of space to leave between cells.
7249 attribute cellspacing {
7250 xsd:integer >> a:documentation [ "An explicit spacing." ]
7251 | xsd:string { pattern = "[0-9]+%" }
7252 >> a:documentation [ "A percentage spacing." ]
7253 }?
7254 &
7255 ## Specifies the amount of space between the border of the cell and its contents. If the value of this attribute is a pixel length, all four margins should be this distance from the contents. If the value of the attribute is a percentage length, the top and bottom margins should be equally separated from the content based on a percentage of the available vertical space, and the left and right margins should be equally separated from the content based on a percentage of the available horizontal space.
7256 attribute cellpadding {
7257 xsd:integer >> a:documentation [ "An explicit padding." ]
7258 | xsd:string { pattern = "[0-9]+%" }
7259 >> a:documentation [ "A percentage padding." ]
7260 }?
7261 db.html.tablecell.attributes =
7262
7263 ## Provides an abbreviated form of the cell's content and may be rendered by user agents when appropriate in place of the cell's content. Abbreviated names should be short since user agents may render them repeatedly. For instance, speech synthesizers may render the abbreviated headers relating to a particular cell before rendering that cell's content.
7264 attribute abbr { text }?
7265 &
7266 ## This attribute may be used to place a cell into conceptual categories that can be considered to form axes in an n-dimensional space. User agents may give users access to these categories (e.g., the user may query the user agent for all cells that belong to certain categories, the user agent may present a table in the form of a table of contents, etc.). Please consult an HTML reference for more details.
7267 attribute axis { text }?
7268 &
7269 ## Specifies the list of header cells that provide header information for the current data cell. The value of this attribute is a space-separated list of cell names; those cells must be named by setting their id attribute. Authors generally use the headers attribute to help non-visual user agents render header information about data cells (e.g., header information is spoken prior to the cell data), but the attribute may also be used in conjunction with style sheets.
7270 attribute headers { text }?
7271 &
7272 ## Specifies the set of data cells for which the current header cell provides header information. This attribute may be used in place of the headers attribute, particularly for simple tables.
7273 attribute scope {
7274
7275 ## The current cell provides header information for the rest of the row that contains it
7276 "row"
7277 |
7278 ## The current cell provides header information for the rest of the column that contains it.
7279 "col"
7280 |
7281 ## The header cell provides header information for the rest of the row group that contains it.
7282 "rowgroup"
7283 |
7284 ## The header cell provides header information for the rest of the column group that contains it.
7285 "colgroup"
7286 }?
7287 &
7288 ## Specifies the number of rows spanned by the current cell. The default value of this attribute is one (1
7289 ## ). The value zero (0
7290 ## ) means that the cell spans all rows from the current row to the last row of the table section (thead
7291 ## , tbody
7292 ## , or tfoot
7293 ## ) in which the cell is defined.
7294 attribute rowspan { xsd:nonNegativeInteger }?
7295 &
7296 ## Specifies the number of columns spanned by the current cell. The default value of this attribute is one (1
7297 ## ). The value zero (0
7298 ## ) means that the cell spans all columns from the current column to the last column of the column group (colgroup
7299 ## ) in which the cell is defined.
7300 attribute colspan { xsd:nonNegativeInteger }?
7301 db.html.table.info = db._info.title.forbidden
7302 db.html.table.model =
7303 db.html.table.info?,
7304 db.html.caption,
7305 (db.html.col* | db.html.colgroup*),
7306 db.html.thead?,
7307 db.html.tfoot?,
7308 (db.html.tbody+ | db.html.tr+)
7309 db.html.informaltable.info = db._info.title.forbidden
7310 db.html.informaltable.model =
7311 db.html.informaltable.info?,
7312 (db.html.col* | db.html.colgroup*),
7313 db.html.thead?,
7314 db.html.tfoot?,
7315 (db.html.tbody+ | db.html.tr+)
7316 div {
7317 db.html.table.role.attribute = attribute role { text }
7318 db.html.table.label.attribute = db.label.attribute
7319 db.html.table.attlist =
7320 db.html.attrs
7321 & db.html.table.attributes
7322 & db.html.table.role.attribute?
7323 & db.html.table.label.attribute?
7324 & db.orient.attribute?
7325 & db.pgwide.attribute?
7326 & db.tabstyle.attribute?
7327 & db.floatstyle.attribute?
7328 db.html.table =
7329
7330 ## A formal (captioned) HTML table in a document
7331 [
7332 s:pattern [
7333 name = "Element exclusion"
7334 "\x{a}" ~
7335 " "
7336 s:rule [
7337 context = "db:table"
7338 "\x{a}" ~
7339 " "
7340 s:assert [
7341 test = "not(.//db:example)"
7342 "example must not occur among the children or descendants of table"
7343 ]
7344 "\x{a}" ~
7345 " "
7346 ]
7347 "\x{a}" ~
7348 " "
7349 ]
7350 s:pattern [
7351 name = "Element exclusion"
7352 "\x{a}" ~
7353 " "
7354 s:rule [
7355 context = "db:table"
7356 "\x{a}" ~
7357 " "
7358 s:assert [
7359 test = "not(.//db:figure)"
7360 "figure must not occur among the children or descendants of table"
7361 ]
7362 "\x{a}" ~
7363 " "
7364 ]
7365 "\x{a}" ~
7366 " "
7367 ]
7368 s:pattern [
7369 name = "Element exclusion"
7370 "\x{a}" ~
7371 " "
7372 s:rule [
7373 context = "db:table"
7374 "\x{a}" ~
7375 " "
7376 s:assert [
7377 test = "not(.//db:equation)"
7378 "equation must not occur among the children or descendants of table"
7379 ]
7380 "\x{a}" ~
7381 " "
7382 ]
7383 "\x{a}" ~
7384 " "
7385 ]
7386 s:pattern [
7387 name = "Element exclusion"
7388 "\x{a}" ~
7389 " "
7390 s:rule [
7391 context = "db:table"
7392 "\x{a}" ~
7393 " "
7394 s:assert [
7395 test = "not(.//db:caution)"
7396 "caution must not occur among the children or descendants of table"
7397 ]
7398 "\x{a}" ~
7399 " "
7400 ]
7401 "\x{a}" ~
7402 " "
7403 ]
7404 s:pattern [
7405 name = "Element exclusion"
7406 "\x{a}" ~
7407 " "
7408 s:rule [
7409 context = "db:table"
7410 "\x{a}" ~
7411 " "
7412 s:assert [
7413 test = "not(.//db:important)"
7414 "important must not occur among the children or descendants of table"
7415 ]
7416 "\x{a}" ~
7417 " "
7418 ]
7419 "\x{a}" ~
7420 " "
7421 ]
7422 s:pattern [
7423 name = "Element exclusion"
7424 "\x{a}" ~
7425 " "
7426 s:rule [
7427 context = "db:table"
7428 "\x{a}" ~
7429 " "
7430 s:assert [
7431 test = "not(.//db:note)"
7432 "note must not occur among the children or descendants of table"
7433 ]
7434 "\x{a}" ~
7435 " "
7436 ]
7437 "\x{a}" ~
7438 " "
7439 ]
7440 s:pattern [
7441 name = "Element exclusion"
7442 "\x{a}" ~
7443 " "
7444 s:rule [
7445 context = "db:table"
7446 "\x{a}" ~
7447 " "
7448 s:assert [
7449 test = "not(.//db:tip)"
7450 "tip must not occur among the children or descendants of table"
7451 ]
7452 "\x{a}" ~
7453 " "
7454 ]
7455 "\x{a}" ~
7456 " "
7457 ]
7458 s:pattern [
7459 name = "Element exclusion"
7460 "\x{a}" ~
7461 " "
7462 s:rule [
7463 context = "db:table"
7464 "\x{a}" ~
7465 " "
7466 s:assert [
7467 test = "not(.//db:warning)"
7468 "warning must not occur among the children or descendants of table"
7469 ]
7470 "\x{a}" ~
7471 " "
7472 ]
7473 "\x{a}" ~
7474 " "
7475 ]
7476 ]
7477 element table { db.html.table.attlist, db.html.table.model }
7478 }
7479 div {
7480 db.html.informaltable.role.attribute = attribute role { text }
7481 db.html.informaltable.label.attribute = db.label.attribute
7482 db.html.informaltable.attlist =
7483 db.html.attrs
7484 & db.html.table.attributes
7485 & db.html.informaltable.role.attribute?
7486 & db.html.informaltable.label.attribute?
7487 & db.orient.attribute?
7488 & db.pgwide.attribute?
7489 & db.tabstyle.attribute?
7490 & db.floatstyle.attribute?
7491 db.html.informaltable =
7492
7493 ## An HTML table without a title
7494 element informaltable {
7495 db.html.informaltable.attlist, db.html.informaltable.model
7496 }
7497 }
7498 div {
7499 db.html.caption.attlist = db.html.attrs
7500 db.html.caption =
7501
7502 ## An HTML table caption
7503 [
7504 s:pattern [
7505 name = "Element exclusion"
7506 "\x{a}" ~
7507 " "
7508 s:rule [
7509 context = "db:caption"
7510 "\x{a}" ~
7511 " "
7512 s:assert [
7513 test = "not(.//db:example)"
7514 "example must not occur among the children or descendants of caption"
7515 ]
7516 "\x{a}" ~
7517 " "
7518 ]
7519 "\x{a}" ~
7520 " "
7521 ]
7522 s:pattern [
7523 name = "Element exclusion"
7524 "\x{a}" ~
7525 " "
7526 s:rule [
7527 context = "db:caption"
7528 "\x{a}" ~
7529 " "
7530 s:assert [
7531 test = "not(.//db:figure)"
7532 "figure must not occur among the children or descendants of caption"
7533 ]
7534 "\x{a}" ~
7535 " "
7536 ]
7537 "\x{a}" ~
7538 " "
7539 ]
7540 s:pattern [
7541 name = "Element exclusion"
7542 "\x{a}" ~
7543 " "
7544 s:rule [
7545 context = "db:caption"
7546 "\x{a}" ~
7547 " "
7548 s:assert [
7549 test = "not(.//db:table)"
7550 "table must not occur among the children or descendants of caption"
7551 ]
7552 "\x{a}" ~
7553 " "
7554 ]
7555 "\x{a}" ~
7556 " "
7557 ]
7558 s:pattern [
7559 name = "Element exclusion"
7560 "\x{a}" ~
7561 " "
7562 s:rule [
7563 context = "db:caption"
7564 "\x{a}" ~
7565 " "
7566 s:assert [
7567 test = "not(.//db:equation)"
7568 "equation must not occur among the children or descendants of caption"
7569 ]
7570 "\x{a}" ~
7571 " "
7572 ]
7573 "\x{a}" ~
7574 " "
7575 ]
7576 s:pattern [
7577 name = "Element exclusion"
7578 "\x{a}" ~
7579 " "
7580 s:rule [
7581 context = "db:caption"
7582 "\x{a}" ~
7583 " "
7584 s:assert [
7585 test = "not(.//db:sidebar)"
7586 "sidebar must not occur among the children or descendants of caption"
7587 ]
7588 "\x{a}" ~
7589 " "
7590 ]
7591 "\x{a}" ~
7592 " "
7593 ]
7594 s:pattern [
7595 name = "Element exclusion"
7596 "\x{a}" ~
7597 " "
7598 s:rule [
7599 context = "db:caption"
7600 "\x{a}" ~
7601 " "
7602 s:assert [
7603 test = "not(.//db:task)"
7604 "task must not occur among the children or descendants of caption"
7605 ]
7606 "\x{a}" ~
7607 " "
7608 ]
7609 "\x{a}" ~
7610 " "
7611 ]
7612 s:pattern [
7613 name = "Element exclusion"
7614 "\x{a}" ~
7615 " "
7616 s:rule [
7617 context = "db:caption"
7618 "\x{a}" ~
7619 " "
7620 s:assert [
7621 test = "not(.//db:caution)"
7622 "caution must not occur among the children or descendants of caption"
7623 ]
7624 "\x{a}" ~
7625 " "
7626 ]
7627 "\x{a}" ~
7628 " "
7629 ]
7630 s:pattern [
7631 name = "Element exclusion"
7632 "\x{a}" ~
7633 " "
7634 s:rule [
7635 context = "db:caption"
7636 "\x{a}" ~
7637 " "
7638 s:assert [
7639 test = "not(.//db:important)"
7640 "important must not occur among the children or descendants of caption"
7641 ]
7642 "\x{a}" ~
7643 " "
7644 ]
7645 "\x{a}" ~
7646 " "
7647 ]
7648 s:pattern [
7649 name = "Element exclusion"
7650 "\x{a}" ~
7651 " "
7652 s:rule [
7653 context = "db:caption"
7654 "\x{a}" ~
7655 " "
7656 s:assert [
7657 test = "not(.//db:note)"
7658 "note must not occur among the children or descendants of caption"
7659 ]
7660 "\x{a}" ~
7661 " "
7662 ]
7663 "\x{a}" ~
7664 " "
7665 ]
7666 s:pattern [
7667 name = "Element exclusion"
7668 "\x{a}" ~
7669 " "
7670 s:rule [
7671 context = "db:caption"
7672 "\x{a}" ~
7673 " "
7674 s:assert [
7675 test = "not(.//db:tip)"
7676 "tip must not occur among the children or descendants of caption"
7677 ]
7678 "\x{a}" ~
7679 " "
7680 ]
7681 "\x{a}" ~
7682 " "
7683 ]
7684 s:pattern [
7685 name = "Element exclusion"
7686 "\x{a}" ~
7687 " "
7688 s:rule [
7689 context = "db:caption"
7690 "\x{a}" ~
7691 " "
7692 s:assert [
7693 test = "not(.//db:warning)"
7694 "warning must not occur among the children or descendants of caption"
7695 ]
7696 "\x{a}" ~
7697 " "
7698 ]
7699 "\x{a}" ~
7700 " "
7701 ]
7702 ]
7703 element caption { db.html.caption.attlist, db.all.inlines* }
7704 }
7705 div {
7706 db.html.col.attlist =
7707 db.html.attrs
7708 &
7709 ## This attribute, whose value must be an integer > 0, specifies the number of columns spanned
7710 ## by the col
7711 ## element; the col
7712 ## element shares its attributes with all the columns it spans. The default value for this attribute is 1 (i.e., a single column). If the span attribute is set to N > 1, the current col
7713 ## element shares its attributes with the next N-1 columns.
7714 attribute span { xsd:nonNegativeInteger }?
7715 &
7716 ## Specifies a default width for each column spanned by the current col
7717 ## element. It has the same meaning as the width
7718 ## attribute for the colgroup
7719 ## element and overrides it.
7720 attribute width { text }?
7721 & db.html.cellhalign
7722 & db.html.cellvalign
7723 db.html.col =
7724
7725 ## Specifications for a column in an HTML table
7726 element col { db.html.col.attlist, empty }
7727 }
7728 div {
7729 db.html.colgroup.attlist =
7730 db.html.attrs
7731 &
7732 ## This attribute, which must be an integer > 0, specifies the number of columns in a column group. In the absence of a span attribute, each colgroup
7733 ## defines a column group containing one column. If the span attribute is set to N > 0, the current colgroup
7734 ## element defines a column group containing N columns. User agents must ignore this attribute if the colgroup
7735 ## element contains one or more col
7736 ## elements.
7737 attribute span { xsd:nonNegativeInteger }?
7738 &
7739 ## This attribute specifies a default width for each column in the current column group. In addition to the standard pixel, percentage, and relative values, this attribute allows the special form 0*
7740 ## (zero asterisk) which means that the width of the each column in the group should be the minimum width necessary to hold the column's contents. This implies that a column's entire contents must be known before its width may be correctly computed. Authors should be aware that specifying 0*
7741 ## will prevent visual user agents from rendering a table incrementally. This attribute is overridden for any column in the column group whose width is specified via a col
7742 ## element.
7743 attribute width { text }?
7744 & db.html.cellhalign
7745 & db.html.cellvalign
7746 db.html.colgroup =
7747
7748 ## A group of columns in an HTML table
7749 element colgroup { db.html.colgroup.attlist, db.html.col* }
7750 }
7751 div {
7752 db.html.thead.attlist =
7753 db.html.attrs & db.html.cellhalign & db.html.cellvalign
7754 db.html.thead =
7755
7756 ## A table header consisting of one or more rows in an HTML table
7757 element thead { db.html.thead.attlist, db.html.tr+ }
7758 }
7759 div {
7760 db.html.tfoot.attlist =
7761 db.html.attrs & db.html.cellhalign & db.html.cellvalign
7762 db.html.tfoot =
7763
7764 ## A table footer consisting of one or more rows in an HTML table
7765 element tfoot { db.html.tfoot.attlist, db.html.tr+ }
7766 }
7767 div {
7768 db.html.tbody.attlist =
7769 db.html.attrs & db.html.cellhalign & db.html.cellvalign
7770 db.html.tbody =
7771
7772 ## A wrapper for the rows of an HTML table or informal HTML table
7773 element tbody { db.html.tbody.attlist, db.html.tr+ }
7774 }
7775 div {
7776 db.html.tr.attlist =
7777 db.html.attrs & db.html.cellhalign & db.html.cellvalign
7778 db.html.tr =
7779
7780 ## A row in an HTML table
7781 element tr { db.html.tr.attlist, (db.html.th | db.html.td)+ }
7782 }
7783 div {
7784 db.html.th.attlist =
7785 db.html.attrs
7786 & db.html.tablecell.attributes
7787 & db.html.cellhalign
7788 & db.html.cellvalign
7789 db.html.th =
7790
7791 ## A table header entry in an HTML table
7792 element th {
7793 db.html.th.attlist, (db.all.inlines* | db.all.blocks*)
7794 }
7795 }
7796 div {
7797 db.html.td.attlist =
7798 db.html.attrs
7799 & db.html.tablecell.attributes
7800 & db.html.cellhalign
7801 & db.html.cellvalign
7802 db.html.td =
7803
7804 ## A table entry in an HTML table
7805 element td {
7806 db.html.td.attlist, (db.all.inlines* | db.all.blocks*)
7807 }
7808 }
7809 div {
7810 db.msgset.role.attribute = attribute role { text }
7811 db.msgset.attlist =
7812 db.msgset.role.attribute?
7813 & db.common.attributes
7814 & db.common.linking.attributes
7815 db.msgset.info = db._info.title.only
7816 db.msgset =
7817
7818 ## A detailed set of messages, usually error messages
7819 element msgset {
7820 db.msgset.attlist,
7821 db.msgset.info,
7822 (db.msgentry+ | db.simplemsgentry+)
7823 }
7824 }
7825 div {
7826 db.msgentry.role.attribute = attribute role { text }
7827 db.msgentry.attlist =
7828 db.msgentry.role.attribute?
7829 & db.common.attributes
7830 & db.common.linking.attributes
7831 db.msgentry =
7832
7833 ## A wrapper for an entry in a message set
7834 element msgentry {
7835 db.msgentry.attlist, db.msg+, db.msginfo?, db.msgexplan*
7836 }
7837 }
7838 div {
7839 db.simplemsgentry.role.attribute = attribute role { text }
7840 db.simplemsgentry.msgaud.attribute =
7841
7842 ## The audience to which the message relevant
7843 attribute msgaud { text }
7844 db.simplemsgentry.msgorig.attribute =
7845
7846 ## The origin of the message
7847 attribute msgorig { text }
7848 db.simplemsgentry.msglevel.attribute =
7849
7850 ## The level of importance or severity of a message
7851 attribute msglevel { text }
7852 db.simplemsgentry.attlist =
7853 db.simplemsgentry.role.attribute?
7854 & db.common.attributes
7855 & db.common.linking.attributes
7856 & db.simplemsgentry.msgaud.attribute?
7857 & db.simplemsgentry.msgorig.attribute?
7858 & db.simplemsgentry.msglevel.attribute?
7859 db.simplemsgentry =
7860
7861 ## A wrapper for a simpler entry in a message set
7862 element simplemsgentry {
7863 db.simplemsgentry.attlist, db.msgtext, db.msgexplan+
7864 }
7865 }
7866 div {
7867 db.msg.role.attribute = attribute role { text }
7868 db.msg.attlist =
7869 db.msg.role.attribute?
7870 & db.common.attributes
7871 & db.common.linking.attributes
7872 db.msg.info = db._info.title.only
7873 db.msg =
7874
7875 ## A message in a message set
7876 element msg {
7877 db.msg.attlist, db.msg.info, db.msgmain, (db.msgsub | db.msgrel)*
7878 }
7879 }
7880 div {
7881 db.msgmain.role.attribute = attribute role { text }
7882 db.msgmain.attlist =
7883 db.msgmain.role.attribute?
7884 & db.common.attributes
7885 & db.common.linking.attributes
7886 db.msgmain.info = db._info.title.only
7887 db.msgmain =
7888
7889 ## The primary component of a message in a message set
7890 element msgmain { db.msgmain.attlist, db.msgmain.info, db.msgtext }
7891 }
7892 div {
7893 db.msgsub.role.attribute = attribute role { text }
7894 db.msgsub.attlist =
7895 db.msgsub.role.attribute?
7896 & db.common.attributes
7897 & db.common.linking.attributes
7898 db.msgsub.info = db._info.title.only
7899 db.msgsub =
7900
7901 ## A subcomponent of a message in a message set
7902 element msgsub { db.msgsub.attlist, db.msgsub.info, db.msgtext }
7903 }
7904 div {
7905 db.msgrel.role.attribute = attribute role { text }
7906 db.msgrel.attlist =
7907 db.msgrel.role.attribute?
7908 & db.common.attributes
7909 & db.common.linking.attributes
7910 db.msgrel.info = db._info.title.only
7911 db.msgrel =
7912
7913 ## A related component of a message in a message set
7914 element msgrel { db.msgrel.attlist, db.msgrel.info, db.msgtext }
7915 }
7916 div {
7917 db.msgtext.role.attribute = attribute role { text }
7918 db.msgtext.attlist =
7919 db.msgtext.role.attribute?
7920 & db.common.attributes
7921 & db.common.linking.attributes
7922 db.msgtext =
7923
7924 ## The actual text of a message component in a message set
7925 element msgtext { db.msgtext.attlist, db.all.blocks+ }
7926 }
7927 div {
7928 db.msginfo.role.attribute = attribute role { text }
7929 db.msginfo.attlist =
7930 db.msginfo.role.attribute?
7931 & db.common.attributes
7932 & db.common.linking.attributes
7933 db.msginfo =
7934
7935 ## Information about a message in a message set
7936 element msginfo {
7937 db.msginfo.attlist, (db.msglevel | db.msgorig | db.msgaud)*
7938 }
7939 }
7940 div {
7941 db.msglevel.role.attribute = attribute role { text }
7942 db.msglevel.attlist =
7943 db.msglevel.role.attribute?
7944 & db.common.attributes
7945 & db.common.linking.attributes
7946 db.msglevel =
7947
7948 ## The level of importance or severity of a message in a message set
7949 element msglevel { db.msglevel.attlist, db._text }
7950 }
7951 div {
7952 db.msgorig.role.attribute = attribute role { text }
7953 db.msgorig.attlist =
7954 db.msgorig.role.attribute?
7955 & db.common.attributes
7956 & db.common.linking.attributes
7957 db.msgorig =
7958
7959 ## The origin of a message in a message set
7960 element msgorig { db.msgorig.attlist, db._text }
7961 }
7962 div {
7963 db.msgaud.role.attribute = attribute role { text }
7964 db.msgaud.attlist =
7965 db.msgaud.role.attribute?
7966 & db.common.attributes
7967 & db.common.linking.attributes
7968 db.msgaud =
7969
7970 ## The audience to which a message in a message set is relevant
7971 element msgaud { db.msgaud.attlist, db._text }
7972 }
7973 div {
7974 db.msgexplan.role.attribute = attribute role { text }
7975 db.msgexplan.attlist =
7976 db.msgexplan.role.attribute?
7977 & db.common.attributes
7978 & db.common.linking.attributes
7979 db.msgexplan.info = db._info.title.only
7980 db.msgexplan =
7981
7982 ## Explanatory material relating to a message in a message set
7983 element msgexplan {
7984 db.msgexplan.attlist, db.msgexplan.info, db.all.blocks+
7985 }
7986 }
7987 div {
7988 db.qandaset.role.attribute = attribute role { text }
7989 db.qandaset.defaultlabel.enumeration =
7990
7991 ## No labels
7992 "none"
7993 |
7994 ## Numeric labels
7995 "number"
7996 |
7997 ## "Q:" and "A:" labels
7998 "qanda"
7999 db.qandaset.defaultlabel.attribute =
8000
8001 ## Specifies the default labelling
8002 attribute defaultlabel { db.qandaset.defaultlabel.enumeration }
8003 db.qandaset.attlist =
8004 db.qandaset.role.attribute?
8005 & db.common.attributes
8006 & db.common.linking.attributes
8007 & db.qandaset.defaultlabel.attribute?
8008 db.qandaset.info = db._info.title.only
8009 db.qandaset =
8010
8011 ## A question-and-answer set
8012 element qandaset {
8013 db.qandaset.attlist,
8014 db.qandaset.info,
8015 db.all.blocks*,
8016 (db.qandadiv+ | db.qandaentry+)
8017 }
8018 }
8019 div {
8020 db.qandadiv.role.attribute = attribute role { text }
8021 db.qandadiv.attlist =
8022 db.qandadiv.role.attribute?
8023 & db.common.attributes
8024 & db.common.linking.attributes
8025 db.qandadiv.info = db._info.title.only
8026 db.qandadiv =
8027
8028 ## A titled division in a qandaset
8029 element qandadiv {
8030 db.qandadiv.attlist,
8031 db.qandadiv.info,
8032 db.all.blocks*,
8033 (db.qandadiv+ | db.qandaentry+)
8034 }
8035 }
8036 div {
8037 db.qandaentry.role.attribute = attribute role { text }
8038 db.qandaentry.attlist =
8039 db.qandaentry.role.attribute?
8040 & db.common.attributes
8041 & db.common.linking.attributes
8042 db.qandaentry.info = db._info.title.only
8043 db.qandaentry =
8044
8045 ## A question/answer set within a qandaset
8046 element qandaentry {
8047 db.qandaentry.attlist, db.qandaentry.info, db.question, db.answer*
8048 }
8049 }
8050 div {
8051 db.question.role.attribute = attribute role { text }
8052 db.question.attlist =
8053 db.question.role.attribute?
8054 & db.common.attributes
8055 & db.common.linking.attributes
8056 db.question =
8057
8058 ## A question in a qandaset
8059 element question { db.question.attlist, db.label?, db.all.blocks+ }
8060 }
8061 div {
8062 db.answer.role.attribute = attribute role { text }
8063 db.answer.attlist =
8064 db.answer.role.attribute?
8065 & db.common.attributes
8066 & db.common.linking.attributes
8067 db.answer =
8068
8069 ## An answer to a question posed in a qandaset
8070 element answer { db.answer.attlist, db.label?, db.all.blocks+ }
8071 }
8072 div {
8073 db.label.role.attribute = attribute role { text }
8074 db.label.attlist =
8075 db.label.role.attribute?
8076 & db.common.attributes
8077 & db.common.linking.attributes
8078 db.label =
8079
8080 ## A label on a question or answer
8081 element label { db.label.attlist, db._text }
8082 }
8083 db.math.inlines = db.inlineequation
8084 db.equation.content = (db.mediaobject+ | db.mathphrase+) | db._any.mml+
8085 db.inlineequation.content =
8086 (db.inlinemediaobject+ | db.mathphrase+) | db._any.mml+
8087 div {
8088 db.equation.role.attribute = attribute role { text }
8089 db.equation.label.attribute = db.label.attribute
8090 db.equation.attlist =
8091 db.equation.role.attribute?
8092 & db.common.attributes
8093 & db.common.linking.attributes
8094 & db.equation.label.attribute?
8095 & db.pgwide.attribute?
8096 & db.floatstyle.attribute?
8097 db.equation.info = db._info.title.only
8098 db.equation =
8099
8100 ## A displayed mathematical equation
8101 [
8102 s:pattern [
8103 name = "Element exclusion"
8104 "\x{a}" ~
8105 " "
8106 s:rule [
8107 context = "db:equation"
8108 "\x{a}" ~
8109 " "
8110 s:assert [
8111 test = "not(.//db:example)"
8112 "example must not occur among the children or descendants of equation"
8113 ]
8114 "\x{a}" ~
8115 " "
8116 ]
8117 "\x{a}" ~
8118 " "
8119 ]
8120 s:pattern [
8121 name = "Element exclusion"
8122 "\x{a}" ~
8123 " "
8124 s:rule [
8125 context = "db:equation"
8126 "\x{a}" ~
8127 " "
8128 s:assert [
8129 test = "not(.//db:figure)"
8130 "figure must not occur among the children or descendants of equation"
8131 ]
8132 "\x{a}" ~
8133 " "
8134 ]
8135 "\x{a}" ~
8136 " "
8137 ]
8138 s:pattern [
8139 name = "Element exclusion"
8140 "\x{a}" ~
8141 " "
8142 s:rule [
8143 context = "db:equation"
8144 "\x{a}" ~
8145 " "
8146 s:assert [
8147 test = "not(.//db:table)"
8148 "table must not occur among the children or descendants of equation"
8149 ]
8150 "\x{a}" ~
8151 " "
8152 ]
8153 "\x{a}" ~
8154 " "
8155 ]
8156 s:pattern [
8157 name = "Element exclusion"
8158 "\x{a}" ~
8159 " "
8160 s:rule [
8161 context = "db:equation"
8162 "\x{a}" ~
8163 " "
8164 s:assert [
8165 test = "not(.//db:equation)"
8166 "equation must not occur among the children or descendants of equation"
8167 ]
8168 "\x{a}" ~
8169 " "
8170 ]
8171 "\x{a}" ~
8172 " "
8173 ]
8174 s:pattern [
8175 name = "Element exclusion"
8176 "\x{a}" ~
8177 " "
8178 s:rule [
8179 context = "db:equation"
8180 "\x{a}" ~
8181 " "
8182 s:assert [
8183 test = "not(.//db:caution)"
8184 "caution must not occur among the children or descendants of equation"
8185 ]
8186 "\x{a}" ~
8187 " "
8188 ]
8189 "\x{a}" ~
8190 " "
8191 ]
8192 s:pattern [
8193 name = "Element exclusion"
8194 "\x{a}" ~
8195 " "
8196 s:rule [
8197 context = "db:equation"
8198 "\x{a}" ~
8199 " "
8200 s:assert [
8201 test = "not(.//db:important)"
8202 "important must not occur among the children or descendants of equation"
8203 ]
8204 "\x{a}" ~
8205 " "
8206 ]
8207 "\x{a}" ~
8208 " "
8209 ]
8210 s:pattern [
8211 name = "Element exclusion"
8212 "\x{a}" ~
8213 " "
8214 s:rule [
8215 context = "db:equation"
8216 "\x{a}" ~
8217 " "
8218 s:assert [
8219 test = "not(.//db:note)"
8220 "note must not occur among the children or descendants of equation"
8221 ]
8222 "\x{a}" ~
8223 " "
8224 ]
8225 "\x{a}" ~
8226 " "
8227 ]
8228 s:pattern [
8229 name = "Element exclusion"
8230 "\x{a}" ~
8231 " "
8232 s:rule [
8233 context = "db:equation"
8234 "\x{a}" ~
8235 " "
8236 s:assert [
8237 test = "not(.//db:tip)"
8238 "tip must not occur among the children or descendants of equation"
8239 ]
8240 "\x{a}" ~
8241 " "
8242 ]
8243 "\x{a}" ~
8244 " "
8245 ]
8246 s:pattern [
8247 name = "Element exclusion"
8248 "\x{a}" ~
8249 " "
8250 s:rule [
8251 context = "db:equation"
8252 "\x{a}" ~
8253 " "
8254 s:assert [
8255 test = "not(.//db:warning)"
8256 "warning must not occur among the children or descendants of equation"
8257 ]
8258 "\x{a}" ~
8259 " "
8260 ]
8261 "\x{a}" ~
8262 " "
8263 ]
8264 ]
8265 element equation {
8266 db.equation.attlist,
8267 db.equation.info,
8268 db.alt?,
8269 db.equation.content,
8270 db.caption?
8271 }
8272 }
8273 div {
8274 db.informalequation.role.attribute = attribute role { text }
8275 db.informalequation.attlist =
8276 db.informalequation.role.attribute?
8277 & db.common.attributes
8278 & db.common.linking.attributes
8279 & db.pgwide.attribute?
8280 & db.floatstyle.attribute?
8281 db.informalequation.info = db._info.title.forbidden
8282 db.informalequation =
8283
8284 ## A displayed mathematical equation without a title
8285 element informalequation {
8286 db.informalequation.attlist,
8287 db.informalequation.info,
8288 db.alt?,
8289 db.equation.content,
8290 db.caption?
8291 }
8292 }
8293 div {
8294 db.inlineequation.role.attribute = attribute role { text }
8295 db.inlineequation.attlist =
8296 db.inlineequation.role.attribute?
8297 & db.common.attributes
8298 & db.common.linking.attributes
8299 db.inlineequation =
8300
8301 ## A mathematical equation or expression occurring inline
8302 element inlineequation {
8303 db.inlineequation.attlist, db.alt?, db.inlineequation.content
8304 }
8305 }
8306 div {
8307 db.mathphrase.role.attribute = attribute role { text }
8308 db.mathphrase.attlist =
8309 db.mathphrase.role.attribute?
8310 & db.common.attributes
8311 & db.common.linking.attributes
8312 db.mathphrase =
8313
8314 ## A mathematical phrase that can be represented with ordinary text and a small amount of markup
8315 element mathphrase {
8316 db.mathphrase.attlist,
8317 (db._text | db.ubiq.inlines | db._emphasis)*
8318 }
8319 }
8320 db.imagedata.mathml.content = db._any.mml
8321 div {
8322 db.imagedata.mathml.role.attribute = attribute role { text }
8323 db.imagedata.mathml.attlist =
8324 db.imagedata.mathml.role.attribute?
8325 & db.common.attributes
8326 &
8327 ## Specifies that the format of the data is MathML
8328 attribute format {
8329
8330 ## Specifies MathML.
8331 "mathml"
8332 }?
8333 & db.imagedata.align.attribute?
8334 & db.imagedata.valign.attribute?
8335 & db.imagedata.width.attribute?
8336 & db.imagedata.contentwidth.attribute?
8337 & db.imagedata.scalefit.attribute?
8338 & db.imagedata.scale.attribute?
8339 & db.imagedata.depth.attribute?
8340 & db.imagedata.contentdepth.attribute?
8341 db.imagedata.mathml.info = db._info.title.forbidden
8342 db.imagedata.mathml =
8343
8344 ## A MathML expression in a media object
8345 element imagedata {
8346 db.imagedata.mathml.attlist,
8347 db.imagedata.mathml.info,
8348 db.imagedata.mathml.content+
8349 }
8350 }
8351 div {
8352 db._any.mml =
8353
8354 ## Any element from the MathML namespace
8355 element mml:* { (db._any.attribute | text | db._any)* }
8356 }
8357 db.imagedata.svg.content = db._any.svg
8358 div {
8359 db.imagedata.svg.role.attribute = attribute role { text }
8360 db.imagedata.svg.attlist =
8361 db.imagedata.svg.role.attribute?
8362 & db.common.attributes
8363 &
8364 ## Specifies that the format of the data is SVG
8365 attribute format {
8366
8367 ## Specifies SVG.
8368 "svg"
8369 }?
8370 & db.imagedata.align.attribute?
8371 & db.imagedata.valign.attribute?
8372 & db.imagedata.width.attribute?
8373 & db.imagedata.contentwidth.attribute?
8374 & db.imagedata.scalefit.attribute?
8375 & db.imagedata.scale.attribute?
8376 & db.imagedata.depth.attribute?
8377 & db.imagedata.contentdepth.attribute?
8378 db.imagedata.svg.info = db._info.title.forbidden
8379 db.imagedata.svg =
8380
8381 ## An SVG drawing in a media object
8382 element imagedata {
8383 db.imagedata.svg.attlist,
8384 db.imagedata.svg.info,
8385 db.imagedata.svg.content+
8386 }
8387 }
8388 div {
8389 db._any.svg =
8390
8391 ## Any element from the SVG namespace
8392 element svg:* { (db._any.attribute | text | db._any)* }
8393 }
8394 db.markup.inlines =
8395 db.tag
8396 | db.markup
8397 | db.token
8398 | db.symbol
8399 | db.literal
8400 | db.code
8401 | db.constant
8402 | db.email
8403 | db.uri
8404 div {
8405 db.markup.role.attribute = attribute role { text }
8406 db.markup.attlist =
8407 db.markup.role.attribute?
8408 & db.common.attributes
8409 & db.common.linking.attributes
8410 db.markup =
8411
8412 ## A string of formatting markup in text that is to be represented literally
8413 element markup { db.markup.attlist, db._text }
8414 }
8415 div {
8416 db.tag.role.attribute = attribute role { text }
8417 db.tag.class.enumeration =
8418
8419 ## An attribute
8420 "attribute"
8421 |
8422 ## An attribute value
8423 "attvalue"
8424 |
8425 ## An element
8426 "element"
8427 |
8428 ## An empty element tag
8429 "emptytag"
8430 |
8431 ## An end tag
8432 "endtag"
8433 |
8434 ## A general entity
8435 "genentity"
8436 |
8437 ## The local name part of a qualified name
8438 "localname"
8439 |
8440 ## A namespace
8441 "namespace"
8442 |
8443 ## A numeric character reference
8444 "numcharref"
8445 |
8446 ## A parameter entity
8447 "paramentity"
8448 |
8449 ## A processing instruction
8450 "pi"
8451 |
8452 ## The prefix part of a qualified name
8453 "prefix"
8454 |
8455 ## An SGML comment
8456 "comment"
8457 |
8458 ## A start tag
8459 "starttag"
8460 |
8461 ## An XML processing instruction
8462 "xmlpi"
8463 db.tag.class.attribute =
8464
8465 ## Identifies the nature of the tag content
8466 attribute class { db.tag.class.enumeration }
8467 db.tag.namespace.attribute =
8468
8469 ## Identifies the namespace of the tag content
8470 attribute namespace { xsd:anyURI }
8471 db.tag.attlist =
8472 db.tag.role.attribute?
8473 & db.common.attributes
8474 & db.common.linking.attributes
8475 & db.tag.class.attribute?
8476 & db.tag.namespace.attribute?
8477 db.tag =
8478
8479 ## A component of XML (or SGML) markup
8480 element tag { db.tag.attlist, (db._text | db.tag)* }
8481 }
8482 div {
8483 db.symbol.class.attribute =
8484
8485 ## Identifies the class of symbol
8486 attribute class {
8487
8488 ## The value is a limit of some kind
8489 "limit"
8490 }
8491 db.symbol.role.attribute = attribute role { text }
8492 db.symbol.attlist =
8493 db.symbol.role.attribute?
8494 & db.common.attributes
8495 & db.common.linking.attributes
8496 & db.symbol.class.attribute?
8497 db.symbol =
8498
8499 ## A name that is replaced by a value before processing
8500 element symbol { db.symbol.attlist, db._text }
8501 }
8502 div {
8503 db.token.role.attribute = attribute role { text }
8504 db.token.attlist =
8505 db.token.role.attribute?
8506 & db.common.attributes
8507 & db.common.linking.attributes
8508 db.token =
8509
8510 ## A unit of information
8511 element token { db.token.attlist, db._text }
8512 }
8513 div {
8514 db.literal.role.attribute = attribute role { text }
8515 db.literal.attlist =
8516 db.literal.role.attribute?
8517 & db.common.attributes
8518 & db.common.linking.attributes
8519 db.literal =
8520
8521 ## Inline text that is some literal value
8522 element literal { db.literal.attlist, db._text }
8523 }
8524 div {
8525 code.language.attribute =
8526
8527 ## Identifies the (computer) language of the code fragment
8528 attribute language { text }
8529 db.code.role.attribute = attribute role { text }
8530 db.code.attlist =
8531 db.code.role.attribute?
8532 & db.common.attributes
8533 & db.common.linking.attributes
8534 & code.language.attribute?
8535 db.code =
8536
8537 ## An inline code fragment
8538 element code {
8539 db.code.attlist, (db.programming.inlines | db._text)*
8540 }
8541 }
8542 div {
8543 db.constant.class.attribute =
8544
8545 ## Identifies the class of constant
8546 attribute class {
8547
8548 ## The value is a limit of some kind
8549 "limit"
8550 }
8551 db.constant.role.attribute = attribute role { text }
8552 db.constant.attlist =
8553 db.constant.role.attribute?
8554 & db.common.attributes
8555 & db.common.linking.attributes
8556 & db.constant.class.attribute?
8557 db.constant =
8558
8559 ## A programming or system constant
8560 element constant { db.constant.attlist, db._text }
8561 }
8562 div {
8563 db.productname.role.attribute = attribute role { text }
8564 db.productname.class.enumeration =
8565
8566 ## A name with a copyright
8567 "copyright"
8568 |
8569 ## A name with a registered copyright
8570 "registered"
8571 |
8572 ## A name of a service
8573 "service"
8574 |
8575 ## A name which is trademarked
8576 "trade"
8577 db.productname.class.attribute =
8578
8579 ## Specifies the class of product name
8580 attribute class { db.productname.class.enumeration }
8581 db.productname.attlist =
8582 db.productname.role.attribute?
8583 & db.common.attributes
8584 & db.common.linking.attributes
8585 & db.productname.class.attribute?
8586 db.productname =
8587
8588 ## The formal name of a product
8589 element productname { db.productname.attlist, db._text }
8590 }
8591 div {
8592 db.productnumber.role.attribute = attribute role { text }
8593 db.productnumber.attlist =
8594 db.productnumber.role.attribute?
8595 & db.common.attributes
8596 & db.common.linking.attributes
8597 db.productnumber =
8598
8599 ## A number assigned to a product
8600 element productnumber { db.productnumber.attlist, db._text }
8601 }
8602 div {
8603 db.database.class.enumeration =
8604
8605 ## An alternate or secondary key
8606 "altkey"
8607 |
8608 ## A constraint
8609 "constraint"
8610 |
8611 ## A data type
8612 "datatype"
8613 |
8614 ## A field
8615 "field"
8616 |
8617 ## A foreign key
8618 "foreignkey"
8619 |
8620 ## A group
8621 "group"
8622 |
8623 ## An index
8624 "index"
8625 |
8626 ## The first or primary key
8627 "key1"
8628 |
8629 ## An alternate or secondary key
8630 "key2"
8631 |
8632 ## A name
8633 "name"
8634 |
8635 ## The primary key
8636 "primarykey"
8637 |
8638 ## A (stored) procedure
8639 "procedure"
8640 |
8641 ## A record
8642 "record"
8643 |
8644 ## A rule
8645 "rule"
8646 |
8647 ## The secondary key
8648 "secondarykey"
8649 |
8650 ## A table
8651 "table"
8652 |
8653 ## A user
8654 "user"
8655 |
8656 ## A view
8657 "view"
8658 db.database.class.attribute =
8659
8660 ## Identifies the class of database artifact
8661 attribute class { db.database.class.enumeration }
8662 db.database.role.attribute = attribute role { text }
8663 db.database.attlist =
8664 db.database.role.attribute?
8665 & db.common.attributes
8666 & db.common.linking.attributes
8667 & db.database.class.attribute?
8668 db.database =
8669
8670 ## The name of a database, or part of a database
8671 element database { db.database.attlist, db._text }
8672 }
8673 div {
8674 db.application.class.enumeration =
8675
8676 ## A hardware application
8677 "hardware"
8678 |
8679 ## A software application
8680 "software"
8681 db.application.class.attribute =
8682
8683 ## Identifies the class of application
8684 attribute class { db.application.class.enumeration }
8685 db.application.role.attribute = attribute role { text }
8686 db.application.attlist =
8687 db.application.role.attribute?
8688 & db.common.attributes
8689 & db.common.linking.attributes
8690 & db.application.class.attribute?
8691 db.application =
8692
8693 ## The name of a software program
8694 element application { db.application.attlist, db._text }
8695 }
8696 div {
8697 db.hardware.role.attribute = attribute role { text }
8698 db.hardware.attlist =
8699 db.hardware.role.attribute?
8700 & db.common.attributes
8701 & db.common.linking.attributes
8702 db.hardware =
8703
8704 ## A physical part of a computer system
8705 element hardware { db.hardware.attlist, db._text }
8706 }
8707 db.gui.inlines =
8708 db.guiicon
8709 | db.guibutton
8710 | db.guimenuitem
8711 | db.guimenu
8712 | db.guisubmenu
8713 | db.guilabel
8714 | db.menuchoice
8715 | db.mousebutton
8716 div {
8717 db.guibutton.role.attribute = attribute role { text }
8718 db.guibutton.attlist =
8719 db.guibutton.role.attribute?
8720 & db.common.attributes
8721 & db.common.linking.attributes
8722 db.guibutton =
8723
8724 ## The text on a button in a GUI
8725 element guibutton {
8726 db.guibutton.attlist,
8727 (db._text | db.accel | db.superscript | db.subscript)*
8728 }
8729 }
8730 div {
8731 db.guiicon.role.attribute = attribute role { text }
8732 db.guiicon.attlist =
8733 db.guiicon.role.attribute?
8734 & db.common.attributes
8735 & db.common.linking.attributes
8736 db.guiicon =
8737
8738 ## Graphic and/or text appearing as a icon in a GUI
8739 element guiicon {
8740 db.guiicon.attlist,
8741 (db._text | db.accel | db.superscript | db.subscript)*
8742 }
8743 }
8744 div {
8745 db.guilabel.role.attribute = attribute role { text }
8746 db.guilabel.attlist =
8747 db.guilabel.role.attribute?
8748 & db.common.attributes
8749 & db.common.linking.attributes
8750 db.guilabel =
8751
8752 ## The text of a label in a GUI
8753 element guilabel {
8754 db.guilabel.attlist,
8755 (db._text | db.accel | db.superscript | db.subscript)*
8756 }
8757 }
8758 div {
8759 db.guimenu.role.attribute = attribute role { text }
8760 db.guimenu.attlist =
8761 db.guimenu.role.attribute?
8762 & db.common.attributes
8763 & db.common.linking.attributes
8764 db.guimenu =
8765
8766 ## The name of a menu in a GUI
8767 element guimenu {
8768 db.guimenu.attlist,
8769 (db._text | db.accel | db.superscript | db.subscript)*
8770 }
8771 }
8772 div {
8773 db.guimenuitem.role.attribute = attribute role { text }
8774 db.guimenuitem.attlist =
8775 db.guimenuitem.role.attribute?
8776 & db.common.attributes
8777 & db.common.linking.attributes
8778 db.guimenuitem =
8779
8780 ## The name of a terminal menu item in a GUI
8781 element guimenuitem {
8782 db.guimenuitem.attlist,
8783 (db._text | db.accel | db.superscript | db.subscript)*
8784 }
8785 }
8786 div {
8787 db.guisubmenu.role.attribute = attribute role { text }
8788 db.guisubmenu.attlist =
8789 db.guisubmenu.role.attribute?
8790 & db.common.attributes
8791 & db.common.linking.attributes
8792 db.guisubmenu =
8793
8794 ## The name of a submenu in a GUI
8795 element guisubmenu {
8796 db.guisubmenu.attlist,
8797 (db._text | db.accel | db.superscript | db.subscript)*
8798 }
8799 }
8800 div {
8801 db.menuchoice.role.attribute = attribute role { text }
8802 db.menuchoice.attlist =
8803 db.menuchoice.role.attribute?
8804 & db.common.attributes
8805 & db.common.linking.attributes
8806 db.menuchoice =
8807
8808 ## A selection or series of selections from a menu
8809 element menuchoice {
8810 db.menuchoice.attlist,
8811 db.shortcut?,
8812 (db.guibutton
8813 | db.guiicon
8814 | db.guilabel
8815 | db.guimenu
8816 | db.guimenuitem
8817 | db.guisubmenu)+
8818 }
8819 }
8820 div {
8821 db.mousebutton.role.attribute = attribute role { text }
8822 db.mousebutton.attlist =
8823 db.mousebutton.role.attribute?
8824 & db.common.attributes
8825 & db.common.linking.attributes
8826 db.mousebutton =
8827
8828 ## The conventional name of a mouse button
8829 element mousebutton { db.mousebutton.attlist, db._text }
8830 }
8831 db.keyboard.inlines =
8832 db.keycombo
8833 | db.keycap
8834 | db.keycode
8835 | db.keysym
8836 | db.shortcut
8837 | db.accel
8838 div {
8839 db.keycap.function.enumeration =
8840
8841 ## The "Alt" key
8842 "alt"
8843 |
8844 ## The "Backspace" key
8845 "backspace"
8846 |
8847 ## The "Command" key
8848 "command"
8849 |
8850 ## The "Control" key
8851 "control"
8852 |
8853 ## The "Delete" key
8854 "delete"
8855 |
8856 ## The down arrow
8857 "down"
8858 |
8859 ## The "End" key
8860 "end"
8861 |
8862 ## The "Enter" or "Return" key
8863 "enter"
8864 |
8865 ## The "Escape" key
8866 "escape"
8867 |
8868 ## The "Home" key
8869 "home"
8870 |
8871 ## The "Insert" key
8872 "insert"
8873 |
8874 ## The left arrow
8875 "left"
8876 |
8877 ## The "Meta" key
8878 "meta"
8879 |
8880 ## The "Option" key
8881 "option"
8882 |
8883 ## The page down key
8884 "pagedown"
8885 |
8886 ## The page up key
8887 "pageup"
8888 |
8889 ## The right arrow
8890 "right"
8891 |
8892 ## The "Shift" key
8893 "shift"
8894 |
8895 ## The spacebar
8896 "space"
8897 |
8898 ## The "Tab" key
8899 "tab"
8900 |
8901 ## The up arrow
8902 "up"
8903 db.keycap.function-enum.attribute =
8904
8905 ## Identifies the function key
8906 attribute function { db.keycap.function.enumeration }?
8907 db.keycap.function-other.attributes =
8908
8909 ## Identifies the function key
8910 attribute function {
8911
8912 ## Indicates a non-standard function key
8913 "other"
8914 }?,
8915
8916 ## Specifies a keyword that identifies the non-standard key
8917 attribute otherfunction { text }
8918 db.keycap.function.attrib =
8919 db.keycap.function-enum.attribute
8920 | db.keycap.function-other.attributes
8921 db.keycap.role.attribute = attribute role { text }
8922 db.keycap.attlist =
8923 db.keycap.role.attribute?
8924 & db.common.attributes
8925 & db.common.linking.attributes
8926 & db.keycap.function.attrib
8927 db.keycap =
8928
8929 ## The text printed on a key on a keyboard
8930 element keycap { db.keycap.attlist, db._text }
8931 }
8932 div {
8933 db.keycode.role.attribute = attribute role { text }
8934 db.keycode.attlist =
8935 db.keycode.role.attribute?
8936 & db.common.attributes
8937 & db.common.linking.attributes
8938 db.keycode =
8939
8940 ## The internal, frequently numeric, identifier for a key on a keyboard
8941 element keycode { db.keycode.attlist, db._text }
8942 }
8943 db.keycombination.contentmodel =
8944 (db.keycap | db.keycombo | db.keysym) | db.mousebutton
8945 div {
8946 db.keycombo.action.enumeration =
8947
8948 ## A (single) mouse click.
8949 "click"
8950 |
8951 ## A double mouse click.
8952 "double-click"
8953 |
8954 ## A mouse or key press.
8955 "press"
8956 |
8957 ## Sequential clicks or presses.
8958 "seq"
8959 |
8960 ## Simultaneous clicks or presses.
8961 "simul"
8962 db.keycombo.action-enum.attribute =
8963
8964 ## Identifies the nature of the action taken. If keycombo
8965 ## contains more than one element, simul
8966 ## is the default, otherwise there is no default.
8967 attribute action { db.keycombo.action.enumeration }?
8968 db.keycombo.action-other.attributes =
8969
8970 ## Identifies the nature of the action taken
8971 attribute action {
8972
8973 ## Indicates a non-standard action
8974 "other"
8975 }?,
8976
8977 ## Identifies the non-standard action in some unspecified way.
8978 attribute otheraction { text }
8979 db.keycombo.action.attrib =
8980 db.keycombo.action-enum.attribute
8981 | db.keycombo.action-other.attributes
8982 db.keycombo.role.attribute = attribute role { text }
8983 db.keycombo.attlist =
8984 db.keycombo.role.attribute?
8985 & db.common.attributes
8986 & db.common.linking.attributes
8987 & db.keycombo.action.attrib
8988 db.keycombo =
8989
8990 ## A combination of input actions
8991 element keycombo {
8992 db.keycombo.attlist, db.keycombination.contentmodel+
8993 }
8994 }
8995 div {
8996 db.keysym.role.attribute = attribute role { text }
8997 db.keysym.attlist =
8998 db.keysym.role.attribute?
8999 & db.common.attributes
9000 & db.common.linking.attributes
9001 db.keysym =
9002
9003 ## The symbolic name of a key on a keyboard
9004 element keysym { db.keysym.attlist, db._text }
9005 }
9006 div {
9007 db.accel.role.attribute = attribute role { text }
9008 db.accel.attlist =
9009 db.accel.role.attribute?
9010 & db.common.attributes
9011 & db.common.linking.attributes
9012 db.accel =
9013
9014 ## A graphical user interface (GUI) keyboard shortcut
9015 element accel { db.accel.attlist, db._text }
9016 }
9017 div {
9018 db.shortcut.action.attrib = db.keycombo.action.attrib
9019 db.shortcut.role.attribute = attribute role { text }
9020 db.shortcut.attlist =
9021 db.shortcut.role.attribute?
9022 & db.common.attributes
9023 & db.common.linking.attributes
9024 & db.shortcut.action.attrib
9025 db.shortcut =
9026
9027 ## A key combination for an action that is also accessible through a menu
9028 element shortcut {
9029 db.shortcut.attlist, db.keycombination.contentmodel+
9030 }
9031 }
9032 db.os.inlines =
9033 db.prompt
9034 | db.envar
9035 | db.filename
9036 | db.command
9037 | db.computeroutput
9038 | db.userinput
9039 db.computeroutput.inlines =
9040 (text | db.ubiq.inlines | db.os.inlines | db.technical.inlines)
9041 | db.co
9042 | db.markup.inlines
9043 db.userinput.inlines =
9044 (text | db.ubiq.inlines | db.os.inlines | db.technical.inlines)
9045 | db.co
9046 | db.markup.inlines
9047 | db.gui.inlines
9048 | db.keyboard.inlines
9049 db.prompt.inlines = db._text | db.co
9050 div {
9051 db.prompt.role.attribute = attribute role { text }
9052 db.prompt.attlist =
9053 db.prompt.role.attribute?
9054 & db.common.attributes
9055 & db.common.linking.attributes
9056 db.prompt =
9057
9058 ## A character or string indicating the start of an input field in a computer display
9059 element prompt { db.prompt.attlist, db.prompt.inlines* }
9060 }
9061 div {
9062 db.envar.role.attribute = attribute role { text }
9063 db.envar.attlist =
9064 db.envar.role.attribute?
9065 & db.common.attributes
9066 & db.common.linking.attributes
9067 db.envar =
9068
9069 ## A software environment variable
9070 element envar { db.envar.attlist, db._text }
9071 }
9072 div {
9073 db.filename.class.enumeration =
9074
9075 ## A device
9076 "devicefile"
9077 |
9078 ## A directory
9079 "directory"
9080 |
9081 ## A filename extension
9082 "extension"
9083 |
9084 ## A header file (as for a programming language)
9085 "headerfile"
9086 |
9087 ## A library file
9088 "libraryfile"
9089 |
9090 ## A partition (as of a hard disk)
9091 "partition"
9092 |
9093 ## A symbolic link
9094 "symlink"
9095 db.filename.class.attribute =
9096
9097 ## Identifies the class of filename
9098 attribute class { db.filename.class.enumeration }
9099 db.filename.path.attribute =
9100
9101 ## Specifies the path of the filename
9102 attribute path { text }
9103 db.filename.role.attribute = attribute role { text }
9104 db.filename.attlist =
9105 db.filename.role.attribute?
9106 & db.common.attributes
9107 & db.common.linking.attributes
9108 & db.filename.path.attribute?
9109 & db.filename.class.attribute?
9110 db.filename =
9111
9112 ## The name of a file
9113 element filename { db.filename.attlist, db._text }
9114 }
9115 div {
9116 db.command.role.attribute = attribute role { text }
9117 db.command.attlist =
9118 db.command.role.attribute?
9119 & db.common.attributes
9120 & db.common.linking.attributes
9121 db.command =
9122
9123 ## The name of an executable program or other software command
9124 element command { db.command.attlist, db._text }
9125 }
9126 div {
9127 db.computeroutput.role.attribute = attribute role { text }
9128 db.computeroutput.attlist =
9129 db.computeroutput.role.attribute?
9130 & db.common.attributes
9131 & db.common.linking.attributes
9132 db.computeroutput =
9133
9134 ## Data, generally text, displayed or presented by a computer
9135 element computeroutput {
9136 db.computeroutput.attlist, db.computeroutput.inlines*
9137 }
9138 }
9139 div {
9140 db.userinput.role.attribute = attribute role { text }
9141 db.userinput.attlist =
9142 db.userinput.role.attribute?
9143 & db.common.attributes
9144 & db.common.linking.attributes
9145 db.userinput =
9146
9147 ## Data entered by the user
9148 element userinput { db.userinput.attlist, db.userinput.inlines* }
9149 }
9150 div {
9151 db.cmdsynopsis.role.attribute = attribute role { text }
9152 db.cmdsynopsis.sepchar.attribute =
9153
9154 ## Specifies the character that should separate the command and its top-level arguments
9155 attribute sepchar { text }
9156 db.cmdsynopsis.cmdlength.attribute =
9157
9158 ## Indicates the displayed length of the command; this information may be used to intelligently indent command synopses which extend beyond one line
9159 attribute cmdlength { text }
9160 db.cmdsynopsis.label.attribute = db.label.attribute
9161 db.cmdsynopsis.attlist =
9162 db.cmdsynopsis.role.attribute?
9163 & db.common.attributes
9164 & db.common.linking.attributes
9165 & db.cmdsynopsis.sepchar.attribute?
9166 & db.cmdsynopsis.cmdlength.attribute?
9167 & db.cmdsynopsis.label.attribute?
9168 db.cmdsynopsis.info = db._info.title.forbidden
9169 db.cmdsynopsis =
9170
9171 ## A syntax summary for a software command
9172 element cmdsynopsis {
9173 db.cmdsynopsis.attlist,
9174 db.cmdsynopsis.info,
9175 (db.command | db.arg | db.group | db.sbr)+,
9176 db.synopfragment*
9177 }
9178 }
9179 db.rep.enumeration =
9180
9181 ## Can not be repeated.
9182 "norepeat"
9183 |
9184 ## Can be repeated.
9185 "repeat"
9186 db.rep.attribute =
9187
9188 ## Indicates whether or not repetition is possible.
9189 [ a:defaultValue = "norepeat" ] attribute rep { db.rep.enumeration }
9190 db.choice.enumeration =
9191
9192 ## Formatted to indicate that it is optional.
9193 "opt"
9194 |
9195 ## Formatted without indication.
9196 "plain"
9197 |
9198 ## Formatted to indicate that it is required.
9199 "req"
9200 db.choice.opt.attribute =
9201
9202 ## Indicates optionality.
9203 [ a:defaultValue = "opt" ] attribute choice { db.choice.enumeration }
9204 db.choice.req.attribute =
9205
9206 ## Indicates optionality.
9207 [ a:defaultValue = "req" ] attribute choice { db.choice.enumeration }
9208 div {
9209 db.arg.role.attribute = attribute role { text }
9210 db.arg.rep.attribute = db.rep.attribute
9211 db.arg.choice.attribute = db.choice.opt.attribute
9212 db.arg.attlist =
9213 db.arg.role.attribute?
9214 & db.common.attributes
9215 & db.common.linking.attributes
9216 & db.arg.rep.attribute?
9217 & db.arg.choice.attribute?
9218 db.arg =
9219
9220 ## An argument in a cmdsynopsis
9221 element arg {
9222 db.arg.attlist,
9223 (db._text
9224 | db.arg
9225 | db.group
9226 | db.option
9227 | db.synopfragmentref
9228 | db.sbr)*
9229 }
9230 }
9231 div {
9232 db.group.role.attribute = attribute role { text }
9233 db.group.rep.attribute = db.rep.attribute
9234 db.group.choice.attribute = db.choice.opt.attribute
9235 db.group.attlist =
9236 db.group.role.attribute?
9237 & db.common.attributes
9238 & db.common.linking.attributes
9239 & db.group.rep.attribute?
9240 & db.group.choice.attribute?
9241 db.group =
9242
9243 ## A group of elements in a cmdsynopsis
9244 element group {
9245 db.group.attlist,
9246 (db.arg
9247 | db.group
9248 | db.option
9249 | db.synopfragmentref
9250 | db.replaceable
9251 | db.sbr)+
9252 }
9253 }
9254 div {
9255 db.sbr.role.attribute = attribute role { text }
9256 db.sbr.attlist = db.sbr.role.attribute? & db.common.attributes
9257 db.sbr =
9258
9259 ## An explicit line break in a command synopsis
9260 element sbr { db.sbr.attlist, empty }
9261 }
9262 div {
9263 db.synopfragment.role.attribute = attribute role { text }
9264 db.synopfragment.attlist =
9265 db.synopfragment.role.attribute?
9266 & db.common.attributes
9267 & db.common.linking.attributes
9268 db.synopfragment =
9269
9270 ## A portion of a cmdsynopsis broken out from the main body of the synopsis
9271 element synopfragment {
9272 db.synopfragment.attlist, (db.arg | db.group)+
9273 }
9274 }
9275 div {
9276 db.synopfragmentref.role.attribute = attribute role { text }
9277 db.synopfragmentref.attlist =
9278 db.synopfragmentref.role.attribute?
9279 & db.common.attributes
9280 & db.linkend.attribute
9281 db.synopfragmentref =
9282
9283 ## A reference to a fragment of a command synopsis
9284 [
9285 s:pattern [
9286 name = "Synopsis fragment type constraint"
9287 "\x{a}" ~
9288 " "
9289 s:rule [
9290 context = "db:synopfragmentref"
9291 "\x{a}" ~
9292 " "
9293 s:assert [
9294 test =
9295 "local-name(//*[@xml:id=current()/@linkend]) = 'synopfragment' and namespace-uri(//*[@xml:id=current()/@linkend]) = 'http://docbook.org/ns/docbook'"
9296 "@linkend on synopfragmentref must point to a synopfragment."
9297 ]
9298 "\x{a}" ~
9299 " "
9300 ]
9301 "\x{a}" ~
9302 " "
9303 ]
9304 ]
9305 element synopfragmentref { db.synopfragmentref.attlist, text }
9306 }
9307 db.programming.inlines =
9308 db.function
9309 | db.parameter
9310 | db.varname
9311 | db.returnvalue
9312 | db.type
9313 | db.classname
9314 | db.exceptionname
9315 | db.interfacename
9316 | db.methodname
9317 | db.modifier
9318 | db.initializer
9319 | db.oo.inlines
9320 db.oo.inlines = db.ooclass | db.ooexception | db.oointerface
9321 db.synopsis.blocks =
9322 (db.funcsynopsis
9323 | db.classsynopsis
9324 | db.methodsynopsis
9325 | db.constructorsynopsis
9326 | db.destructorsynopsis
9327 | db.fieldsynopsis)
9328 | db.cmdsynopsis
9329 div {
9330 db.synopsis.role.attribute = attribute role { text }
9331 db.synopsis.label.attribute = db.label.attribute
9332 db.synopsis.attlist =
9333 db.synopsis.role.attribute?
9334 & db.common.attributes
9335 & db.common.linking.attributes
9336 & db.verbatim.attributes
9337 & db.synopsis.label.attribute?
9338 db.synopsis =
9339
9340 ## A general-purpose element for representing the syntax of commands or functions
9341 element synopsis { db.synopsis.attlist, db.verbatim.contentmodel }
9342 }
9343 div {
9344 db.funcsynopsis.role.attribute = attribute role { text }
9345 db.funcsynopsis.attlist =
9346 db.funcsynopsis.role.attribute?
9347 & db.common.attributes
9348 & db.common.linking.attributes
9349 & db.language.attribute?
9350 db.funcsynopsis.info = db._info.title.forbidden
9351 db.funcsynopsis =
9352
9353 ## The syntax summary for a function definition
9354 element funcsynopsis {
9355 db.funcsynopsis.attlist,
9356 db.funcsynopsis.info,
9357 (db.funcsynopsisinfo | db.funcprototype)+
9358 }
9359 }
9360 div {
9361 db.funcsynopsisinfo.role.attribute = attribute role { text }
9362 db.funcsynopsisinfo.attlist =
9363 db.funcsynopsisinfo.role.attribute?
9364 & db.common.attributes
9365 & db.common.linking.attributes
9366 & db.verbatim.attributes
9367 db.funcsynopsisinfo =
9368
9369 ## Information supplementing the funcdefs of a funcsynopsis
9370 element funcsynopsisinfo {
9371 db.funcsynopsisinfo.attlist, db.verbatim.contentmodel
9372 }
9373 }
9374 div {
9375 db.funcprototype.role.attribute = attribute role { text }
9376 db.funcprototype.attlist =
9377 db.funcprototype.role.attribute?
9378 & db.common.attributes
9379 & db.common.linking.attributes
9380 db.funcprototype =
9381
9382 ## The prototype of a function
9383 element funcprototype {
9384 db.funcprototype.attlist,
9385 db.modifier*,
9386 db.funcdef,
9387 (db.void
9388 | db.varargs
9389 | ((db.paramdef | db.group.paramdef)+, db.varargs?)),
9390 db.modifier*
9391 }
9392 }
9393 div {
9394 db.funcdef.role.attribute = attribute role { text }
9395 db.funcdef.attlist =
9396 db.funcdef.role.attribute?
9397 & db.common.attributes
9398 & db.common.linking.attributes
9399 db.funcdef =
9400
9401 ## A function (subroutine) name and its return type
9402 element funcdef {
9403 db.funcdef.attlist, (db._text | db.type | db.function)*
9404 }
9405 }
9406 div {
9407 db.function.role.attribute = attribute role { text }
9408 db.function.attlist =
9409 db.function.role.attribute?
9410 & db.common.attributes
9411 & db.common.linking.attributes
9412 db.function =
9413
9414 ## The name of a function or subroutine, as in a programming language
9415 element function { db.function.attlist, db._text }
9416 }
9417 div {
9418 db.void.role.attribute = attribute role { text }
9419 db.void.attlist =
9420 db.void.role.attribute?
9421 & db.common.attributes
9422 & db.common.linking.attributes
9423 db.void =
9424
9425 ## An empty element in a function synopsis indicating that the function in question takes no arguments
9426 element void { db.void.attlist, empty }
9427 }
9428 div {
9429 db.varargs.role.attribute = attribute role { text }
9430 db.varargs.attlist =
9431 db.varargs.role.attribute?
9432 & db.common.attributes
9433 & db.common.linking.attributes
9434 db.varargs =
9435
9436 ## An empty element in a function synopsis indicating a variable number of arguments
9437 element varargs { db.varargs.attlist, empty }
9438 }
9439 div {
9440 db.group.paramdef.role.attribute = attribute role { text }
9441 db.group.paramdef.choice.attribute = db.choice.opt.attribute
9442 db.group.paramdef.attlist =
9443 db.group.paramdef.role.attribute?
9444 & db.common.attributes
9445 & db.common.linking.attributes
9446 & db.group.paramdef.choice.attribute?
9447 db.group.paramdef =
9448
9449 ## A group of parameters
9450 element group {
9451 db.group.paramdef.attlist, (db.paramdef | db.group.paramdef)+
9452 }
9453 }
9454 div {
9455 db.paramdef.role.attribute = attribute role { text }
9456 db.paramdef.choice.enumeration =
9457
9458 ## Formatted to indicate that it is optional.
9459 "opt"
9460 |
9461 ## Formatted to indicate that it is required.
9462 "req"
9463 db.paramdef.choice.attribute =
9464
9465 ## Indicates optionality.
9466 [ a:defaultValue = "opt" ]
9467 attribute choice { db.paramdef.choice.enumeration }
9468 db.paramdef.attlist =
9469 db.paramdef.role.attribute?
9470 & db.common.attributes
9471 & db.common.linking.attributes
9472 & db.paramdef.choice.attribute?
9473 db.paramdef =
9474
9475 ## Information about a function parameter in a programming language
9476 element paramdef {
9477 db.paramdef.attlist,
9478 (db._text
9479 | db.initializer
9480 | db.type
9481 | db.parameter
9482 | db.funcparams)*
9483 }
9484 }
9485 div {
9486 db.funcparams.role.attribute = attribute role { text }
9487 db.funcparams.attlist =
9488 db.funcparams.role.attribute?
9489 & db.common.attributes
9490 & db.common.linking.attributes
9491 db.funcparams =
9492
9493 ## Parameters for a function referenced through a function pointer in a synopsis
9494 element funcparams { db.funcparams.attlist, db._text }
9495 }
9496 div {
9497 db.classsynopsis.role.attribute = attribute role { text }
9498 db.classsynopsis.class.enumeration =
9499
9500 ## This is the synopsis of a class
9501 "class"
9502 |
9503 ## This is the synopsis of an interface
9504 "interface"
9505 db.classsynopsis.class.attribute =
9506
9507 ## Specifies the nature of the synopsis
9508 attribute class { db.classsynopsis.class.enumeration }
9509 db.classsynopsis.attlist =
9510 db.classsynopsis.role.attribute?
9511 & db.common.attributes
9512 & db.common.linking.attributes
9513 & db.language.attribute?
9514 & db.classsynopsis.class.attribute?
9515 db.classsynopsis =
9516
9517 ## The syntax summary for a class definition
9518 element classsynopsis {
9519 db.classsynopsis.attlist,
9520 db.oo.inlines+,
9521 (db.classsynopsisinfo
9522 | db.methodsynopsis
9523 | db.constructorsynopsis
9524 | db.destructorsynopsis
9525 | db.fieldsynopsis)*
9526 }
9527 }
9528 div {
9529 db.classsynopsisinfo.role.attribute = attribute role { text }
9530 db.classsynopsisinfo.attlist =
9531 db.classsynopsisinfo.role.attribute?
9532 & db.common.attributes
9533 & db.common.linking.attributes
9534 & db.verbatim.attributes
9535 db.classsynopsisinfo =
9536
9537 ## Information supplementing the contents of a classsynopsis
9538 element classsynopsisinfo {
9539 db.classsynopsisinfo.attlist, db.verbatim.contentmodel
9540 }
9541 }
9542 div {
9543 db.ooclass.role.attribute = attribute role { text }
9544 db.ooclass.attlist =
9545 db.ooclass.role.attribute?
9546 & db.common.attributes
9547 & db.common.linking.attributes
9548 db.ooclass =
9549
9550 ## A class in an object-oriented programming language
9551 element ooclass {
9552 db.ooclass.attlist, (db.package | db.modifier)*, db.classname
9553 }
9554 }
9555 div {
9556 db.oointerface.role.attribute = attribute role { text }
9557 db.oointerface.attlist =
9558 db.oointerface.role.attribute?
9559 & db.common.attributes
9560 & db.common.linking.attributes
9561 db.oointerface =
9562
9563 ## An interface in an object-oriented programming language
9564 element oointerface {
9565 db.oointerface.attlist,
9566 (db.package | db.modifier)*,
9567 db.interfacename
9568 }
9569 }
9570 div {
9571 db.ooexception.role.attribute = attribute role { text }
9572 db.ooexception.attlist =
9573 db.ooexception.role.attribute?
9574 & db.common.attributes
9575 & db.common.linking.attributes
9576 db.ooexception =
9577
9578 ## An exception in an object-oriented programming language
9579 element ooexception {
9580 db.ooexception.attlist,
9581 (db.package | db.modifier)*,
9582 db.exceptionname
9583 }
9584 }
9585 db.modifier.xml.space.attribute =
9586
9587 ## Can be used to indicate that whitespace in the modifier should be preserved (for multi-line annotations, for example).
9588 attribute xml:space {
9589
9590 ## Extra whitespace and line breaks must be preserved.
9591 [
9592 # Ideally the definition of xml:space used on modifier would be
9593 # different from the definition used on the verbatim elements. The
9594 # verbatim elements forbid the use of xml:space="default" which
9595 # wouldn't be a problem on modifier. But doing that causes the
9596 # generated XSD schemas to be broken so I'm just reusing the existing
9597 # definition for now. It won't be backwards incompatible to fix this
9598 # problem in the future.
9599 # | ## Extra whitespace and line breaks are not preserved.
9600 # "default"
9601
9602 ]
9603 "preserve"
9604 }
9605 div {
9606 db.modifier.role.attribute = attribute role { text }
9607 db.modifier.attlist =
9608 db.modifier.xml.space.attribute?
9609 & db.modifier.role.attribute?
9610 & db.common.attributes
9611 & db.common.linking.attributes
9612 db.modifier =
9613
9614 ## Modifiers in a synopsis
9615 element modifier { db.modifier.attlist, db._text }
9616 }
9617 div {
9618 db.interfacename.role.attribute = attribute role { text }
9619 db.interfacename.attlist =
9620 db.interfacename.role.attribute?
9621 & db.common.attributes
9622 & db.common.linking.attributes
9623 db.interfacename =
9624
9625 ## The name of an interface
9626 element interfacename { db.interfacename.attlist, db._text }
9627 }
9628 div {
9629 db.exceptionname.role.attribute = attribute role { text }
9630 db.exceptionname.attlist =
9631 db.exceptionname.role.attribute?
9632 & db.common.attributes
9633 & db.common.linking.attributes
9634 db.exceptionname =
9635
9636 ## The name of an exception
9637 element exceptionname { db.exceptionname.attlist, db._text }
9638 }
9639 div {
9640 db.fieldsynopsis.role.attribute = attribute role { text }
9641 db.fieldsynopsis.attlist =
9642 db.fieldsynopsis.role.attribute?
9643 & db.common.attributes
9644 & db.common.linking.attributes
9645 & db.language.attribute?
9646 db.fieldsynopsis =
9647
9648 ## The name of a field in a class definition
9649 element fieldsynopsis {
9650 db.fieldsynopsis.attlist,
9651 db.modifier*,
9652 db.type?,
9653 db.varname,
9654 db.initializer?
9655 }
9656 }
9657 div {
9658 db.initializer.role.attribute = attribute role { text }
9659 db.initializer.attlist =
9660 db.initializer.role.attribute?
9661 & db.common.attributes
9662 & db.common.linking.attributes
9663 db.initializer.inlines = db._text | db.mathphrase | db.markup.inlines
9664 db.initializer =
9665
9666 ## The initializer for a fieldsynopsis
9667 element initializer {
9668 db.initializer.attlist, db.initializer.inlines*
9669 }
9670 }
9671 div {
9672 db.constructorsynopsis.role.attribute = attribute role { text }
9673 db.constructorsynopsis.attlist =
9674 db.constructorsynopsis.role.attribute?
9675 & db.common.attributes
9676 & db.common.linking.attributes
9677 & db.language.attribute?
9678 db.constructorsynopsis =
9679
9680 ## A syntax summary for a constructor
9681 element constructorsynopsis {
9682 db.constructorsynopsis.attlist,
9683 db.modifier*,
9684 db.methodname?,
9685 ((db.methodparam | db.group.methodparam)+ | db.void?),
9686 db.exceptionname*
9687 }
9688 }
9689 div {
9690 db.destructorsynopsis.role.attribute = attribute role { text }
9691 db.destructorsynopsis.attlist =
9692 db.destructorsynopsis.role.attribute?
9693 & db.common.attributes
9694 & db.common.linking.attributes
9695 & db.language.attribute?
9696 db.destructorsynopsis =
9697
9698 ## A syntax summary for a destructor
9699 element destructorsynopsis {
9700 db.destructorsynopsis.attlist,
9701 db.modifier*,
9702 db.methodname?,
9703 ((db.methodparam | db.group.methodparam)+ | db.void?),
9704 db.exceptionname*
9705 }
9706 }
9707 div {
9708 db.methodsynopsis.role.attribute = attribute role { text }
9709 db.methodsynopsis.attlist =
9710 db.methodsynopsis.role.attribute?
9711 & db.common.attributes
9712 & db.common.linking.attributes
9713 & db.language.attribute?
9714 db.methodsynopsis =
9715
9716 ## A syntax summary for a method
9717 element methodsynopsis {
9718 db.methodsynopsis.attlist,
9719 db.modifier*,
9720 (db.type | db.void)?,
9721 db.methodname,
9722 ((db.methodparam | db.group.methodparam)+ | db.void),
9723 db.exceptionname*,
9724 db.modifier*
9725 }
9726 }
9727 div {
9728 db.methodname.role.attribute = attribute role { text }
9729 db.methodname.attlist =
9730 db.methodname.role.attribute?
9731 & db.common.attributes
9732 & db.common.linking.attributes
9733 db.methodname =
9734
9735 ## The name of a method
9736 element methodname { db.methodname.attlist, db._text }
9737 }
9738 div {
9739 db.methodparam.role.attribute = attribute role { text }
9740 db.methodparam.rep.attribute = db.rep.attribute
9741 db.methodparam.choice.attribute = db.choice.req.attribute
9742 db.methodparam.attlist =
9743 db.methodparam.role.attribute?
9744 & db.common.attributes
9745 & db.common.linking.attributes
9746 & db.methodparam.rep.attribute?
9747 & db.methodparam.choice.attribute?
9748 db.methodparam =
9749
9750 ## Parameters to a method
9751 element methodparam {
9752 db.methodparam.attlist,
9753 db.modifier*,
9754 db.type?,
9755 ((db.modifier*, db.parameter, db.initializer?) | db.funcparams),
9756 db.modifier*
9757 }
9758 }
9759 div {
9760 db.group.methodparam.role.attribute = attribute role { text }
9761 db.group.methodparam.choice.attribute = db.choice.opt.attribute
9762 db.group.methodparam.attlist =
9763 db.group.methodparam.role.attribute?
9764 & db.common.attributes
9765 & db.common.linking.attributes
9766 & db.group.methodparam.choice.attribute?
9767 db.group.methodparam =
9768
9769 ## A group of method parameters
9770 element group {
9771 db.group.methodparam.attlist,
9772 (db.methodparam | db.group.methodparam)+
9773 }
9774 }
9775 div {
9776 db.varname.role.attribute = attribute role { text }
9777 db.varname.attlist =
9778 db.varname.role.attribute?
9779 & db.common.attributes
9780 & db.common.linking.attributes
9781 db.varname =
9782
9783 ## The name of a variable
9784 element varname { db.varname.attlist, db._text }
9785 }
9786 div {
9787 db.returnvalue.role.attribute = attribute role { text }
9788 db.returnvalue.attlist =
9789 db.returnvalue.role.attribute?
9790 & db.common.attributes
9791 & db.common.linking.attributes
9792 db.returnvalue =
9793
9794 ## The value returned by a function
9795 element returnvalue { db.returnvalue.attlist, db._text }
9796 }
9797 div {
9798 db.type.role.attribute = attribute role { text }
9799 db.type.attlist =
9800 db.type.role.attribute?
9801 & db.common.attributes
9802 & db.common.linking.attributes
9803 db.type =
9804
9805 ## The classification of a value
9806 element type { db.type.attlist, db._text }
9807 }
9808 div {
9809 db.classname.role.attribute = attribute role { text }
9810 db.classname.attlist =
9811 db.classname.role.attribute?
9812 & db.common.attributes
9813 & db.common.linking.attributes
9814 db.classname =
9815
9816 ## The name of a class, in the object-oriented programming sense
9817 element classname { db.classname.attlist, db._text }
9818 }
9819 div {
9820 db.programlisting.role.attribute = attribute role { text }
9821 db.programlisting.width.attribute = db.width.characters.attribute
9822 db.programlisting.attlist =
9823 db.programlisting.role.attribute?
9824 & db.common.attributes
9825 & db.common.linking.attributes
9826 & db.verbatim.attributes
9827 & db.programlisting.width.attribute?
9828 db.programlisting =
9829
9830 ## A literal listing of all or part of a program
9831 element programlisting {
9832 db.programlisting.attlist, db.verbatim.contentmodel
9833 }
9834 }
9835 db.admonition.blocks =
9836 db.caution | db.important | db.note | db.tip | db.warning
9837 db.admonition.contentmodel = db._info.title.only, db.all.blocks+
9838 div {
9839 db.caution.role.attribute = attribute role { text }
9840 db.caution.attlist =
9841 db.caution.role.attribute?
9842 & db.common.attributes
9843 & db.common.linking.attributes
9844 db.caution =
9845
9846 ## A note of caution
9847 [
9848 s:pattern [
9849 name = "Element exclusion"
9850 "\x{a}" ~
9851 " "
9852 s:rule [
9853 context = "db:caution"
9854 "\x{a}" ~
9855 " "
9856 s:assert [
9857 test = "not(.//db:caution)"
9858 "caution must not occur among the children or descendants of caution"
9859 ]
9860 "\x{a}" ~
9861 " "
9862 ]
9863 "\x{a}" ~
9864 " "
9865 ]
9866 s:pattern [
9867 name = "Element exclusion"
9868 "\x{a}" ~
9869 " "
9870 s:rule [
9871 context = "db:caution"
9872 "\x{a}" ~
9873 " "
9874 s:assert [
9875 test = "not(.//db:important)"
9876 "important must not occur among the children or descendants of caution"
9877 ]
9878 "\x{a}" ~
9879 " "
9880 ]
9881 "\x{a}" ~
9882 " "
9883 ]
9884 s:pattern [
9885 name = "Element exclusion"
9886 "\x{a}" ~
9887 " "
9888 s:rule [
9889 context = "db:caution"
9890 "\x{a}" ~
9891 " "
9892 s:assert [
9893 test = "not(.//db:note)"
9894 "note must not occur among the children or descendants of caution"
9895 ]
9896 "\x{a}" ~
9897 " "
9898 ]
9899 "\x{a}" ~
9900 " "
9901 ]
9902 s:pattern [
9903 name = "Element exclusion"
9904 "\x{a}" ~
9905 " "
9906 s:rule [
9907 context = "db:caution"
9908 "\x{a}" ~
9909 " "
9910 s:assert [
9911 test = "not(.//db:tip)"
9912 "tip must not occur among the children or descendants of caution"
9913 ]
9914 "\x{a}" ~
9915 " "
9916 ]
9917 "\x{a}" ~
9918 " "
9919 ]
9920 s:pattern [
9921 name = "Element exclusion"
9922 "\x{a}" ~
9923 " "
9924 s:rule [
9925 context = "db:caution"
9926 "\x{a}" ~
9927 " "
9928 s:assert [
9929 test = "not(.//db:warning)"
9930 "warning must not occur among the children or descendants of caution"
9931 ]
9932 "\x{a}" ~
9933 " "
9934 ]
9935 "\x{a}" ~
9936 " "
9937 ]
9938 ]
9939 element caution { db.caution.attlist, db.admonition.contentmodel }
9940 }
9941 div {
9942 db.important.role.attribute = attribute role { text }
9943 db.important.attlist =
9944 db.important.role.attribute?
9945 & db.common.attributes
9946 & db.common.linking.attributes
9947 db.important =
9948
9949 ## An admonition set off from the text
9950 [
9951 s:pattern [
9952 name = "Element exclusion"
9953 "\x{a}" ~
9954 " "
9955 s:rule [
9956 context = "db:important"
9957 "\x{a}" ~
9958 " "
9959 s:assert [
9960 test = "not(.//db:caution)"
9961 "caution must not occur among the children or descendants of important"
9962 ]
9963 "\x{a}" ~
9964 " "
9965 ]
9966 "\x{a}" ~
9967 " "
9968 ]
9969 s:pattern [
9970 name = "Element exclusion"
9971 "\x{a}" ~
9972 " "
9973 s:rule [
9974 context = "db:important"
9975 "\x{a}" ~
9976 " "
9977 s:assert [
9978 test = "not(.//db:important)"
9979 "important must not occur among the children or descendants of important"
9980 ]
9981 "\x{a}" ~
9982 " "
9983 ]
9984 "\x{a}" ~
9985 " "
9986 ]
9987 s:pattern [
9988 name = "Element exclusion"
9989 "\x{a}" ~
9990 " "
9991 s:rule [
9992 context = "db:important"
9993 "\x{a}" ~
9994 " "
9995 s:assert [
9996 test = "not(.//db:note)"
9997 "note must not occur among the children or descendants of important"
9998 ]
9999 "\x{a}" ~
10000 " "
10001 ]
10002 "\x{a}" ~
10003 " "
10004 ]
10005 s:pattern [
10006 name = "Element exclusion"
10007 "\x{a}" ~
10008 " "
10009 s:rule [
10010 context = "db:important"
10011 "\x{a}" ~
10012 " "
10013 s:assert [
10014 test = "not(.//db:tip)"
10015 "tip must not occur among the children or descendants of important"
10016 ]
10017 "\x{a}" ~
10018 " "
10019 ]
10020 "\x{a}" ~
10021 " "
10022 ]
10023 s:pattern [
10024 name = "Element exclusion"
10025 "\x{a}" ~
10026 " "
10027 s:rule [
10028 context = "db:important"
10029 "\x{a}" ~
10030 " "
10031 s:assert [
10032 test = "not(.//db:warning)"
10033 "warning must not occur among the children or descendants of important"
10034 ]
10035 "\x{a}" ~
10036 " "
10037 ]
10038 "\x{a}" ~
10039 " "
10040 ]
10041 ]
10042 element important {
10043 db.important.attlist, db.admonition.contentmodel
10044 }
10045 }
10046 div {
10047 db.note.role.attribute = attribute role { text }
10048 db.note.attlist =
10049 db.note.role.attribute?
10050 & db.common.attributes
10051 & db.common.linking.attributes
10052 db.note =
10053
10054 ## A message set off from the text
10055 [
10056 s:pattern [
10057 name = "Element exclusion"
10058 "\x{a}" ~
10059 " "
10060 s:rule [
10061 context = "db:note"
10062 "\x{a}" ~
10063 " "
10064 s:assert [
10065 test = "not(.//db:caution)"
10066 "caution must not occur among the children or descendants of note"
10067 ]
10068 "\x{a}" ~
10069 " "
10070 ]
10071 "\x{a}" ~
10072 " "
10073 ]
10074 s:pattern [
10075 name = "Element exclusion"
10076 "\x{a}" ~
10077 " "
10078 s:rule [
10079 context = "db:note"
10080 "\x{a}" ~
10081 " "
10082 s:assert [
10083 test = "not(.//db:important)"
10084 "important must not occur among the children or descendants of note"
10085 ]
10086 "\x{a}" ~
10087 " "
10088 ]
10089 "\x{a}" ~
10090 " "
10091 ]
10092 s:pattern [
10093 name = "Element exclusion"
10094 "\x{a}" ~
10095 " "
10096 s:rule [
10097 context = "db:note"
10098 "\x{a}" ~
10099 " "
10100 s:assert [
10101 test = "not(.//db:note)"
10102 "note must not occur among the children or descendants of note"
10103 ]
10104 "\x{a}" ~
10105 " "
10106 ]
10107 "\x{a}" ~
10108 " "
10109 ]
10110 s:pattern [
10111 name = "Element exclusion"
10112 "\x{a}" ~
10113 " "
10114 s:rule [
10115 context = "db:note"
10116 "\x{a}" ~
10117 " "
10118 s:assert [
10119 test = "not(.//db:tip)"
10120 "tip must not occur among the children or descendants of note"
10121 ]
10122 "\x{a}" ~
10123 " "
10124 ]
10125 "\x{a}" ~
10126 " "
10127 ]
10128 s:pattern [
10129 name = "Element exclusion"
10130 "\x{a}" ~
10131 " "
10132 s:rule [
10133 context = "db:note"
10134 "\x{a}" ~
10135 " "
10136 s:assert [
10137 test = "not(.//db:warning)"
10138 "warning must not occur among the children or descendants of note"
10139 ]
10140 "\x{a}" ~
10141 " "
10142 ]
10143 "\x{a}" ~
10144 " "
10145 ]
10146 ]
10147 element note { db.note.attlist, db.admonition.contentmodel }
10148 }
10149 div {
10150 db.tip.role.attribute = attribute role { text }
10151 db.tip.attlist =
10152 db.tip.role.attribute?
10153 & db.common.attributes
10154 & db.common.linking.attributes
10155 db.tip =
10156
10157 ## A suggestion to the user, set off from the text
10158 [
10159 s:pattern [
10160 name = "Element exclusion"
10161 "\x{a}" ~
10162 " "
10163 s:rule [
10164 context = "db:tip"
10165 "\x{a}" ~
10166 " "
10167 s:assert [
10168 test = "not(.//db:caution)"
10169 "caution must not occur among the children or descendants of tip"
10170 ]
10171 "\x{a}" ~
10172 " "
10173 ]
10174 "\x{a}" ~
10175 " "
10176 ]
10177 s:pattern [
10178 name = "Element exclusion"
10179 "\x{a}" ~
10180 " "
10181 s:rule [
10182 context = "db:tip"
10183 "\x{a}" ~
10184 " "
10185 s:assert [
10186 test = "not(.//db:important)"
10187 "important must not occur among the children or descendants of tip"
10188 ]
10189 "\x{a}" ~
10190 " "
10191 ]
10192 "\x{a}" ~
10193 " "
10194 ]
10195 s:pattern [
10196 name = "Element exclusion"
10197 "\x{a}" ~
10198 " "
10199 s:rule [
10200 context = "db:tip"
10201 "\x{a}" ~
10202 " "
10203 s:assert [
10204 test = "not(.//db:note)"
10205 "note must not occur among the children or descendants of tip"
10206 ]
10207 "\x{a}" ~
10208 " "
10209 ]
10210 "\x{a}" ~
10211 " "
10212 ]
10213 s:pattern [
10214 name = "Element exclusion"
10215 "\x{a}" ~
10216 " "
10217 s:rule [
10218 context = "db:tip"
10219 "\x{a}" ~
10220 " "
10221 s:assert [
10222 test = "not(.//db:tip)"
10223 "tip must not occur among the children or descendants of tip"
10224 ]
10225 "\x{a}" ~
10226 " "
10227 ]
10228 "\x{a}" ~
10229 " "
10230 ]
10231 s:pattern [
10232 name = "Element exclusion"
10233 "\x{a}" ~
10234 " "
10235 s:rule [
10236 context = "db:tip"
10237 "\x{a}" ~
10238 " "
10239 s:assert [
10240 test = "not(.//db:warning)"
10241 "warning must not occur among the children or descendants of tip"
10242 ]
10243 "\x{a}" ~
10244 " "
10245 ]
10246 "\x{a}" ~
10247 " "
10248 ]
10249 ]
10250 element tip { db.tip.attlist, db.admonition.contentmodel }
10251 }
10252 div {
10253 db.warning.role.attribute = attribute role { text }
10254 db.warning.attlist =
10255 db.warning.role.attribute?
10256 & db.common.attributes
10257 & db.common.linking.attributes
10258 db.warning =
10259
10260 ## An admonition set off from the text
10261 [
10262 s:pattern [
10263 name = "Element exclusion"
10264 "\x{a}" ~
10265 " "
10266 s:rule [
10267 context = "db:warning"
10268 "\x{a}" ~
10269 " "
10270 s:assert [
10271 test = "not(.//db:caution)"
10272 "caution must not occur among the children or descendants of warning"
10273 ]
10274 "\x{a}" ~
10275 " "
10276 ]
10277 "\x{a}" ~
10278 " "
10279 ]
10280 s:pattern [
10281 name = "Element exclusion"
10282 "\x{a}" ~
10283 " "
10284 s:rule [
10285 context = "db:warning"
10286 "\x{a}" ~
10287 " "
10288 s:assert [
10289 test = "not(.//db:important)"
10290 "important must not occur among the children or descendants of warning"
10291 ]
10292 "\x{a}" ~
10293 " "
10294 ]
10295 "\x{a}" ~
10296 " "
10297 ]
10298 s:pattern [
10299 name = "Element exclusion"
10300 "\x{a}" ~
10301 " "
10302 s:rule [
10303 context = "db:warning"
10304 "\x{a}" ~
10305 " "
10306 s:assert [
10307 test = "not(.//db:note)"
10308 "note must not occur among the children or descendants of warning"
10309 ]
10310 "\x{a}" ~
10311 " "
10312 ]
10313 "\x{a}" ~
10314 " "
10315 ]
10316 s:pattern [
10317 name = "Element exclusion"
10318 "\x{a}" ~
10319 " "
10320 s:rule [
10321 context = "db:warning"
10322 "\x{a}" ~
10323 " "
10324 s:assert [
10325 test = "not(.//db:tip)"
10326 "tip must not occur among the children or descendants of warning"
10327 ]
10328 "\x{a}" ~
10329 " "
10330 ]
10331 "\x{a}" ~
10332 " "
10333 ]
10334 s:pattern [
10335 name = "Element exclusion"
10336 "\x{a}" ~
10337 " "
10338 s:rule [
10339 context = "db:warning"
10340 "\x{a}" ~
10341 " "
10342 s:assert [
10343 test = "not(.//db:warning)"
10344 "warning must not occur among the children or descendants of warning"
10345 ]
10346 "\x{a}" ~
10347 " "
10348 ]
10349 "\x{a}" ~
10350 " "
10351 ]
10352 ]
10353 element warning { db.warning.attlist, db.admonition.contentmodel }
10354 }
10355 db.error.inlines =
10356 db.errorcode | db.errortext | db.errorname | db.errortype
10357 div {
10358 db.errorcode.role.attribute = attribute role { text }
10359 db.errorcode.attlist =
10360 db.errorcode.role.attribute?
10361 & db.common.attributes
10362 & db.common.linking.attributes
10363 db.errorcode =
10364
10365 ## An error code
10366 element errorcode { db.errorcode.attlist, db._text }
10367 }
10368 div {
10369 db.errorname.role.attribute = attribute role { text }
10370 db.errorname.attlist =
10371 db.errorname.role.attribute?
10372 & db.common.attributes
10373 & db.common.linking.attributes
10374 db.errorname =
10375
10376 ## An error name
10377 element errorname { db.errorname.attlist, db._text }
10378 }
10379 div {
10380 db.errortext.role.attribute = attribute role { text }
10381 db.errortext.attlist =
10382 db.errortext.role.attribute?
10383 & db.common.attributes
10384 & db.common.linking.attributes
10385 db.errortext =
10386
10387 ## An error message.
10388 element errortext { db.errortext.attlist, db._text }
10389 }
10390 div {
10391 db.errortype.role.attribute = attribute role { text }
10392 db.errortype.attlist =
10393 db.errortype.role.attribute?
10394 & db.common.attributes
10395 & db.common.linking.attributes
10396 db.errortype =
10397
10398 ## The classification of an error message
10399 element errortype { db.errortype.attlist, db._text }
10400 }
10401 db.systemitem.inlines = db._text | db.co
10402 div {
10403 db.systemitem.class.enumeration =
10404
10405 ## A daemon or other system process (syslogd)
10406 "daemon"
10407 |
10408 ## A domain name (example.com)
10409 "domainname"
10410 |
10411 ## An ethernet address (00:05:4E:49:FD:8E)
10412 "etheraddress"
10413 |
10414 ## An event of some sort (SIGHUP)
10415 "event"
10416 |
10417 ## An event handler of some sort (hangup)
10418 "eventhandler"
10419 |
10420 ## A filesystem (ext3)
10421 "filesystem"
10422 |
10423 ## A fully qualified domain name (my.example.com)
10424 "fqdomainname"
10425 |
10426 ## A group name (wheel)
10427 "groupname"
10428 |
10429 ## An IP address (127.0.0.1)
10430 "ipaddress"
10431 |
10432 ## A library (libncurses)
10433 "library"
10434 |
10435 ## A macro
10436 "macro"
10437 |
10438 ## A netmask (255.255.255.192)
10439 "netmask"
10440 |
10441 ## A newsgroup (comp.text.xml)
10442 "newsgroup"
10443 |
10444 ## An operating system name (Hurd)
10445 "osname"
10446 |
10447 ## A process (gnome-cups-icon)
10448 "process"
10449 |
10450 ## A protocol (ftp)
10451 "protocol"
10452 |
10453 ## A resource
10454 "resource"
10455 |
10456 ## A security context (a role, permission, or security token, for example)
10457 "securitycontext"
10458 |
10459 ## A server (mail.example.com)
10460 "server"
10461 |
10462 ## A service (ppp)
10463 "service"
10464 |
10465 ## A system name (hephaistos)
10466 "systemname"
10467 |
10468 ## A user name (ndw)
10469 "username"
10470 db.systemitem.class-enum.attribute =
10471
10472 ## Identifies the nature of the system item
10473 attribute class { db.systemitem.class.enumeration }?
10474 db.systemitem.class-other.attribute =
10475
10476 ## Identifies the nature of the non-standard system item
10477 attribute otherclass { xsd:NMTOKEN }
10478 db.systemitem.class-other.attributes =
10479
10480 ## Identifies the kind of systemitemgraphic identifier
10481 attribute class {
10482
10483 ## Indicates that the system item is some 'other' kind.
10484 "other"
10485 }
10486 & db.systemitem.class-other.attribute
10487 db.systemitem.class.attribute =
10488 db.systemitem.class-enum.attribute
10489 | db.systemitem.class-other.attributes
10490 db.systemitem.role.attribute = attribute role { text }
10491 db.systemitem.attlist =
10492 db.systemitem.role.attribute?
10493 & db.common.attributes
10494 & db.common.linking.attributes
10495 & db.systemitem.class.attribute?
10496 db.systemitem =
10497
10498 ## A system-related item or term
10499 element systemitem { db.systemitem.attlist, db.systemitem.inlines* }
10500 }
10501 div {
10502 db.option.role.attribute = attribute role { text }
10503 db.option.attlist =
10504 db.option.role.attribute?
10505 & db.common.attributes
10506 & db.common.linking.attributes
10507 db.option =
10508
10509 ## An option for a software command
10510 element option { db.option.attlist, db._text }
10511 }
10512 div {
10513 db.optional.role.attribute = attribute role { text }
10514 db.optional.attlist =
10515 db.optional.role.attribute?
10516 & db.common.attributes
10517 & db.common.linking.attributes
10518 db.optional =
10519
10520 ## Optional information
10521 element optional { db.optional.attlist, db._text }
10522 }
10523 div {
10524 db.property.role.attribute = attribute role { text }
10525 db.property.attlist =
10526 db.property.role.attribute?
10527 & db.common.attributes
10528 & db.common.linking.attributes
10529 db.property =
10530
10531 ## A unit of data associated with some part of a computer system
10532 element property { db.property.attlist, db._text }
10533 }
10534 div {
10535 db.topic.status.attribute = db.status.attribute
10536 db.topic.role.attribute = attribute role { text }
10537 db.topic.type.attribute =
10538
10539 ## Identifies the topic type
10540 attribute type { text }
10541 db.topic.attlist =
10542 db.topic.role.attribute?
10543 & db.topic.type.attribute?
10544 & db.common.attributes
10545 & db.common.linking.attributes
10546 & db.label.attribute?
10547 & db.topic.status.attribute?
10548 db.topic.info = db._info.title.req
10549 db.topic =
10550
10551 ## A modular unit of documentation not part of any particular narrative flow
10552 element topic {
10553 db.topic.attlist,
10554 db.topic.info,
10555 db.navigation.components*,
10556 db.toplevel.blocks.or.sections,
10557 db.navigation.components*
10558 }
10559 }
10560 start =
10561 db.assembly
10562 | db.resources
10563 | db.relationships
10564 | db.transforms
10565 | db.module
10566 db.grammar.attribute =
10567
10568 ## Identifies the markup grammar of a resource
10569 attribute grammar { text }
10570 div {
10571 db.assembly.role.attribute = attribute role { text }
10572 db.assembly.attlist =
10573 db.assembly.role.attribute? & db.common.attributes
10574 db.assembly.info = db._info
10575 db.assembly =
10576
10577 ## Defines the hierarchy and relationships for a collection of resources
10578 [
10579 s:pattern [
10580 name = "Root must have version"
10581 "\x{a}" ~
10582 " "
10583 s:rule [
10584 context = "/db:assembly"
10585 "\x{a}" ~
10586 " "
10587 s:assert [
10588 test = "@version"
10589 "If this element is the root element, it must have a version attribute."
10590 ]
10591 "\x{a}" ~
10592 " "
10593 ]
10594 "\x{a}" ~
10595 " "
10596 ]
10597 ]
10598 element assembly {
10599 db.assembly.attlist,
10600 db.assembly.info,
10601 db.resources+,
10602 db.structure*,
10603 db.relationships*,
10604 db.transforms?
10605 }
10606 }
10607 div {
10608 db.resources.role.attribute = attribute role { text }
10609 db.resources.grammar.attribute = db.grammar.attribute
10610 db.resources.attlist =
10611 db.resources.role.attribute?
10612 & db.resources.grammar.attribute?
10613 & db.common.attributes
10614 db.resources.info = db._info.title.forbidden
10615 db.resources =
10616
10617 ## Contains one or more resource objects that are managed by the assembly
10618 [
10619 s:pattern [
10620 name = "Root must have version"
10621 "\x{a}" ~
10622 " "
10623 s:rule [
10624 context = "/db:resources"
10625 "\x{a}" ~
10626 " "
10627 s:assert [
10628 test = "@version"
10629 "If this element is the root element, it must have a version attribute."
10630 ]
10631 "\x{a}" ~
10632 " "
10633 ]
10634 "\x{a}" ~
10635 " "
10636 ]
10637 ]
10638 element resources {
10639 db.resources.attlist,
10640 db.resources.info?,
10641 (db.description*, db.resource+)
10642 }
10643 }
10644 div {
10645 db.resource.role.attribute = attribute role { text }
10646 db.resource.fileref.attribute =
10647
10648 ## Indentifies the location of the data by URI
10649 attribute fileref { xsd:anyURI }
10650 db.resource.grammar.attribute = db.grammar.attribute
10651 db.resource.attlist =
10652 db.resource.role.attribute?
10653 & db.resource.grammar.attribute?
10654 & db.common.attributes
10655 db.resource =
10656
10657 ## Identifies an object managed within the assembly
10658 element resource {
10659 db.resource.attlist,
10660 db.resource.fileref.attribute,
10661 db.description*
10662 }
10663 }
10664 div {
10665 db.structure.role.attribute = attribute role { text }
10666 db.structure.type.attribute =
10667
10668 ## Identifies the structure type of the structure
10669 attribute type { xsd:NMTOKEN }
10670 db.structure.resourceref.attribute =
10671
10672 ## Indicates a single resource from which to construct this structure
10673 attribute resourceref { xsd:IDREF }
10674 db.structure.defaultformat.attribute =
10675
10676 ## Identifies the default format of the structure
10677 attribute defaultformat { xsd:NMTOKEN }
10678 db.structure.renderas.attribute =
10679
10680 ## Specifies the DocBook element to which this unit should be renamed
10681 attribute renderas { xsd:QName }
10682 db.structure.attlist =
10683 db.structure.role.attribute?
10684 & db.structure.type.attribute?
10685 & db.structure.resourceref.attribute?
10686 & db.structure.renderas.attribute?
10687 & db.structure.defaultformat.attribute?
10688 & db.common.attributes
10689 db.structure.info = db.info?
10690 db.structure =
10691
10692 ## Describes the structure of a document
10693 [
10694 s:pattern [
10695 name = "Specification of renderas"
10696 "\x{a}" ~
10697 " "
10698 s:rule [
10699 context = "db:structure"
10700 "\x{a}" ~
10701 " "
10702 s:assert [
10703 test = "@renderas and db:output/@renderas"
10704 "The renderas attribute can be specified on either the structure or output, but not both."
10705 ]
10706 "\x{a}" ~
10707 " "
10708 ]
10709 "\x{a}" ~
10710 " "
10711 ]
10712 ]
10713 element structure {
10714 db.structure.attlist,
10715 (db.output* & db.filterin? & db.filterout? & db.structure.info),
10716 db.merge?,
10717 db.revhistory?,
10718 db.module+
10719 }
10720 }
10721 div {
10722 db.output.role.attribute = attribute role { text }
10723 db.output.chunk.attribute =
10724
10725 ## Specifies chunking for this module
10726 [ a:defaultValue = "auto" ]
10727 attribute chunk { db.module.chunk.enumeration }
10728 db.output.format.attribute =
10729
10730 ## Identifies the format of the module or structure
10731 attribute format { xsd:NMTOKENS }
10732 db.output.file.attribute =
10733
10734 ## Specifies the output file for this module or structure
10735 attribute file { xsd:anyURI }
10736 db.output.renderas.attribute =
10737
10738 ## Specifies the DocBook element to which this unit should be renamed
10739 attribute renderas { xsd:QName }
10740 db.output.grammar.attribute = db.grammar.attribute
10741 db.output.transform.attribute =
10742
10743 ## Specifies the transformation that should be applied to this unit
10744 attribute transform { xsd:NMTOKEN }
10745 db.output.suppress.attribute =
10746
10747 ## Indicates whether or not this unit should be suppressed
10748 attribute suppress { xsd:boolean }
10749 db.output.attlist =
10750 db.output.role.attribute?
10751 & db.common.attributes
10752 & db.output.chunk.attribute?
10753 & db.output.format.attribute?
10754 & db.output.file.attribute?
10755 & db.output.renderas.attribute?
10756 & db.output.grammar.attribute?
10757 & db.output.transform.attribute?
10758 & db.output.suppress.attribute?
10759 db.output =
10760
10761 ## Specify an output format and/or file name and/or renderas
10762 element output { db.output.attlist, empty }
10763 }
10764 div {
10765 db.merge.role.attribute = attribute role { text }
10766 db.merge.resourceref.attribute =
10767
10768 ## Indicates a single resource from which to read merged info
10769 attribute resourceref { xsd:IDREF }
10770 db.merge.attlist =
10771 db.merge.role.attribute?
10772 & db.merge.resourceref.attribute?
10773 & db.common.attributes
10774 db.merge =
10775
10776 ## A wrapper for information that a module overrides in the resource it includes
10777 element merge { db.merge.attlist, (db._title & db.info.elements*) }
10778 }
10779 div {
10780 db.module.role.attribute = attribute role { text }
10781 db.module.chunk.enumeration =
10782
10783 ## This module will be in a chunk
10784 "true"
10785 |
10786 ## This module will not be in a chunk
10787 "false"
10788 |
10789 ## Chunking of this module depends on the overall chunking algorithm
10790 "auto"
10791 db.module.chunk.attribute =
10792
10793 ## Specifies chunking for this module
10794 [ a:defaultValue = "auto" ]
10795 attribute chunk { db.module.chunk.enumeration }
10796 db.module.resourceref.attribute =
10797
10798 ## Indicates a single resource from which to construct this module
10799 attribute resourceref { xsd:IDREF }
10800 db.module.omittitles.attribute =
10801
10802 ## Indicates if titles should be omitted when including a resource
10803 attribute omittitles { xsd:boolean }?
10804 db.module.contentonly.attribute =
10805
10806 ## Indicates if only the content should be copied when including a resource
10807 attribute contentonly { xsd:boolean }?
10808 db.module.renderas.attribute =
10809
10810 ## Specifies the DocBook element to which this unit should be renamed
10811 attribute renderas { xsd:QName }
10812 db.module.attlist =
10813 db.module.role.attribute?
10814 & db.module.chunk.attribute?
10815 & db.module.resourceref.attribute?
10816 & db.module.omittitles.attribute?
10817 & db.module.contentonly.attribute?
10818 & db.module.renderas.attribute?
10819 & db.common.attributes
10820 db.module.info = db.info?
10821 db.module =
10822
10823 ## A modular component within a structure
10824 [
10825 s:pattern [
10826 name = "Root must have version"
10827 "\x{a}" ~
10828 " "
10829 s:rule [
10830 context = "/db:module"
10831 "\x{a}" ~
10832 " "
10833 s:assert [
10834 test = "@version"
10835 "If this element is the root element, it must have a version attribute."
10836 ]
10837 "\x{a}" ~
10838 " "
10839 ]
10840 "\x{a}" ~
10841 " "
10842 ]
10843 s:pattern [
10844 name = "Specification of renderas"
10845 "\x{a}" ~
10846 " "
10847 s:rule [
10848 context = "db:module"
10849 "\x{a}" ~
10850 " "
10851 s:assert [
10852 test = "@renderas and db:output/@renderas"
10853 "The renderas attribute can be specified on either the structure or output, but not both."
10854 ]
10855 "\x{a}" ~
10856 " "
10857 ]
10858 "\x{a}" ~
10859 " "
10860 ]
10861 ]
10862 element module {
10863 db.module.attlist,
10864 ((db.output | db.filterin | db.filterout)*,
10865 db.module.info,
10866 db.merge?,
10867 db.module*)
10868 }
10869 }
10870 div {
10871 db.filterout.role.attribute = attribute role { text }
10872 db.filterout.attlist =
10873 db.filterout.role.attribute? & db.common.attributes
10874 db.filterout =
10875
10876 ## Elements with effectivity attributes matching this element are suppressed
10877 element filterout { db.filterout.attlist, empty }
10878 }
10879 div {
10880 db.filterin.role.attribute = attribute role { text }
10881 db.filterin.attlist =
10882 db.filterin.role.attribute? & db.common.attributes
10883 db.filterin =
10884
10885 ## Elements with effectivity attributes matching this element are allowed
10886 element filterin { db.filterin.attlist, empty }
10887 }
10888 div {
10889 db.relationships.role.attribute = attribute role { text }
10890 db.relationships.type.attribute =
10891
10892 ## Identifies the type of the contained relationships
10893 attribute type { xsd:NMTOKENS }
10894 db.relationships.attlist =
10895 db.relationships.role.attribute?
10896 & db.relationships.type.attribute?
10897 & db.common.attributes
10898 db.relationships.info = db._info
10899 db.relationships =
10900
10901 ## Groups relationship elements to define associations between resources
10902 [
10903 s:pattern [
10904 name = "Root must have version"
10905 "\x{a}" ~
10906 " "
10907 s:rule [
10908 context = "/db:relationships"
10909 "\x{a}" ~
10910 " "
10911 s:assert [
10912 test = "@version"
10913 "If this element is the root element, it must have a version attribute."
10914 ]
10915 "\x{a}" ~
10916 " "
10917 ]
10918 "\x{a}" ~
10919 " "
10920 ]
10921 ]
10922 element relationships {
10923 db.relationships.attlist,
10924 db.relationships.info,
10925 (db.relationship | db.instance)+
10926 }
10927 }
10928 div {
10929 db.relationship.role.attribute = attribute role { text }
10930 db.relationship.type.attribute =
10931
10932 ## Identifies the type of the relationship
10933 attribute type { xsd:NMTOKEN }
10934 db.relationship.attlist =
10935 db.relationship.role.attribute?
10936 & db.relationship.type.attribute?
10937 & db.linkend.attribute?
10938 & db.common.attributes
10939 db.relationship =
10940
10941 ## A relationship associates one or more resources
10942 element relationship {
10943 db.relationship.attlist, db.association, db.instance+
10944 }
10945 }
10946 div {
10947 db.association.role.attribute = attribute role { text }
10948 db.association.attlist =
10949 db.association.role.attribute?
10950 & db.linkend.attribute?
10951 & db.common.attributes
10952 db.association =
10953
10954 ## Identifies the type of relationship between one or more resources
10955 element association { db.association.attlist, text? }
10956 }
10957 div {
10958 db.instance.role.attribute = attribute role { text }
10959 db.instance.linking.attribute =
10960
10961 ## Specifies the type of link for this instance
10962 attribute linking { xsd:NMTOKENS }
10963 db.instance.attlist =
10964 db.instance.role.attribute?
10965 & db.instance.linking.attribute?
10966 & db.common.attributes
10967 db.instance =
10968
10969 ## Identifies a resource that is part of a relationship
10970 element instance {
10971 db.instance.attlist, db.linkend.attribute, empty
10972 }
10973 }
10974 div {
10975 db.transforms.role.attribute = attribute role { text }
10976 db.transforms.attlist =
10977 db.transforms.role.attribute? & db.common.attributes
10978 db.transforms.info = db._info
10979 db.transforms =
10980
10981 ## List of transforms for converting from non-DocBook schemas
10982 [
10983 s:pattern [
10984 name = "Root must have version"
10985 "\x{a}" ~
10986 " "
10987 s:rule [
10988 context = "/db:transforms"
10989 "\x{a}" ~
10990 " "
10991 s:assert [
10992 test = "@version"
10993 "If this element is the root element, it must have a version attribute."
10994 ]
10995 "\x{a}" ~
10996 " "
10997 ]
10998 "\x{a}" ~
10999 " "
11000 ]
11001 ]
11002 element transforms {
11003 db.transforms.attlist, db.transforms.info, db.transform+
11004 }
11005 }
11006 div {
11007 db.transform.role.attribute = attribute role { text }
11008 db.transform.grammar.attribute = db.grammar.attribute
11009 db.transform.fileref.attribute =
11010
11011 ## Indentifies the location of the data by URI
11012 attribute fileref { xsd:anyURI }
11013 db.transform.name.attribute =
11014
11015 ## Identifies the location of the data by reference
11016 attribute name { xsd:NMTOKEN }
11017 db.transform.attlist =
11018 db.transform.role.attribute?
11019 & (db.transform.grammar.attribute | db.transform.name.attribute)
11020 & db.transform.fileref.attribute
11021 & db.common.attributes
11022 db.transform =
11023
11024 ## Identifies a transform for converting from a non-DocBook schema
11025 element transform { db.transform.attlist, empty }
11026 }
11027 div {
11028 db.description.role.attribute = attribute role { text }
11029 db.description.attlist =
11030 db.description.role.attribute? & db.common.attributes
11031 db.description =
11032
11033 ## A description of a resource or resources
11034 element description { db.description.attlist, db._text }
11035 }