summaryrefslogtreecommitdiff
blob: 4b98657be6b9d052bce19a254e9e63d1e6a9beed (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
<!ENTITY % common SYSTEM "common.dtd">

%common;

<!ELEMENT mainpage  (title, author+, abstract?, license?, version, date?, (devmap? | newsitems? | (mirrorlist|chapter)+))>
<!ATTLIST mainpage
          redirect     CDATA #IMPLIED
          lang         CDATA #IMPLIED>

<!ELEMENT newsitems EMPTY>

<!ELEMENT devmap    EMPTY>

<!ELEMENT guide			(title, subtitle?, values?, author+, abstract, summary?, license?, version, date, faqindex?, chapter+)>
<!ATTLIST guide         type CDATA #IMPLIED
                        disclaimer (articles|oldbook|draft|obsolete) #IMPLIED
                        redirect CDATA #IMPLIED
                        lang CDATA #IMPLIED>

<!ELEMENT news			(poster, date, title, summary?, body)>
<!ATTLIST news			gentoo (yes|no) "no"
						      category (gentoo|main|linux|moo|plans|birthday) #REQUIRED>

<!ELEMENT subtitle		(#PCDATA)>

<!ELEMENT poster    (#PCDATA)>

<!ELEMENT faqindex  (title, section?)>

<!ELEMENT chapter		(include | (title, section+))>
<!ATTLIST chapter   id CDATA #IMPLIED>

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

<!ELEMENT body      (mirrorlist | include | (%block.class;|glsa-latest|glsaindex|glepindex)+)>

<!ELEMENT glsaindex	EMPTY>
<!ELEMENT glsa-latest EMPTY>

<!ELEMENT mirrorlist EMPTY>
<!ATTLIST mirrorlist select (full|partial)  'full'>
<!ATTLIST mirrorlist src    CDATA           '/main/en/mirrors3.xml'>