summaryrefslogtreecommitdiff
blob: e9ebb517f415f03bb228a0ea9ce940bc16e83856 (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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
<!-- Import funny characters -->

<!ENTITY % funnychars SYSTEM "funnychars.dtd">

%funnychars;

<!ENTITY  % inline.class "sup|sub|b|brite|c|e|path|img|br|mail|uri|keyval">
<!ENTITY  % pre.class    "comment|i|keyword|ident|const|stmt|var|keyval|uri">
<!ENTITY  % lists.class  "ul|ol|dl">
<!ENTITY  % ti.class     "%inline.class;|%lists.class;|fig">
<!ENTITY  % block.class  "figure|fig|note|impo|warn|pre|p|table|%lists.class;">

<!ELEMENT title     (#PCDATA)>

<!ELEMENT values   (key+)>

<!ELEMENT key      (#PCDATA)>
<!ATTLIST key      id CDATA #IMPLIED>

<!ELEMENT author		(#PCDATA|mail)*>
<!ATTLIST author		title CDATA #IMPLIED>

<!ELEMENT mail      (#PCDATA)>
<!ATTLIST mail      link CDATA #IMPLIED>

<!ELEMENT uri       (#PCDATA|img)*>
<!ATTLIST uri       link CDATA #IMPLIED>

<!ELEMENT date			(#PCDATA)>

<!ELEMENT abstract	(#PCDATA)>

<!ELEMENT summary   (#PCDATA)>

<!ELEMENT license		EMPTY>
<!ATTLIST license		version CDATA #IMPLIED>

<!ELEMENT version		(#PCDATA)>

<!ELEMENT figure                EMPTY>
<!ATTLIST figure                caption CDATA #IMPLIED
                                short CDATA #IMPLIED
                                link CDATA #REQUIRED>

<!ELEMENT fig                   EMPTY>
<!ATTLIST fig                   short CDATA #IMPLIED
                                linkto CDATA #IMPLIED
                                link CDATA #REQUIRED>

<!ELEMENT img                   EMPTY>
<!ATTLIST img                   src CDATA #REQUIRED>

<!ELEMENT br                    EMPTY>

<!ELEMENT note                  (#PCDATA|%inline.class;)*>
<!ATTLIST note    test CDATA #IMPLIED>

<!ELEMENT impo                  (#PCDATA|%inline.class;)*>
<!ATTLIST impo    test CDATA #IMPLIED>

<!ELEMENT warn                  (#PCDATA|%inline.class;)*>
<!ATTLIST warn    test CDATA #IMPLIED>

<!ELEMENT pre                   (#PCDATA|%pre.class;)*>
<!ATTLIST pre                   caption CDATA #REQUIRED
                                test    CDATA #IMPLIED>

<!ELEMENT comment               (#PCDATA|%pre.class;|b)*>
<!ELEMENT i                     (#PCDATA|%pre.class;)*>
<!ELEMENT keyword               (#PCDATA|%pre.class;)*>
<!ELEMENT ident                 (#PCDATA|%pre.class;)*>
<!ELEMENT const                 (#PCDATA|%pre.class;)*>
<!ELEMENT stmt                  (#PCDATA|%pre.class;)*>
<!ELEMENT var                   (#PCDATA|%pre.class;)*>

<!ELEMENT glepindex	EMPTY>
<!ATTLIST glepindex status CDATA #IMPLIED
                    index  CDATA "/proj/en/glep/gleps.xml">

<!ATTLIST body    test CDATA #IMPLIED>

<!ELEMENT p            (#PCDATA|%inline.class;)*>
<!ATTLIST p      	  by   CDATA #IMPLIED
                    test CDATA #IMPLIED>

<!ELEMENT table                 (tcolumn*, tr+)>
<!ATTLIST table   test CDATA #IMPLIED>

<!ELEMENT tcolumn               EMPTY>
<!ATTLIST tcolumn               width CDATA #REQUIRED>

<!ELEMENT tr                    (th|ti)+>
<!ATTLIST tr     		id   CDATA #IMPLIED
                    test CDATA #IMPLIED>

<!ELEMENT th                    (#PCDATA|%inline.class;)*>
<!ATTLIST th        colspan CDATA #IMPLIED 
                    rowspan CDATA #IMPLIED
                    align (left|center|right) "left">

<!ELEMENT ti                    (#PCDATA|%ti.class;)*>
<!ATTLIST ti        colspan CDATA #IMPLIED 
                    rowspan CDATA #IMPLIED
                    align (left|center|right) "left">

<!ELEMENT dl      (dt|dd)+>

<!ELEMENT dt                    (#PCDATA|%inline.class;)*>

<!ELEMENT dd                    (#PCDATA|%inline.class;|ul|ol)*>

<!ELEMENT ul			(li+)>
<!ATTLIST ul      test CDATA #IMPLIED>

<!ELEMENT ol			(li+)>
<!ATTLIST ol      test CDATA #IMPLIED>

<!ELEMENT li                    (#PCDATA|%inline.class;|ul|ol)*>
<!ATTLIST li      test CDATA #IMPLIED>

<!ELEMENT sup                   (#PCDATA|%inline.class;)*>
<!ELEMENT sub                   (#PCDATA|%inline.class;)*>
<!ELEMENT b                     (#PCDATA|%inline.class;)*>
<!ELEMENT brite                 (#PCDATA|%inline.class;)*>
<!ELEMENT c                     (#PCDATA|%inline.class;)*>
<!ELEMENT e                     (#PCDATA|%inline.class;)*>
<!ELEMENT path                  (#PCDATA|%inline.class;)*>

<!ELEMENT keyval  EMPTY>
<!ATTLIST keyval  id CDATA #REQUIRED>

<!ATTLIST section  id   CDATA #IMPLIED
                   test CDATA #IMPLIED>

<!ELEMENT included ( version, date, (chapter|section|body)+ )>
<!ELEMENT include EMPTY>
<!ATTLIST include href CDATA #REQUIRED>