nginx/docs/dtd/module.dtd

81 lines
1.9 KiB
DTD

<!ELEMENT module (section+) >
<!ATTLIST module
name CDATA #REQUIRED
id ID #REQUIRED
>
<!ELEMENT section (directive | para)+ >
<!ATTLIST section
name CDATA #REQUIRED
id ID #IMPLIED
>
<!ELEMENT directive (syntax+, default, context+, para+) >
<!ATTLIST directive
name ID #REQUIRED
appeared-in CDATA #IMPLIED
>
<!ELEMENT syntax (#PCDATA | argument | code | parameter | value)* >
<!ELEMENT default (#PCDATA | code)* >
<!ELEMENT context (#PCDATA)* >
<!ELEMENT para (#PCDATA | argument | c-def | c-func | code | command |
dq | emphasis | example | header | http-error | link |
list | note | parameter | pathname | value | var)* >
<!ELEMENT argument (#PCDATA)* >
<!ELEMENT c-def (#PCDATA)* >
<!ELEMENT c-func (#PCDATA)* >
<!ELEMENT code (#PCDATA | value)* >
<!ELEMENT command (#PCDATA)* >
<!ELEMENT dq ANY >
<!ELEMENT emphasis (#PCDATA)* >
<!ELEMENT example (#PCDATA)* >
<!ELEMENT header (#PCDATA | argument)* >
<!ELEMENT http-error EMPTY >
<!ATTLIST http-error
code CDATA #REQUIRED
text CDATA #IMPLIED
>
<!ELEMENT link (#PCDATA)* >
<!ATTLIST link
doc CDATA #IMPLIED
id CDATA #IMPLIED
>
<!ELEMENT list (listitem+ | (tag-name | tag-desc)+) >
<!ATTLIST list
type (bullet | enum | tag) #REQUIRED
>
<!ELEMENT listitem ANY >
<!ELEMENT tag-name ANY >
<!ELEMENT tag-desc ANY >
<!ELEMENT note ANY >
<!ELEMENT parameter (#PCDATA)* >
<!ELEMENT pathname (#PCDATA)* >
<!ELEMENT value (#PCDATA)* >
<!ELEMENT var (#PCDATA)* >
<!ENTITY nbsp "&#xA0;" >
<!ENTITY mdash "&nbsp;- " >