1<!--***********************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 ***********************************************************-->
21<!--
22Version 03-Feb-2006
23  added optional localize attribute to images
24-->
25
26<!ELEMENT ahelp (#PCDATA | embedvar | br | comment | emph | item | link | switchinline | variable)*>
27<!ATTLIST ahelp
28  hid CDATA #REQUIRED
29  visibility (hidden | visible) #IMPLIED
30>
31
32<!ELEMENT alt (#PCDATA)>
33<!ATTLIST alt
34  xml-lang CDATA #REQUIRED
35  id CDATA #REQUIRED
36  localize CDATA #IMPLIED
37>
38
39<!ELEMENT body (section | paragraph | table | comment | bookmark | switch | embed | list | sort)*>
40
41<!ELEMENT bookmark (bookmark_value)*>
42<!ATTLIST bookmark
43  branch CDATA #REQUIRED
44  xml-lang CDATA #REQUIRED
45  id CDATA #REQUIRED
46  localize CDATA #IMPLIED
47>
48
49<!ELEMENT bookmark_value (#PCDATA | embedvar)*>
50
51<!ELEMENT br EMPTY>
52
53<!ELEMENT caption (#PCDATA | embedvar | br | emph | item | link | switchinline | variable)*>
54<!ATTLIST caption
55  xml-lang CDATA #REQUIRED
56  id CDATA #REQUIRED
57  localize CDATA #IMPLIED
58>
59
60<!ELEMENT case (paragraph | table | comment | bookmark | embed | link | list | switch | section | sort)*>
61<!ATTLIST case
62  select CDATA #REQUIRED
63>
64
65<!ELEMENT caseinline (#PCDATA | image | embedvar | br | emph | item | link | switchinline | variable | ahelp | object)*>
66<!ATTLIST caseinline
67  select CDATA #REQUIRED
68>
69
70<!ELEMENT comment (#PCDATA)>
71
72<!ELEMENT created (#PCDATA)>
73<!ATTLIST created
74  date CDATA #REQUIRED
75>
76
77<!ELEMENT default (paragraph | table | comment | bookmark | embed | link | list | switch | section | sort)*>
78
79<!ELEMENT defaultinline (#PCDATA | image | embedvar | br | emph | item | link | switchinline | variable | ahelp | object)*>
80
81<!ELEMENT embed EMPTY>
82<!ATTLIST embed
83  href CDATA #REQUIRED
84  role CDATA #IMPLIED
85  level CDATA #IMPLIED
86>
87
88<!ELEMENT embedvar EMPTY>
89<!ATTLIST embedvar
90  href CDATA #REQUIRED
91  markup (keep | ignore) #IMPLIED
92>
93
94<!ELEMENT emph (#PCDATA | item | comment | help-id-missing)*>
95
96<!ELEMENT filename (#PCDATA)>
97
98<!ELEMENT helpdocument (meta, body)>
99<!ATTLIST helpdocument
100  version CDATA #REQUIRED
101>
102
103<!ELEMENT history (created, lastedited)>
104
105<!ELEMENT image (caption* | alt+)?>
106<!ATTLIST image
107  src CDATA #REQUIRED
108  width CDATA #IMPLIED
109  height CDATA #IMPLIED
110  id CDATA #REQUIRED
111  localize CDATA #IMPLIED
112>
113
114<!ELEMENT item (#PCDATA)>
115<!ATTLIST item
116  type CDATA #REQUIRED
117>
118
119<!ELEMENT lastedited (#PCDATA)>
120<!ATTLIST lastedited
121  date CDATA #REQUIRED
122>
123
124<!ELEMENT link (#PCDATA | embedvar | emph | item | variable | switchinline)*>
125<!ATTLIST link
126  href CDATA #REQUIRED
127  name CDATA #IMPLIED
128  type CDATA #IMPLIED
129  target CDATA #IMPLIED
130>
131
132<!ELEMENT list (listitem | (comment)*)+>
133<!ATTLIST list
134  type CDATA #REQUIRED
135  startwith CDATA #IMPLIED
136  format (1 | i | I | a | A) #IMPLIED
137  bullet (disc | circle | square) #IMPLIED
138  sorted (asc | desc) #IMPLIED
139>
140
141<!ELEMENT listitem (comment | section | paragraph | table | switch | embed | bookmark)*>
142<!ATTLIST listitem
143  format (1 | i | I | a | A) #IMPLIED
144  bullet (disc | circle | square) #IMPLIED
145	class CDATA #IMPLIED
146>
147
148<!ELEMENT meta (topic, history?)>
149
150<!ELEMENT object EMPTY>
151<!ATTLIST object
152  type CDATA #REQUIRED
153  id CDATA #REQUIRED
154  data CDATA #REQUIRED
155  height CDATA #IMPLIED
156  width CDATA #IMPLIED
157>
158
159<!ELEMENT paragraph (#PCDATA | image | comment | embedvar | br | emph | item | link | switchinline | variable | ahelp | object | bookmark | help-id-missing)*>
160<!ATTLIST paragraph
161  role CDATA #REQUIRED
162  level CDATA #IMPLIED
163  id CDATA #REQUIRED
164  l10n CDATA #IMPLIED
165  xml-lang CDATA #REQUIRED
166  oldref CDATA #IMPLIED
167  localize CDATA #IMPLIED
168>
169
170<!ELEMENT section (section | paragraph | table | list | comment | bookmark | embed | switch | sort )*>
171<!ATTLIST section
172  id CDATA #REQUIRED
173>
174
175<!ELEMENT sort (section+)>
176<!ATTLIST sort
177  order (asc | desc) #IMPLIED
178>
179
180<!ELEMENT switch ((case | comment)* | default?)*>
181<!ATTLIST switch
182  select (sys | appl | distrib | target | lang | ver) #REQUIRED
183>
184
185<!ELEMENT switchinline ((caseinline)+, (defaultinline?)?)>
186<!ATTLIST switchinline
187  select (sys | appl | distrib | target | ver | lang) #REQUIRED
188>
189
190<!ELEMENT table (caption*, tablerow+)>
191<!ATTLIST table
192  name CDATA #IMPLIED
193  width CDATA #IMPLIED
194  height CDATA #IMPLIED
195  unit CDATA #IMPLIED
196  class CDATA #IMPLIED
197  id CDATA #REQUIRED
198>
199
200<!ELEMENT tablecell (section | paragraph | comment | embed | bookmark | image | list)*>
201<!ATTLIST tablecell
202  colspan CDATA #IMPLIED
203  rowspan CDATA #IMPLIED
204  width CDATA #IMPLIED
205  class CDATA #IMPLIED
206  unit CDATA #IMPLIED
207>
208
209<!ELEMENT tablerow (tablecell+)>
210<!ATTLIST tablerow
211  height CDATA #IMPLIED
212  class CDATA #IMPLIED
213  unit CDATA #IMPLIED
214>
215
216<!ELEMENT title (#PCDATA)>
217<!ATTLIST title
218  xml-lang CDATA #REQUIRED
219  id CDATA #REQUIRED
220  localize CDATA #IMPLIED
221>
222
223<!ELEMENT topic (title+, filename, bookmark*)>
224<!ATTLIST topic
225  id CDATA #REQUIRED
226  indexer (exclude | include) #IMPLIED
227	status (DRAFT | FINAL | PUBLISH | STALLED | DEPRECATED) #IMPLIED
228>
229
230<!ELEMENT variable (#PCDATA | ahelp | embedvar | br | emph | item | link | variable | image | object | switchinline)*>
231<!ATTLIST variable
232  id CDATA #REQUIRED
233  visibility (hidden | visible) #IMPLIED
234>
235
236<!ELEMENT help-id-missing EMPTY>
237