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