]> granicus.if.org Git - apache/blob - docs/manual/style/common.dtd
apply Apache License, Version 2.0
[apache] / docs / manual / style / common.dtd
1 <?xml version='1.0' encoding='UTF-8' ?>
2
3 <!--
4  Copyright 2002-2004 Apache Software Foundation
5
6  Licensed under the Apache License, Version 2.0 (the "License");
7  you may not use this file except in compliance with the License.
8  You may obtain a copy of the License at
9
10      http://www.apache.org/licenses/LICENSE-2.0
11
12  Unless required by applicable law or agreed to in writing, software
13  distributed under the License is distributed on an "AS IS" BASIS,
14  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15  See the License for the specific language governing permissions and
16  limitations under the License.
17 -->
18
19 <!-- Character mnemonic entities -->
20
21 <!ENTITY % HTMLlat1 PUBLIC
22    "-//W3C//ENTITIES Latin 1 for XHTML//EN"
23    "http://www.w3.org/TR/xhtml1/DTD/xhtml-lat1.ent">
24 %HTMLlat1;
25
26 <!ENTITY % HTMLsymbol PUBLIC
27    "-//W3C//ENTITIES Symbols for XHTML//EN"
28    "http://www.w3.org/TR/xhtml1/DTD/xhtml-symbol.ent">
29 %HTMLsymbol;
30
31 <!ENTITY % HTMLspecial PUBLIC
32    "-//W3C//ENTITIES Special for XHTML//EN"
33    "http://www.w3.org/TR/xhtml1/DTD/xhtml-special.ent">
34 %HTMLspecial;
35
36 <!-- Generic tag entities -->
37
38 <!ENTITY % inlinetags "em | strong | code | a | br | directive | module | img
39 | cite | q | dfn | var | transnote">
40
41 <!ENTITY % blocktags "p | example | note | table | ul | ol | dl | pre
42 | blockquote">
43
44 <!ENTITY % Block "(%blocktags;)*">
45 <!ENTITY % Inline "(#PCDATA | %inlinetags;)*">
46 <!ENTITY % BlockOrInline "(#PCDATA | %inlinetags; | %blocktags;)*">
47
48 <!ELEMENT title %Inline;>
49
50 <!ELEMENT summary %Block;>
51
52 <!ELEMENT seealso %Inline;>
53
54 <!ELEMENT modulelist (module)+>
55
56 <!-- a page may have one or more sections. Each section is named by an
57      unique id. A section must have a title and some text. It may have
58      subsections and a list of related modules and directives -->
59 <!ELEMENT section (title, related?, (section | %blocktags;)*)>
60 <!ATTLIST section id ID #IMPLIED>
61
62 <!-- the lists of related modules and/or related directives -->
63 <!ELEMENT related (modulelist | directivelist)+>
64
65 <!-- list of related directives -->
66 <!ELEMENT directivelist (directive)+>
67
68 <!ELEMENT module (#PCDATA)>
69 <!ATTLIST module status CDATA  #IMPLIED>
70
71 <!ELEMENT directive (#PCDATA)>
72 <!ATTLIST directive  module CDATA  #IMPLIED
73                      type   CDATA  #IMPLIED
74                      status CDATA  #IMPLIED >
75
76 <!ELEMENT p %Inline;>
77 <!ATTLIST p class CDATA  #IMPLIED>
78
79 <!-- the indent element is used to indent code examples. example/indent and
80      code/indent is now replacing pre. -->
81 <!ELEMENT indent ( #PCDATA | indent | %inlinetags; )*>
82
83 <!ELEMENT em %Inline;>
84
85 <!ELEMENT strong %Inline;>
86
87 <!ELEMENT code (#PCDATA | indent | %inlinetags;)*>
88
89 <!ELEMENT cite %Inline;>
90
91 <!ELEMENT q %Inline;>
92
93 <!ELEMENT dfn %Inline;>
94
95 <!ELEMENT var %Inline;>
96
97 <!-- translators note -->
98 <!ELEMENT transnote %Inline;>
99
100 <!ELEMENT a %Inline;>
101 <!ATTLIST a  href CDATA #IMPLIED
102              name CDATA #IMPLIED
103              id   CDATA #IMPLIED
104              rel  CDATA #IMPLIED >
105
106 <!ELEMENT br EMPTY>
107
108 <!-- Note: The example and note elements should not have more then one
109            title. -->
110 <!ELEMENT example (#PCDATA | title | indent | %inlinetags; | %blocktags;)*>
111
112 <!ELEMENT note (#PCDATA | title | %inlinetags; | %blocktags;)*>
113 <!ATTLIST note type CDATA #IMPLIED>
114
115 <!ELEMENT table (columnspec | tr)+>
116 <!ATTLIST table summary     CDATA  #IMPLIED
117                 width       CDATA  #IMPLIED
118                 bgcolor     CDATA  #IMPLIED
119                 cellspacing CDATA  #IMPLIED
120                 cellpadding CDATA  #IMPLIED
121                 border      CDATA  #IMPLIED
122                 style       CDATA  #IMPLIED>
123
124 <!ELEMENT columnspec (column)+>
125
126 <!ELEMENT column EMPTY>
127 <!ATTLIST column width CDATA #IMPLIED>
128
129 <!ELEMENT tr (th | td)+>
130 <!ATTLIST tr valign CDATA #IMPLIED >
131
132 <!ELEMENT th %BlockOrInline;>
133 <!ATTLIST th  colspan  CDATA  #IMPLIED
134               rowspan  CDATA  #IMPLIED
135               class    CDATA  #IMPLIED >
136
137 <!ELEMENT td %BlockOrInline;>
138 <!ATTLIST td  colspan  CDATA  #IMPLIED
139               rowspan  CDATA  #IMPLIED
140               class    CDATA  #IMPLIED >
141
142 <!ELEMENT ul (li+)>
143
144 <!ELEMENT ol (li+)>
145 <!ATTLIST ol type CDATA  #IMPLIED>
146
147 <!ELEMENT li %BlockOrInline;>
148 <!ATTLIST li class    CDATA   #IMPLIED >
149
150 <!ELEMENT dl (dd | dt)+>
151
152 <!ELEMENT dt %Inline;>
153
154 <!ELEMENT dd %BlockOrInline;>
155
156 <!ELEMENT pre %Inline;>
157
158 <!ELEMENT img EMPTY>
159 <!ATTLIST img
160   src         CDATA   #REQUIRED
161   alt         CDATA   #REQUIRED
162   border      CDATA   #IMPLIED
163   height      CDATA   #IMPLIED
164   width       CDATA   #IMPLIED >
165
166 <!ELEMENT blockquote %Block;>
167 <!ATTLIST blockquote cite CDATA #IMPLIED >
168
169 <!-- The path and title of the parent document -->
170 <!ELEMENT parentdocument (#PCDATA)>
171 <!ATTLIST parentdocument href CDATA #REQUIRED >