Fixed typo
[TortoiseGit.git] / doc / source / dtd / dblite.dtd
blob42f7e6dbea000ce5e9e108ffdb9319c6acaab728
1 <!--
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.12 2002/08/07 20:53:18 eray Exp $
13 -->
15 <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
16 OVERRIDE ENTITY DECLS
18 -->
20 <!-- add url -->
21 <!ENTITY % local.bibliomisc.attrib "
22 url CDATA #IMPLIED
25 <!-- add url -->
26 <!ENTITY % local.citetitle.attrib "
27 url1 CDATA #IMPLIED
30 <!-- add sortas -->
31 <!ENTITY % local.seeseealso.attrib "
32 sortas CDATA #IMPLIED
35 <!-- remove format, add height -->
36 <!ENTITY % graphics.attrib "
37 entityref ENTITY #IMPLIED
38 fileref CDATA #IMPLIED
39 srccredit CDATA #IMPLIED
40 width CDATA #IMPLIED
41 depth CDATA #IMPLIED
42 align CDATA #IMPLIED
43 scale CDATA #IMPLIED
44 scalefit CDATA #IMPLIED
47 <!-- remove format -->
48 <!ENTITY % linespecific.attrib "
49 linenumbering CDATA #IMPLIED
52 <!-- remove format -->
53 <!ENTITY % objectdata.attrib "
54 entityref ENTITY #IMPLIED
55 fileref CDATA #IMPLIED
56 srccredit CDATA #IMPLIED
59 <!-- constrain chapter contents -->
60 <!ENTITY % bookcomponent.content "
62 indexterm
63 |refentry
64 |simplesect
65 |sect1
66 |section
71 <!--
73 Marked sections to turn off so we can declare our own versions
74 of elements.
76 -->
77 <!ENTITY % appendix.element "IGNORE">
78 <!ENTITY % arg.attlist "IGNORE">
79 <!ENTITY % arg.element "IGNORE">
80 <!ENTITY % bibliodiv.element "IGNORE">
81 <!ENTITY % bibliomisc.element "IGNORE">
82 <!ENTITY % book.element "IGNORE">
83 <!ENTITY % callout.attlist "IGNORE">
84 <!ENTITY % chapter.element "IGNORE">
85 <!ENTITY % classsynopsis.attlist "IGNORE">
86 <!ENTITY % classsynopsis.element "IGNORE">
87 <!ENTITY % co.attlist "IGNORE">
88 <!ENTITY % colophon.element "IGNORE">
89 <!ENTITY % cmdsynopsis.attlist "IGNORE">
90 <!ENTITY % cmdsynopsis.element "IGNORE">
91 <!ENTITY % footnote.element "IGNORE">
92 <!ENTITY % funcdef.element "IGNORE">
93 <!ENTITY % funcparams.element "IGNORE">
94 <!ENTITY % funcprototype.attlist "IGNORE">
95 <!ENTITY % funcprototype.element "IGNORE">
96 <!ENTITY % funcsynopsis.element "IGNORE">
97 <!ENTITY % glossary.element "IGNORE">
98 <!ENTITY % group.attlist "IGNORE">
99 <!ENTITY % group.element "IGNORE">
100 <!ENTITY % link.attlist "IGNORE">
101 <!ENTITY % menuchoice.element "IGNORE">
102 <!ENTITY % paramdef.element "IGNORE">
103 <!ENTITY % programlisting.element "IGNORE">
104 <!ENTITY % refentry.element "IGNORE">
105 <!ENTITY % refmeta.element "IGNORE">
106 <!ENTITY % refmiscinfo.element "IGNORE">
107 <!ENTITY % refname.element "IGNORE">
108 <!ENTITY % refnamediv.element "IGNORE">
109 <!ENTITY % refsect1.element "IGNORE">
110 <!ENTITY % sect1.element "IGNORE">
111 <!ENTITY % sect2.element "IGNORE">
112 <!ENTITY % sect3.element "IGNORE">
113 <!ENTITY % sect4.element "IGNORE">
114 <!ENTITY % simplesect.element "IGNORE">
115 <!ENTITY % systemitem.attlist "IGNORE">
116 <!ENTITY % title.element "IGNORE">
117 <!ENTITY % varargs.element "IGNORE">
118 <!ENTITY % xref.attlist "IGNORE">
121 <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
122 IMPORT DOCBOOK 4.1
125 <!ENTITY % db
126 PUBLIC "-//OASIS//DTD DocBook XML V4.1//EN"
127 "docbook41/docbookx.dtd"
129 %db;
132 <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
133 OVERRIDE ELEMENT DECLS
137 <!-- simplify model -->
138 <!ELEMENT appendix ( indexterm*,
139 title,
140 appendixinfo?,
142 indexterm
143 | refentry
144 | simplesect
145 | sect1
146 | section
151 <!-- allow paras after biblioentries -->
152 <!ELEMENT bibliodiv (
153 (%sect.title.content;)?,
155 %component.mix;
156 | biblioentry
157 | bibliomixed
162 <!-- allow paras in content -->
163 <!ELEMENT bibliomisc (
164 #PCDATA | para
168 <!-- simplify model -->
169 <!ELEMENT book (
170 title,
171 subtitle*,
172 bookinfo?,
173 toc?,
175 dedication
176 | preface
179 chapter
180 | part
183 appendix
184 | bibliography
185 | colophon
186 | glossary
187 | reference
188 | index
193 <!-- simplify model -->
194 <!ELEMENT chapter ( indexterm*,
195 title,
196 chapterinfo?,
198 indexterm
199 | refentry
200 | simplesect
201 | sect1
202 | section
207 <!-- simplify model -->
208 <!ELEMENT colophon (
209 title?,
211 simplesect
212 | sect1
213 | section
218 <!-- new element -->
219 <!ELEMENT copyrightpg (
220 title?,
222 simplesect
223 | sect1
224 | section
229 <!-- use different content model, defined above -->
230 <!ELEMENT footnote ( literallayout
231 |programlisting
232 |screen
233 |para)*>
235 <!ELEMENT glossary ( indexterm*,
236 title,
238 glossdiv
239 | glossentry
240 | simplesect
241 | sect1
242 | section
247 <!-- allow graphic -->
248 <!ELEMENT programlisting (%para.char.mix; | co | lineannotation | graphic)*>
250 <!-- simplify model -->
251 <!ELEMENT menuchoice (shortcut|guibutton|guiicon|guilabel
252 |guimenu|guimenuitem|guisubmenu|interface)*>
255 <!-- simplify model -->
256 <!ELEMENT refentry ( refmeta
257 | (%ndxterm.class;)*
258 | refnamediv
259 | refsect1
260 | refsynopsisdiv
261 | refentry
265 <!-- simplify model -->
266 <!ELEMENT refmeta (
267 refentrytitle
268 | refmiscinfo
269 | (%ndxterm.class;)*
273 <!-- allow inlines -->
274 <!ELEMENT refmiscinfo (#PCDATA
275 |%gen.char.class;
276 |%tech.char.class;)*>
278 <!-- allow inlines -->
279 <!ELEMENT refname (#PCDATA
280 |%gen.char.class;
281 |%tech.char.class;)*>
283 <!-- make refpurpose optional -->
284 <!ELEMENT refnamediv (
285 refdescriptor?,
286 refname,
287 refpurpose?,
288 refclass*,
290 remark
291 | %link.char.class;
296 <!-- make title optional, simplify -->
297 <!ELEMENT refsect1 (
298 refsect1info?,
300 %refsect.title.content;
305 %refcomponent.mix;
307 refsect2*
313 <!-- simplify content model -->
314 <!ELEMENT sect1 ( indexterm*,
315 sect1info?,
316 title,
317 (%divcomponent.mix;|refentry|sect2)*
320 <!-- simplify content model -->
321 <!ELEMENT sect2 ( indexterm*,
322 title,
323 (%divcomponent.mix;|refentry|sect3)*
326 <!-- simplify content model -->
327 <!ELEMENT sect3 ( indexterm*,
328 title,
329 (%divcomponent.mix;|refentry|sect4)*
332 <!-- simplify content model -->
333 <!ELEMENT sect4 ( indexterm*,
334 title,
335 (%divcomponent.mix;|refentry)*
338 <!-- make title optional, allow refentry -->
339 <!ELEMENT simplesect (
341 %sect.title.content;
342 )?,
344 %divcomponent.mix;
345 | glossentry
346 | refentry
351 <!-- use different content model, defined above -->
352 <!ELEMENT title (#PCDATA
353 |abbrev|acronym|citation|citerefentry|citetitle|emphasis
354 |firstterm|foreignphrase|glossterm|footnote|phrase
355 |quote|trademark|wordasword|action|application
356 |classname|methodname|interfacename|exceptionname
357 |ooclass|oointerface|ooexception|command|computeroutput
358 |database|email|envar|errorcode|errorname|errortype|filename
359 |function|guibutton|guiicon|guilabel|guimenu|guimenuitem
360 |guisubmenu|hardware|interface|keycap
361 |keycode|keycombo|keysym|literal|constant|markup|medialabel
362 |menuchoice|mousebutton|option|optional|parameter
363 |prompt|property|replaceable|returnvalue|sgmltag|structfield
364 |structname|symbol|systemitem|token|type|userinput|varname
365 |remark|subscript|superscript)*>
368 <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
369 OVERRIDE ATTLIST DECLS
373 <!-- Make arearefs optional, add idref. -->
374 <!ATTLIST callout
375 arearefs IDREFS #IMPLIED
376 idref IDREF #IMPLIED
377 %common.attrib;
378 %callout.role.attrib;
379 %local.callout.attrib;
383 <!-- Make id optional -->
384 <!ATTLIST co
385 id IDREF #IMPLIED
386 linkend IDREF #IMPLIED
387 linkends IDREFS #IMPLIED
388 %label.attrib;
389 %co.role.attrib;
393 <!-- Make linkend optional, allow linkends -->
394 <!ATTLIST link
395 endterm IDREF #IMPLIED
396 linkend IDREF #IMPLIED
397 linkends IDREFS #IMPLIED
398 %common.attrib;
399 %link.role.attrib;
401 <!ATTLIST xref
402 endterm IDREF #IMPLIED
403 linkend IDREF #IMPLIED
404 linkends IDREFS #IMPLIED
405 %common.attrib;
406 %link.role.attrib;
410 <!-- Add more items to the class attribute -->
411 <!ATTLIST systemitem
412 class (constant
413 |groupname
414 |library
415 |macro
416 |osname
417 |resource
418 |systemname
419 |url
420 |username) #IMPLIED
421 %moreinfo.attrib;
422 %common.attrib;
423 %systemitem.role.attrib;
427 <!-- ======================================================================
428 NUTSHELL EXTENSION
429 ====================================================================== -->
432 <!ELEMENT nutlist (
433 title?,
434 nutentry+
436 <!ATTLIST nutlist
437 longestterm CDATA #IMPLIED
438 %common.attrib;
441 <!ELEMENT nutentry (
442 term*,
443 nutsynopsis*,
444 nutlisttitle?,
446 listitem
447 | nutentrybody
450 <!ATTLIST nutentry
451 %common.attrib;
454 <!ELEMENT nutsynopsis (%para.char.mix; | %para.mix;)*>
455 <!ATTLIST nutsynopsis
456 %common.attrib;
459 <!ELEMENT nutentrybody (
460 (%divcomponent.mix;)+
461 | sect2
462 | refsect2
465 <!ATTLIST nutentrybody
466 %common.attrib;
469 <!ELEMENT nutlisttitle (#PCDATA
470 |abbrev|acronym|citation|citerefentry|citetitle|emphasis
471 |firstterm|foreignphrase|glossterm|footnote|phrase
472 |quote|trademark|wordasword|action|application
473 |classname|methodname|interfacename|exceptionname
474 |ooclass|oointerface|ooexception|command|computeroutput
475 |database|email|envar|errorcode|errorname|errortype|filename
476 |function|guibutton|guiicon|guilabel|guimenu|guimenuitem
477 |guisubmenu|hardware|interface|keycap
478 |keycode|keycombo|keysym|literal|constant|markup|medialabel
479 |menuchoice|mousebutton|option|optional|parameter
480 |prompt|property|replaceable|returnvalue|sgmltag|structfield
481 |structname|symbol|systemitem|token|type|userinput|varname
482 |remark|subscript|superscript)*>
484 <!ATTLIST nutlisttitle
485 %common.attrib;
489 <!-- ======================================================================
490 GENERATED CODE EXTENSION
491 ====================================================================== -->
493 <!ENTITY % synop.content "
494 #PCDATA
495 | arg
496 | group
497 | option
498 | replaceable
501 <!ELEMENT arg
502 (%synop.content;)*
504 <!ATTLIST arg
505 choice (opt|req|plain) 'opt'
506 rep (norepeat|repeat) 'norepeat'
507 %common.attrib;
510 <!ELEMENT group
511 (%synop.content;)*
514 <!ATTLIST group
515 choice (opt|req|plain|optmult|reqmult) 'opt'
516 rep (norepeat|repeat) 'norepeat'
517 %common.attrib;
520 <!ELEMENT classsynopsis (
522 modifiers
523 | classname
524 | extends
525 | implements
526 | throws
527 | type
528 | members
529 | indexterm
532 <!ATTLIST classsynopsis
533 keyword CDATA #IMPLIED
534 %common.attrib;
537 <!ELEMENT cmdsynopsis (
539 command
540 | arg
541 | group
544 <!ATTLIST cmdsynopsis
545 sepchar CDATA " "
546 %common.attrib;
549 <!ELEMENT extends (
551 link
552 | classref
556 <!ELEMENT funcdef
557 ( #PCDATA
558 | accessors
559 | modifiers
560 | function
561 | type
565 <!ELEMENT funcparams
566 (%para.char.mix;)*
569 <!ELEMENT funcprototype (
571 funcdef
572 | paramdef
573 | classsynopsis
574 | extends
575 | implements
576 | throws
577 | accessors
580 <!ATTLIST funcprototype
581 flags CDATA #IMPLIED
582 %common.attrib;
585 <!ELEMENT funcsynopsis (
587 funcprototype
588 | funcdef
589 | varargs
590 | paramdef
594 <!ELEMENT implements (
596 link
597 | classref
601 <!ELEMENT membergroup (
602 (funcprototype
603 | structfield)+
606 <!ELEMENT members (
607 title,
608 membergroup*
611 <!ELEMENT modifiers
612 (#PCDATA)*
615 <!ELEMENT accessors (
616 accessor*
619 <!ELEMENT accessor
620 (#PCDATA)*
623 <!ELEMENT varargs
624 (#PCDATA)*
627 <!ELEMENT paramdef
629 #PCDATA
630 | replaceable
631 | parameter
632 | modifiers
633 | type
634 | funcparams