view dtd/module.dtd @ 1017:9f9a427a73eb

Fixed broken links to chinese versions of some modules. The chinese version contains untranslated copies of english documentation for random_index and realip modules. The result is the appearance of 'translation to chinese' link for this modules pointing to non-existing document. This files are removed. Also, broken links are generated for the chinese version of the "flv" module, but the translation exists, although not enabled for publication. Since contents of file looks like a valid translation, it is allowed to be published.
author Vladimir Homutov <vl@nginx.com>
date Mon, 18 Nov 2013 12:48:10 +0400
parents aded7086e84f
children 1594ed379f1f
line wrap: on
line source

<!--
  Copyright (C) Igor Sysoev
  Copyright (C) Nginx, Inc.
  -->


<!ELEMENT   module      (section+) >
<!ATTLIST   module
            name        CDATA #REQUIRED
            link        CDATA #REQUIRED
            lang        CDATA #REQUIRED
            rev         CDATA #IMPLIED
            translator  CDATA #IMPLIED
            toc         (yes | no) "yes"
>

<!ELEMENT   section     (directive | para)+ >
<!ATTLIST   section
            id          ID #REQUIRED
            name        CDATA #IMPLIED
>

<!ELEMENT   directive   (syntax+, default+, context+, appeared-in*, para+) >
<!ATTLIST   directive
            name        ID #REQUIRED
>

<!ELEMENT   syntax      (#PCDATA | literal | value)* >
<!ATTLIST   syntax
            block       (yes | no) "no"
>

<!ELEMENT   default     (#PCDATA)* >

<!ELEMENT   context     (#PCDATA)* >

<!ELEMENT   appeared-in (#PCDATA)* >

<!ELEMENT   para        (#PCDATA | c-def | c-func | command |
                         emphasis | example | header | http-status | link |
                         list | literal | note | path | value | var |
                         mainline_version | stable_version | commercial_version)* >

<!ELEMENT   c-def       (#PCDATA)* >

<!ELEMENT   c-func      (#PCDATA)* >

<!ELEMENT   command     (#PCDATA)* >

<!ELEMENT   emphasis    (#PCDATA | value)* >

<!ELEMENT   example     (#PCDATA | value | emphasis)* >

<!ELEMENT   header      (#PCDATA | value)* >

<!ELEMENT   http-status EMPTY >
<!ATTLIST   http-status
            code        CDATA #REQUIRED
            text        CDATA #IMPLIED
>

<!ELEMENT   link        (#PCDATA)* >
<!ATTLIST   link
            doc         CDATA #IMPLIED
            id          CDATA #IMPLIED
            url         CDATA #IMPLIED
>

<!ELEMENT   list        (listitem+ | (tag-name | tag-desc)+) >
<!ATTLIST   list
            type        (bullet | enum | tag) #REQUIRED
            compact     (yes | no) "yes"
>

<!ELEMENT   listitem    ANY >
<!ATTLIST   listitem
            id          ID #IMPLIED
>

<!ELEMENT   tag-name    ANY >
<!ATTLIST   tag-name
            id          ID #IMPLIED
>

<!ELEMENT   tag-desc    ANY >

<!ELEMENT   literal     (#PCDATA | value)* >

<!ELEMENT   note        ANY >

<!ELEMENT   path        (#PCDATA)* >

<!ELEMENT   value       (#PCDATA)* >

<!ELEMENT   var         (#PCDATA)* >

<!ENTITY    nbsp        "&#xA0;" >
<!ENTITY    mdash       "&nbsp;- " >

<!ELEMENT   mainline_version    EMPTY >
<!ELEMENT   stable_version      EMPTY >
<!ELEMENT   commercial_version  EMPTY >