1*cdf0e10cSrcweir<!--
2*cdf0e10cSrcweirVersion 03-Feb-2006
3*cdf0e10cSrcweir  added optional localize attribute to images
4*cdf0e10cSrcweir-->
5*cdf0e10cSrcweir
6*cdf0e10cSrcweir<!ELEMENT ahelp (#PCDATA | embedvar | br | comment | emph | item | link | switchinline | variable)*>
7*cdf0e10cSrcweir<!ATTLIST ahelp
8*cdf0e10cSrcweir  hid CDATA #REQUIRED
9*cdf0e10cSrcweir  visibility (hidden | visible) #IMPLIED
10*cdf0e10cSrcweir>
11*cdf0e10cSrcweir
12*cdf0e10cSrcweir<!ELEMENT alt (#PCDATA)>
13*cdf0e10cSrcweir<!ATTLIST alt
14*cdf0e10cSrcweir  xml-lang CDATA #REQUIRED
15*cdf0e10cSrcweir  id CDATA #REQUIRED
16*cdf0e10cSrcweir  localize CDATA #IMPLIED
17*cdf0e10cSrcweir>
18*cdf0e10cSrcweir
19*cdf0e10cSrcweir<!ELEMENT body (section | paragraph | table | comment | bookmark | switch | embed | list | sort)*>
20*cdf0e10cSrcweir
21*cdf0e10cSrcweir<!ELEMENT bookmark (bookmark_value)*>
22*cdf0e10cSrcweir<!ATTLIST bookmark
23*cdf0e10cSrcweir  branch CDATA #REQUIRED
24*cdf0e10cSrcweir  xml-lang CDATA #REQUIRED
25*cdf0e10cSrcweir  id CDATA #REQUIRED
26*cdf0e10cSrcweir  localize CDATA #IMPLIED
27*cdf0e10cSrcweir>
28*cdf0e10cSrcweir
29*cdf0e10cSrcweir<!ELEMENT bookmark_value (#PCDATA | embedvar)*>
30*cdf0e10cSrcweir
31*cdf0e10cSrcweir<!ELEMENT br EMPTY>
32*cdf0e10cSrcweir
33*cdf0e10cSrcweir<!ELEMENT caption (#PCDATA | embedvar | br | emph | item | link | switchinline | variable)*>
34*cdf0e10cSrcweir<!ATTLIST caption
35*cdf0e10cSrcweir  xml-lang CDATA #REQUIRED
36*cdf0e10cSrcweir  id CDATA #REQUIRED
37*cdf0e10cSrcweir  localize CDATA #IMPLIED
38*cdf0e10cSrcweir>
39*cdf0e10cSrcweir
40*cdf0e10cSrcweir<!ELEMENT case (paragraph | table | comment | bookmark | embed | link | list | switch | section | sort)*>
41*cdf0e10cSrcweir<!ATTLIST case
42*cdf0e10cSrcweir  select CDATA #REQUIRED
43*cdf0e10cSrcweir>
44*cdf0e10cSrcweir
45*cdf0e10cSrcweir<!ELEMENT caseinline (#PCDATA | image | embedvar | br | emph | item | link | switchinline | variable | ahelp | object)*>
46*cdf0e10cSrcweir<!ATTLIST caseinline
47*cdf0e10cSrcweir  select CDATA #REQUIRED
48*cdf0e10cSrcweir>
49*cdf0e10cSrcweir
50*cdf0e10cSrcweir<!ELEMENT comment (#PCDATA)>
51*cdf0e10cSrcweir
52*cdf0e10cSrcweir<!ELEMENT created (#PCDATA)>
53*cdf0e10cSrcweir<!ATTLIST created
54*cdf0e10cSrcweir  date CDATA #REQUIRED
55*cdf0e10cSrcweir>
56*cdf0e10cSrcweir
57*cdf0e10cSrcweir<!ELEMENT default (paragraph | table | comment | bookmark | embed | link | list | switch | section | sort)*>
58*cdf0e10cSrcweir
59*cdf0e10cSrcweir<!ELEMENT defaultinline (#PCDATA | image | embedvar | br | emph | item | link | switchinline | variable | ahelp | object)*>
60*cdf0e10cSrcweir
61*cdf0e10cSrcweir<!ELEMENT embed EMPTY>
62*cdf0e10cSrcweir<!ATTLIST embed
63*cdf0e10cSrcweir  href CDATA #REQUIRED
64*cdf0e10cSrcweir  role CDATA #IMPLIED
65*cdf0e10cSrcweir  level CDATA #IMPLIED
66*cdf0e10cSrcweir>
67*cdf0e10cSrcweir
68*cdf0e10cSrcweir<!ELEMENT embedvar EMPTY>
69*cdf0e10cSrcweir<!ATTLIST embedvar
70*cdf0e10cSrcweir  href CDATA #REQUIRED
71*cdf0e10cSrcweir  markup (keep | ignore) #IMPLIED
72*cdf0e10cSrcweir>
73*cdf0e10cSrcweir
74*cdf0e10cSrcweir<!ELEMENT emph (#PCDATA | item | comment | help-id-missing)*>
75*cdf0e10cSrcweir
76*cdf0e10cSrcweir<!ELEMENT filename (#PCDATA)>
77*cdf0e10cSrcweir
78*cdf0e10cSrcweir<!ELEMENT helpdocument (meta, body)>
79*cdf0e10cSrcweir<!ATTLIST helpdocument
80*cdf0e10cSrcweir  version CDATA #REQUIRED
81*cdf0e10cSrcweir>
82*cdf0e10cSrcweir
83*cdf0e10cSrcweir<!ELEMENT history (created, lastedited)>
84*cdf0e10cSrcweir
85*cdf0e10cSrcweir<!ELEMENT image (caption* | alt+)?>
86*cdf0e10cSrcweir<!ATTLIST image
87*cdf0e10cSrcweir  src CDATA #REQUIRED
88*cdf0e10cSrcweir  width CDATA #IMPLIED
89*cdf0e10cSrcweir  height CDATA #IMPLIED
90*cdf0e10cSrcweir  id CDATA #REQUIRED
91*cdf0e10cSrcweir  localize CDATA #IMPLIED
92*cdf0e10cSrcweir>
93*cdf0e10cSrcweir
94*cdf0e10cSrcweir<!ELEMENT item (#PCDATA)>
95*cdf0e10cSrcweir<!ATTLIST item
96*cdf0e10cSrcweir  type CDATA #REQUIRED
97*cdf0e10cSrcweir>
98*cdf0e10cSrcweir
99*cdf0e10cSrcweir<!ELEMENT lastedited (#PCDATA)>
100*cdf0e10cSrcweir<!ATTLIST lastedited
101*cdf0e10cSrcweir  date CDATA #REQUIRED
102*cdf0e10cSrcweir>
103*cdf0e10cSrcweir
104*cdf0e10cSrcweir<!ELEMENT link (#PCDATA | embedvar | emph | item | variable | switchinline)*>
105*cdf0e10cSrcweir<!ATTLIST link
106*cdf0e10cSrcweir  href CDATA #REQUIRED
107*cdf0e10cSrcweir  name CDATA #IMPLIED
108*cdf0e10cSrcweir  type CDATA #IMPLIED
109*cdf0e10cSrcweir  target CDATA #IMPLIED
110*cdf0e10cSrcweir>
111*cdf0e10cSrcweir
112*cdf0e10cSrcweir<!ELEMENT list (listitem | (comment)*)+>
113*cdf0e10cSrcweir<!ATTLIST list
114*cdf0e10cSrcweir  type CDATA #REQUIRED
115*cdf0e10cSrcweir  startwith CDATA #IMPLIED
116*cdf0e10cSrcweir  format (1 | i | I | a | A) #IMPLIED
117*cdf0e10cSrcweir  bullet (disc | circle | square) #IMPLIED
118*cdf0e10cSrcweir  sorted (asc | desc) #IMPLIED
119*cdf0e10cSrcweir>
120*cdf0e10cSrcweir
121*cdf0e10cSrcweir<!ELEMENT listitem (comment | section | paragraph | table | switch | embed | bookmark)*>
122*cdf0e10cSrcweir<!ATTLIST listitem
123*cdf0e10cSrcweir  format (1 | i | I | a | A) #IMPLIED
124*cdf0e10cSrcweir  bullet (disc | circle | square) #IMPLIED
125*cdf0e10cSrcweir	class CDATA #IMPLIED
126*cdf0e10cSrcweir>
127*cdf0e10cSrcweir
128*cdf0e10cSrcweir<!ELEMENT meta (topic, history?)>
129*cdf0e10cSrcweir
130*cdf0e10cSrcweir<!ELEMENT object EMPTY>
131*cdf0e10cSrcweir<!ATTLIST object
132*cdf0e10cSrcweir  type CDATA #REQUIRED
133*cdf0e10cSrcweir  id CDATA #REQUIRED
134*cdf0e10cSrcweir  data CDATA #REQUIRED
135*cdf0e10cSrcweir  height CDATA #IMPLIED
136*cdf0e10cSrcweir  width CDATA #IMPLIED
137*cdf0e10cSrcweir>
138*cdf0e10cSrcweir
139*cdf0e10cSrcweir<!ELEMENT paragraph (#PCDATA | image | comment | embedvar | br | emph | item | link | switchinline | variable | ahelp | object | bookmark | help-id-missing)*>
140*cdf0e10cSrcweir<!ATTLIST paragraph
141*cdf0e10cSrcweir  role CDATA #REQUIRED
142*cdf0e10cSrcweir  level CDATA #IMPLIED
143*cdf0e10cSrcweir  id CDATA #REQUIRED
144*cdf0e10cSrcweir  l10n CDATA #IMPLIED
145*cdf0e10cSrcweir  xml-lang CDATA #REQUIRED
146*cdf0e10cSrcweir  oldref CDATA #IMPLIED
147*cdf0e10cSrcweir  localize CDATA #IMPLIED
148*cdf0e10cSrcweir>
149*cdf0e10cSrcweir
150*cdf0e10cSrcweir<!ELEMENT section (section | paragraph | table | list | comment | bookmark | embed | switch | sort )*>
151*cdf0e10cSrcweir<!ATTLIST section
152*cdf0e10cSrcweir  id CDATA #REQUIRED
153*cdf0e10cSrcweir>
154*cdf0e10cSrcweir
155*cdf0e10cSrcweir<!ELEMENT sort (section+)>
156*cdf0e10cSrcweir<!ATTLIST sort
157*cdf0e10cSrcweir  order (asc | desc) #IMPLIED
158*cdf0e10cSrcweir>
159*cdf0e10cSrcweir
160*cdf0e10cSrcweir<!ELEMENT switch ((case | comment)* | default?)*>
161*cdf0e10cSrcweir<!ATTLIST switch
162*cdf0e10cSrcweir  select (sys | appl | distrib | target | lang | ver) #REQUIRED
163*cdf0e10cSrcweir>
164*cdf0e10cSrcweir
165*cdf0e10cSrcweir<!ELEMENT switchinline ((caseinline)+, (defaultinline?)?)>
166*cdf0e10cSrcweir<!ATTLIST switchinline
167*cdf0e10cSrcweir  select (sys | appl | distrib | target | ver | lang) #REQUIRED
168*cdf0e10cSrcweir>
169*cdf0e10cSrcweir
170*cdf0e10cSrcweir<!ELEMENT table (caption*, tablerow+)>
171*cdf0e10cSrcweir<!ATTLIST table
172*cdf0e10cSrcweir  name CDATA #IMPLIED
173*cdf0e10cSrcweir  width CDATA #IMPLIED
174*cdf0e10cSrcweir  height CDATA #IMPLIED
175*cdf0e10cSrcweir  unit CDATA #IMPLIED
176*cdf0e10cSrcweir  class CDATA #IMPLIED
177*cdf0e10cSrcweir  id CDATA #REQUIRED
178*cdf0e10cSrcweir>
179*cdf0e10cSrcweir
180*cdf0e10cSrcweir<!ELEMENT tablecell (section | paragraph | comment | embed | bookmark | image | list)*>
181*cdf0e10cSrcweir<!ATTLIST tablecell
182*cdf0e10cSrcweir  colspan CDATA #IMPLIED
183*cdf0e10cSrcweir  rowspan CDATA #IMPLIED
184*cdf0e10cSrcweir  width CDATA #IMPLIED
185*cdf0e10cSrcweir  class CDATA #IMPLIED
186*cdf0e10cSrcweir  unit CDATA #IMPLIED
187*cdf0e10cSrcweir>
188*cdf0e10cSrcweir
189*cdf0e10cSrcweir<!ELEMENT tablerow (tablecell+)>
190*cdf0e10cSrcweir<!ATTLIST tablerow
191*cdf0e10cSrcweir  height CDATA #IMPLIED
192*cdf0e10cSrcweir  class CDATA #IMPLIED
193*cdf0e10cSrcweir  unit CDATA #IMPLIED
194*cdf0e10cSrcweir>
195*cdf0e10cSrcweir
196*cdf0e10cSrcweir<!ELEMENT title (#PCDATA)>
197*cdf0e10cSrcweir<!ATTLIST title
198*cdf0e10cSrcweir  xml-lang CDATA #REQUIRED
199*cdf0e10cSrcweir  id CDATA #REQUIRED
200*cdf0e10cSrcweir  localize CDATA #IMPLIED
201*cdf0e10cSrcweir>
202*cdf0e10cSrcweir
203*cdf0e10cSrcweir<!ELEMENT topic (title+, filename, bookmark*)>
204*cdf0e10cSrcweir<!ATTLIST topic
205*cdf0e10cSrcweir  id CDATA #REQUIRED
206*cdf0e10cSrcweir  indexer (exclude | include) #IMPLIED
207*cdf0e10cSrcweir	status (DRAFT | FINAL | PUBLISH | STALLED | DEPRECATED) #IMPLIED
208*cdf0e10cSrcweir>
209*cdf0e10cSrcweir
210*cdf0e10cSrcweir<!ELEMENT variable (#PCDATA | ahelp | embedvar | br | emph | item | link | variable | image | object | switchinline)*>
211*cdf0e10cSrcweir<!ATTLIST variable
212*cdf0e10cSrcweir  id CDATA #REQUIRED
213*cdf0e10cSrcweir  visibility (hidden | visible) #IMPLIED
214*cdf0e10cSrcweir>
215*cdf0e10cSrcweir
216*cdf0e10cSrcweir<!ELEMENT help-id-missing EMPTY>
217