2 DocBook Lite XML with ISO-8879 entities
4 PubID: "-//ORA//DTD DBLite XML//EN"
6 Derived from DocBook by the OASIS group
8 Please direct all questions, bug reports, or suggestions for
9 changes to <tools@oreilly.com>.
11 $Id: dblite.dtd,v 1.19 2003/01/24 19:31:43 eray Exp $
15 <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
20 <!-- add nutlist as a new list type -->
21 <!ENTITY % local.list.class
"| nutlist">
24 <!ENTITY % local.bibliomisc.attrib
"
29 <!ENTITY % local.citetitle.attrib
"
34 <!ENTITY % local.seeseealso.attrib
"
38 <!-- remove format, add height -->
39 <!ENTITY % graphics.attrib
"
40 entityref ENTITY #IMPLIED
41 fileref CDATA #REQUIRED
42 srccredit CDATA #IMPLIED
47 scalefit CDATA #IMPLIED
50 <!-- remove format -->
51 <!ENTITY % linespecific.attrib
"
52 linenumbering CDATA #IMPLIED
55 <!-- remove format -->
56 <!ENTITY % objectdata.attrib
"
57 entityref ENTITY #IMPLIED
58 fileref CDATA #IMPLIED
59 srccredit CDATA #IMPLIED
62 <!-- constrain chapter contents -->
63 <!ENTITY % bookcomponent.content
"
76 Marked sections to turn off so we can declare our own versions
80 <!ENTITY % appendix.element
"IGNORE">
81 <!ENTITY % arg.attlist
"IGNORE">
82 <!ENTITY % arg.element
"IGNORE">
83 <!ENTITY % bibliodiv.element
"IGNORE">
84 <!ENTITY % bibliomisc.element
"IGNORE">
85 <!ENTITY % book.element
"IGNORE">
86 <!ENTITY % callout.attlist
"IGNORE">
87 <!ENTITY % chapter.element
"IGNORE">
88 <!ENTITY % classsynopsis.attlist
"IGNORE">
89 <!ENTITY % classsynopsis.element
"IGNORE">
90 <!ENTITY % co.attlist
"IGNORE">
91 <!ENTITY % colophon.element
"IGNORE">
92 <!ENTITY % cmdsynopsis.attlist
"IGNORE">
93 <!ENTITY % cmdsynopsis.element
"IGNORE">
94 <!ENTITY % example.element
"IGNORE">
95 <!ENTITY % footnote.element
"IGNORE">
96 <!ENTITY % funcdef.element
"IGNORE">
97 <!ENTITY % funcparams.element
"IGNORE">
98 <!ENTITY % funcprototype.attlist
"IGNORE">
99 <!ENTITY % funcprototype.element
"IGNORE">
100 <!ENTITY % funcsynopsis.element
"IGNORE">
101 <!ENTITY % glossary.element
"IGNORE">
102 <!ENTITY % group.attlist
"IGNORE">
103 <!ENTITY % group.element
"IGNORE">
104 <!ENTITY % link.attlist
"IGNORE">
105 <!ENTITY % menuchoice.element
"IGNORE">
106 <!ENTITY % paramdef.element
"IGNORE">
107 <!ENTITY % programlisting.element
"IGNORE">
108 <!ENTITY % refentry.element
"IGNORE">
109 <!ENTITY % refmeta.element
"IGNORE">
110 <!ENTITY % refmiscinfo.element
"IGNORE">
111 <!ENTITY % refname.element
"IGNORE">
112 <!ENTITY % refnamediv.element
"IGNORE">
113 <!ENTITY % refsect1.element
"IGNORE">
114 <!ENTITY % sect1.element
"IGNORE">
115 <!ENTITY % sect2.element
"IGNORE">
116 <!ENTITY % sect3.element
"IGNORE">
117 <!ENTITY % sect4.element
"IGNORE">
118 <!ENTITY % simplesect.element
"IGNORE">
119 <!ENTITY % systemitem.attlist
"IGNORE">
120 <!ENTITY % title.element
"IGNORE">
121 <!ENTITY % varargs.element
"IGNORE">
122 <!ENTITY % xref.attlist
"IGNORE">
125 <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
130 PUBLIC
"-//OASIS//DTD DocBook XML V4.1//EN"
131 "docbook41/docbookx.dtd"
136 <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
137 OVERRIDE ELEMENT DECLS
141 <!-- simplify model -->
142 <!ELEMENT appendix ( indexterm*,
155 <!-- allow paras after biblioentries -->
156 <!ELEMENT bibliodiv (
157 (%sect.title.content;)?,
166 <!-- allow paras in content -->
167 <!ELEMENT bibliomisc (
172 <!-- simplify model -->
196 <!-- simplify model -->
197 <!ELEMENT chapter ( indexterm*,
210 <!-- simplify model -->
222 <!ELEMENT copyrightpg (
232 <!-- simplify model -->
244 <!-- use different content model, defined above -->
245 <!ELEMENT footnote ( literallayout
250 <!ELEMENT glossary ( indexterm*,
262 <!-- allow graphic -->
263 <!ELEMENT programlisting (%para.char.mix; | co | lineannotation | graphic)*
>
265 <!-- simplify model -->
266 <!ELEMENT menuchoice (shortcut|guibutton|guiicon|guilabel
267 |guimenu|guimenuitem|guisubmenu|interface)*
>
270 <!-- simplify model -->
271 <!ELEMENT refentry ( refmeta
280 <!-- simplify model -->
288 <!-- allow inlines -->
289 <!ELEMENT refmiscinfo (#PCDATA
291 |%tech.char.class;)*
>
293 <!-- allow inlines -->
294 <!ELEMENT refname (#PCDATA
296 |%tech.char.class;)*
>
298 <!-- make refpurpose optional -->
299 <!ELEMENT refnamediv (
311 <!-- make title optional, simplify -->
315 %refsect.title.content;
328 <!-- simplify content model -->
329 <!ELEMENT sect1 ( indexterm*,
332 (%divcomponent.mix;|refentry|sect2)*
335 <!-- simplify content model -->
336 <!ELEMENT sect2 ( indexterm*,
338 (%divcomponent.mix;|refentry|sect3)*
341 <!-- simplify content model -->
342 <!ELEMENT sect3 ( indexterm*,
344 (%divcomponent.mix;|refentry|sect4)*
347 <!-- simplify content model -->
348 <!ELEMENT sect4 ( indexterm*,
350 (%divcomponent.mix;|refentry)*
353 <!-- make title optional, allow refentry -->
354 <!ELEMENT simplesect (
366 <!-- use different content model, defined above -->
367 <!ELEMENT title (#PCDATA
368 |abbrev|acronym|citation|citerefentry|citetitle|emphasis
369 |firstterm|foreignphrase|glossterm|footnote|phrase
370 |quote|trademark|wordasword|action|application
371 |classname|methodname|interfacename|exceptionname
372 |ooclass|oointerface|ooexception|command|computeroutput
373 |database|email|envar|errorcode|errorname|errortype|filename
374 |function|guibutton|guiicon|guilabel|guimenu|guimenuitem
375 |guisubmenu|hardware|interface|keycap
376 |keycode|keycombo|keysym|literal|constant|markup|medialabel
377 |menuchoice|mousebutton|option|optional|parameter
378 |prompt|property|replaceable|returnvalue|sgmltag|structfield
379 |structname|symbol|systemitem|token|type|userinput|varname
380 |remark|subscript|superscript)*
>
383 <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
384 OVERRIDE ATTLIST DECLS
388 <!-- Make arearefs optional, add idref. -->
390 arearefs IDREFS #IMPLIED
393 %callout.role.attrib;
394 %local.callout.attrib;
398 <!-- Make id optional -->
401 linkend IDREF #IMPLIED
402 linkends IDREFS #IMPLIED
408 <!-- Make linkend optional, allow linkends -->
410 endterm IDREF #IMPLIED
411 linkend IDREF #IMPLIED
412 linkends IDREFS #IMPLIED
417 endterm IDREF #IMPLIED
418 linkend IDREF #IMPLIED
419 linkends IDREFS #IMPLIED
425 <!-- Add more items to the class attribute -->
438 %systemitem.role.attrib;
442 <!-- ======================================================================
444 ====================================================================== -->
452 longestterm CDATA #IMPLIED
469 <!ELEMENT nutsynopsis (%para.char.mix; | %para.mix;)*
>
470 <!ATTLIST nutsynopsis
474 <!ELEMENT nutentrybody (%divcomponent.mix; | sect2 | refsect2)*
>
475 <!ATTLIST nutentrybody %common.attrib;
>
477 <!ELEMENT nutlisttitle (#PCDATA
478 |abbrev|acronym|citation|citerefentry|citetitle|emphasis
479 |firstterm|foreignphrase|glossterm|footnote|phrase
480 |quote|trademark|wordasword|action|application
481 |classname|methodname|interfacename|exceptionname
482 |ooclass|oointerface|ooexception|command|computeroutput
483 |database|email|envar|errorcode|errorname|errortype|filename
484 |function|guibutton|guiicon|guilabel|guimenu|guimenuitem
485 |guisubmenu|hardware|interface|keycap
486 |keycode|keycombo|keysym|literal|constant|markup|medialabel
487 |menuchoice|mousebutton|option|optional|parameter
488 |prompt|property|replaceable|returnvalue|sgmltag|structfield
489 |structname|symbol|systemitem|token|type|userinput|varname
490 |remark|subscript|superscript)*
>
492 <!ATTLIST nutlisttitle
497 <!-- ======================================================================
498 GENERATED CODE EXTENSION
499 ====================================================================== -->
501 <!ENTITY % synop.content
"
513 choice (opt|req|plain) 'opt'
514 rep (norepeat|repeat) 'norepeat'
523 choice (opt|req|plain|optmult|reqmult) 'opt'
524 rep (norepeat|repeat) 'norepeat'
528 <!ELEMENT classsynopsis (
540 <!ATTLIST classsynopsis
541 keyword CDATA #IMPLIED
545 <!ELEMENT cmdsynopsis (
552 <!ATTLIST cmdsynopsis
577 <!ELEMENT funcprototype (
588 <!ATTLIST funcprototype
593 <!ELEMENT funcsynopsis (
602 <!ELEMENT implements (
609 <!ELEMENT membergroup (
623 <!ELEMENT accessors (