📄 dblite.dtd
字号:
<!--
DocBook Lite XML with ISO-8879 entities
PubID: "-//ORA//DTD DBLite XML//EN"
Derived from DocBook by the OASIS group
Please direct all questions, bug reports, or suggestions for
changes to <tools@oreilly.com>.
$Id: dblite.dtd,v 1.12 2002/08/07 20:53:18 eray Exp $
-->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
OVERRIDE ENTITY DECLS
-->
<!-- add url -->
<!ENTITY % local.bibliomisc.attrib "
url CDATA #IMPLIED
">
<!-- add url -->
<!ENTITY % local.citetitle.attrib "
url1 CDATA #IMPLIED
">
<!-- add sortas -->
<!ENTITY % local.seeseealso.attrib "
sortas CDATA #IMPLIED
">
<!-- remove format, add height -->
<!ENTITY % graphics.attrib "
entityref ENTITY #IMPLIED
fileref CDATA #IMPLIED
srccredit CDATA #IMPLIED
width CDATA #IMPLIED
depth CDATA #IMPLIED
align CDATA #IMPLIED
scale CDATA #IMPLIED
scalefit CDATA #IMPLIED
">
<!-- remove format -->
<!ENTITY % linespecific.attrib "
linenumbering CDATA #IMPLIED
">
<!-- remove format -->
<!ENTITY % objectdata.attrib "
entityref ENTITY #IMPLIED
fileref CDATA #IMPLIED
srccredit CDATA #IMPLIED
">
<!-- constrain chapter contents -->
<!ENTITY % bookcomponent.content "
(
indexterm
|refentry
|simplesect
|sect1
|section
)+
">
<!--
Marked sections to turn off so we can declare our own versions
of elements.
-->
<!ENTITY % appendix.element "IGNORE">
<!ENTITY % arg.attlist "IGNORE">
<!ENTITY % arg.element "IGNORE">
<!ENTITY % bibliodiv.element "IGNORE">
<!ENTITY % bibliomisc.element "IGNORE">
<!ENTITY % book.element "IGNORE">
<!ENTITY % callout.attlist "IGNORE">
<!ENTITY % chapter.element "IGNORE">
<!ENTITY % classsynopsis.attlist "IGNORE">
<!ENTITY % classsynopsis.element "IGNORE">
<!ENTITY % co.attlist "IGNORE">
<!ENTITY % colophon.element "IGNORE">
<!ENTITY % cmdsynopsis.attlist "IGNORE">
<!ENTITY % cmdsynopsis.element "IGNORE">
<!ENTITY % footnote.element "IGNORE">
<!ENTITY % funcdef.element "IGNORE">
<!ENTITY % funcparams.element "IGNORE">
<!ENTITY % funcprototype.attlist "IGNORE">
<!ENTITY % funcprototype.element "IGNORE">
<!ENTITY % funcsynopsis.element "IGNORE">
<!ENTITY % glossary.element "IGNORE">
<!ENTITY % group.attlist "IGNORE">
<!ENTITY % group.element "IGNORE">
<!ENTITY % link.attlist "IGNORE">
<!ENTITY % menuchoice.element "IGNORE">
<!ENTITY % paramdef.element "IGNORE">
<!ENTITY % programlisting.element "IGNORE">
<!ENTITY % refentry.element "IGNORE">
<!ENTITY % refmeta.element "IGNORE">
<!ENTITY % refmiscinfo.element "IGNORE">
<!ENTITY % refname.element "IGNORE">
<!ENTITY % refnamediv.element "IGNORE">
<!ENTITY % refsect1.element "IGNORE">
<!ENTITY % sect1.element "IGNORE">
<!ENTITY % sect2.element "IGNORE">
<!ENTITY % sect3.element "IGNORE">
<!ENTITY % sect4.element "IGNORE">
<!ENTITY % simplesect.element "IGNORE">
<!ENTITY % systemitem.attlist "IGNORE">
<!ENTITY % title.element "IGNORE">
<!ENTITY % varargs.element "IGNORE">
<!ENTITY % xref.attlist "IGNORE">
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
IMPORT DOCBOOK 4.1
-->
<!ENTITY % db
PUBLIC "-//OASIS//DTD DocBook XML V4.1//EN"
"docbook41/docbookx.dtd"
>
%db;
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
OVERRIDE ELEMENT DECLS
-->
<!-- simplify model -->
<!ELEMENT appendix ( indexterm*,
title,
appendixinfo?,
(
indexterm
| refentry
| simplesect
| sect1
| section
)*
)
>
<!-- allow paras after biblioentries -->
<!ELEMENT bibliodiv (
(%sect.title.content;)?,
(
%component.mix;
| biblioentry
| bibliomixed
)+
)
>
<!-- allow paras in content -->
<!ELEMENT bibliomisc (
#PCDATA | para
)*
>
<!-- simplify model -->
<!ELEMENT book (
title,
subtitle*,
bookinfo?,
toc?,
(
dedication
| preface
)*,
(
chapter
| part
)*,
(
appendix
| bibliography
| colophon
| glossary
| reference
)*
)
>
<!-- simplify model -->
<!ELEMENT chapter ( indexterm*,
title,
chapterinfo?,
(
indexterm
| refentry
| simplesect
| sect1
| section
)*
)
>
<!-- simplify model -->
<!ELEMENT colophon (
title?,
(
simplesect
| sect1
| section
)*
)
>
<!-- new element -->
<!ELEMENT copyrightpg (
title?,
(
simplesect
| sect1
| section
)*
)
>
<!-- use different content model, defined above -->
<!ELEMENT footnote ( literallayout
|programlisting
|screen
|para)*>
<!ELEMENT glossary ( indexterm*,
title,
(
glossdiv
| glossentry
| simplesect
| sect1
| section
)*
)
>
<!-- allow graphic -->
<!ELEMENT programlisting (%para.char.mix; | co | lineannotation | graphic)*>
<!-- simplify model -->
<!ELEMENT menuchoice (shortcut|guibutton|guiicon|guilabel
|guimenu|guimenuitem|guisubmenu|interface)*>
<!-- simplify model -->
<!ELEMENT refentry ( refmeta
| (%ndxterm.class;)*
| refnamediv
| refsect1
| refsynopsisdiv
| refentry
)*
>
<!-- simplify model -->
<!ELEMENT refmeta (
refentrytitle
| refmiscinfo
| (%ndxterm.class;)*
)*
>
<!-- allow inlines -->
<!ELEMENT refmiscinfo (#PCDATA
|%gen.char.class;
|%tech.char.class;)*>
<!-- allow inlines -->
<!ELEMENT refname (#PCDATA
|%gen.char.class;
|%tech.char.class;)*>
<!-- make refpurpose optional -->
<!ELEMENT refnamediv (
refdescriptor?,
refname,
refpurpose?,
refclass*,
(
remark
| %link.char.class;
)*
)
>
<!-- make title optional, simplify -->
<!ELEMENT refsect1 (
refsect1info?,
(
%refsect.title.content;
)*,
(
(
(
%refcomponent.mix;
)*,
refsect2*
)
)
)
>
<!-- simplify content model -->
<!ELEMENT sect1 ( indexterm*,
sect1info?,
title,
(%divcomponent.mix;|refentry|sect2)*
)>
<!-- simplify content model -->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -