📄 dblite.dtd
字号:
<!ELEMENT sect2 ( indexterm*,
title,
(%divcomponent.mix;|refentry|sect3)*
)>
<!-- simplify content model -->
<!ELEMENT sect3 ( indexterm*,
title,
(%divcomponent.mix;|refentry|sect4)*
)>
<!-- simplify content model -->
<!ELEMENT sect4 ( indexterm*,
title,
(%divcomponent.mix;|refentry)*
)>
<!-- make title optional, allow refentry -->
<!ELEMENT simplesect (
(
%sect.title.content;
)?,
(
%divcomponent.mix;
| glossentry
| refentry
)+
)
>
<!-- use different content model, defined above -->
<!ELEMENT title (#PCDATA
|abbrev|acronym|citation|citerefentry|citetitle|emphasis
|firstterm|foreignphrase|glossterm|footnote|phrase
|quote|trademark|wordasword|action|application
|classname|methodname|interfacename|exceptionname
|ooclass|oointerface|ooexception|command|computeroutput
|database|email|envar|errorcode|errorname|errortype|filename
|function|guibutton|guiicon|guilabel|guimenu|guimenuitem
|guisubmenu|hardware|interface|keycap
|keycode|keycombo|keysym|literal|constant|markup|medialabel
|menuchoice|mousebutton|option|optional|parameter
|prompt|property|replaceable|returnvalue|sgmltag|structfield
|structname|symbol|systemitem|token|type|userinput|varname
|remark|subscript|superscript)*>
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
OVERRIDE ATTLIST DECLS
-->
<!-- Make arearefs optional, add idref. -->
<!ATTLIST callout
arearefs IDREFS #IMPLIED
idref IDREF #IMPLIED
%common.attrib;
%callout.role.attrib;
%local.callout.attrib;
>
<!-- Make id optional -->
<!ATTLIST co
id IDREF #IMPLIED
linkend IDREF #IMPLIED
linkends IDREFS #IMPLIED
%label.attrib;
%co.role.attrib;
>
<!-- Make linkend optional, allow linkends -->
<!ATTLIST link
endterm IDREF #IMPLIED
linkend IDREF #IMPLIED
linkends IDREFS #IMPLIED
%common.attrib;
%link.role.attrib;
>
<!ATTLIST xref
endterm IDREF #IMPLIED
linkend IDREF #IMPLIED
linkends IDREFS #IMPLIED
%common.attrib;
%link.role.attrib;
>
<!-- Add more items to the class attribute -->
<!ATTLIST systemitem
class (constant
|groupname
|library
|macro
|osname
|resource
|systemname
|url
|username) #IMPLIED
%moreinfo.attrib;
%common.attrib;
%systemitem.role.attrib;
>
<!-- ======================================================================
NUTSHELL EXTENSION
====================================================================== -->
<!ELEMENT nutlist (
title?,
nutentry+
)>
<!ATTLIST nutlist
longestterm CDATA #IMPLIED
%common.attrib;
>
<!ELEMENT nutentry (
term*,
nutsynopsis*,
nutlisttitle?,
(
listitem
| nutentrybody
)+
)>
<!ATTLIST nutentry
%common.attrib;
>
<!ELEMENT nutsynopsis (%para.char.mix; | %para.mix;)*>
<!ATTLIST nutsynopsis
%common.attrib;
>
<!ELEMENT nutentrybody (
(%divcomponent.mix;)+
| sect2
| refsect2
)*
>
<!ATTLIST nutentrybody
%common.attrib;
>
<!ELEMENT nutlisttitle (#PCDATA
|abbrev|acronym|citation|citerefentry|citetitle|emphasis
|firstterm|foreignphrase|glossterm|footnote|phrase
|quote|trademark|wordasword|action|application
|classname|methodname|interfacename|exceptionname
|ooclass|oointerface|ooexception|command|computeroutput
|database|email|envar|errorcode|errorname|errortype|filename
|function|guibutton|guiicon|guilabel|guimenu|guimenuitem
|guisubmenu|hardware|interface|keycap
|keycode|keycombo|keysym|literal|constant|markup|medialabel
|menuchoice|mousebutton|option|optional|parameter
|prompt|property|replaceable|returnvalue|sgmltag|structfield
|structname|symbol|systemitem|token|type|userinput|varname
|remark|subscript|superscript)*>
<!ATTLIST nutlisttitle
%common.attrib;
>
<!-- ======================================================================
GENERATED CODE EXTENSION
====================================================================== -->
<!ENTITY % synop.content "
#PCDATA
| arg
| group
| option
| replaceable
">
<!ELEMENT arg
(%synop.content;)*
>
<!ATTLIST arg
choice (opt|req|plain) 'opt'
rep (norepeat|repeat) 'norepeat'
%common.attrib;
>
<!ELEMENT group
(%synop.content;)*
>
<!ATTLIST group
choice (opt|req|plain|optmult|reqmult) 'opt'
rep (norepeat|repeat) 'norepeat'
%common.attrib;
>
<!ELEMENT classsynopsis (
(
modifiers
| classname
| extends
| implements
| throws
| type
| members
| indexterm
)+
)>
<!ATTLIST classsynopsis
keyword CDATA #IMPLIED
%common.attrib;
>
<!ELEMENT cmdsynopsis (
(
command
| arg
| group
)+
)>
<!ATTLIST cmdsynopsis
sepchar CDATA " "
%common.attrib;
>
<!ELEMENT extends (
(
link
| classref
)*
)>
<!ELEMENT funcdef
( #PCDATA
| accessors
| modifiers
| function
| type
)*
>
<!ELEMENT funcparams
(%para.char.mix;)*
>
<!ELEMENT funcprototype (
(
funcdef
| paramdef
| classsynopsis
| extends
| implements
| throws
| accessors
)+
)>
<!ATTLIST funcprototype
flags CDATA #IMPLIED
%common.attrib;
>
<!ELEMENT funcsynopsis (
(
funcprototype
| funcdef
| varargs
| paramdef
)+
)>
<!ELEMENT implements (
(
link
| classref
)*
)>
<!ELEMENT membergroup (
(funcprototype
| structfield)+
)>
<!ELEMENT members (
title,
membergroup*
)>
<!ELEMENT modifiers
(#PCDATA)*
>
<!ELEMENT accessors (
accessor*
)>
<!ELEMENT accessor
(#PCDATA)*
>
<!ELEMENT varargs
(#PCDATA)*
>
<!ELEMENT paramdef
(
#PCDATA
| replaceable
| parameter
| modifiers
| type
| funcparams
)*
>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -