summaryrefslogtreecommitdiff
blob: 20e73b2677b496df006abcdb55b7bbb0d0426b82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<!ENTITY % common SYSTEM "common.dtd">

%common;

<!ELEMENT metadoc (version,members,categories,files,docs)>
<!ATTLIST metadoc lang     CDATA  #REQUIRED
                  parent   CDATA  #IMPLIED>
<!ELEMENT members (lead*,member*)>
<!ELEMENT lead    (#PCDATA)*>     <!-- <lead>nickname</lead> -->
<!ELEMENT member  (#PCDATA)*>
<!ATTLIST member  mail     CDATA  #IMPLIED
                  fullname CDATA  #IMPLIED>
<!ELEMENT categories       (cat)*>
<!ELEMENT cat     (#PCDATA)*>
<!ATTLIST cat     id       CDATA  #REQUIRED
                  parent   CDATA  #IMPLIED>
<!ELEMENT files   (file)*>
<!ELEMENT file    (#PCDATA)*>
<!ATTLIST file    id       ID #REQUIRED>
<!ELEMENT docs    (doc)*>
<!ELEMENT doc     (memberof*,bookref?,bugs?)>
<!ATTLIST doc     fileid   CDATA  #REQUIRED>
<!ELEMENT memberof         (#PCDATA)*>
<!ELEMENT bookref  EMPTY>
<!ATTLIST bookref vpart    CDATA  #IMPLIED
                  vchap    CDATA  #IMPLIED>
<!ELEMENT bugs    (bug*)>
<!ELEMENT bug     (#PCDATA)*>
<!ATTLIST bug     stopper  (yes|no) #IMPLIED
                  arch     CDATA    #IMPLIED>

<!ELEMENT dynamic (version?, title, intro?, (listing|catid*|overview))>
<!ATTLIST dynamic metadoc  CDATA  #REQUIRED>
<!ELEMENT intro   (section)*>       <!-- Section stuff copy/pasted from guide.dtd -->
<!ELEMENT listing (list)*>
<!ELEMENT list    (#PCDATA)*>
<!ELEMENT catid   (#PCDATA)*>
<!ELEMENT overview         EMPTY>


<!ELEMENT section   (include | (title?, body+))>

<!ELEMENT body      (include | (%block.class;)+)>