1 <!-- CALS TABLE MODEL DECLARATION MODULE -->
3 <!-- This set of declarations defines the CALS Table Model as of the
4 date shown in the Formal Public Identifier (FPI) for this entity.
6 This set of declarations may be referred to using a public external
7 entity declaration and reference as shown in the following two lines:
9 <!ENTITY % calstbls PUBLIC "-//USA-DOD//DTD Table Model 951010//EN">
12 If various parameter entities used within this set of declarations
13 are to be given non-default values, the appropriate declarations
14 should be given before calling in this package (i.e., before the
15 "%calstbls;" reference).
17 NOTE: This set of declarations assumes a NAMELEN of 32 as is used in
18 the standard CALS defined SGML declaration.
21 <!-- This entity includes a set of element and attribute declarations
22 that partially defines the CALS table model. However, the model
23 is not well-defined without the accompanying natural language
24 description of the semantics (meanings) of these various elements,
25 attributes, and attribute values. The semantic writeup, available
26 as a separate entity, should be used in conjunction with this entity.
29 <!-- In order to use the CALS table model, various parameter entity
30 declarations are required. A brief description is as follows:
32 ENTITY NAME WHERE USED WHAT IT IS
34 %bodyatt In ATTLIST of: Additional (non-table related)
35 table element(s) attributes on the overall
36 (wrapper) table element(s)
38 %secur In ATTLIST of: Additional (non-table related)
39 table element(s) attributes on all the listed
42 table head and foot element(s)
47 %yesorno In ATTLIST of: An attribute declared value
48 almost all elements for a "boolean" attribute
50 %titles In content model of: The "title" part of the model
51 table element(s) group for the table element(s)
53 %paracon In content model of: The "text" (data content) part
54 <entry> of the model group for <entry>
56 %tbl.table.name In declaration of: The name(s) of the "table"
57 table element(s) element(s)
59 %tbl.table-titles.mdl In content model of: The model group for the title
60 table elements(s) part of the content model for
63 %tbl.table-main.mdl In content model of: The model group for the main part
64 table elements(s) (not including titles) of the
65 content model for table element(s)
67 %tbl.table.mdl In content model of: The model group for the content
68 table elements(s) model for table element(s),
69 often (and by default) defined
70 in terms of %tbl.table-titles.mdl
71 and %tbl.table-main.mdl
73 %tbl.table.excep In content model of: The exceptions for the content
74 table element(s) model for table element(s)
76 %tbl.table.att In ATTLIST of: Additional attributes on the
77 table element(s) table element(s)
79 %tbl.tgroup.mdl In content model of: The model group for the content
80 <tgroup> model for <tgroup>
82 %tbl.tgroup.att In ATTLIST of: Additional attributes on the
83 <tgroup> <tgroup> and <entrytbl> elements
86 %tbl.hdft.name In declaration of: The name(s) of the table
87 head/foot element(s) head and foot element(s)
89 %tbl.hdft.mdl In content model of: The model group for the content
90 head/foot element(s) model for head/foot element(s)
92 %tbl.hdft.excep In content model of: The exceptions for the content
93 head/foot element(s) model for head/foot element(s)
95 %tbl.row.mdl In content model of: The model group for the content
98 %tbl.row.excep In content model of: The exceptions for the content
101 %tbl.entrytbl.mdl In content model of: The model group for the content
102 <entrytbl> model for <entrytbl>
104 %tbl.entrytbl.excep In content model of: The exceptions for the content
105 <entrytbl> model for <entrytbl>
107 %tbl.entry.mdl In content model of: The model group for the content
108 <entry> model for <entry>
110 %tbl.entry.excep In content model of: The exceptions for the content
111 <entry> model for <entry>
113 If any of these parameter entities are not declared before this set of
114 declarations is referenced, this set of declarations will make the
115 following default definitions for all of these have parameter entities.
118 <!-- These definitions are not directly related to the table model, but are
119 used in the default CALS table model and are usually defined elsewhere
120 (and prior to the inclusion of this table module) in a CALS DTD. -->
122 <!ENTITY % bodyatt "">
124 <!ENTITY % yesorno 'NUMBER' -- no if zero(s),
125 yes if any other digits value -->
126 <!ENTITY % titles 'title?'>
127 <!ENTITY % paracon '#PCDATA' -- default for use in entry content -->
130 The parameter entities as defined below provide the CALS table model
131 as published (as part of the Example DTD) in MIL-HDBK-28001.
133 These following declarations provide the CALS-compliant default definitions
134 for these entities. However, these entities can and should be redefined
135 (by giving the appropriate parameter entity declaration(s) prior to the
136 reference to this Table Model declaration set entity) to fit the needs
137 of the current application.
140 <!ENTITY % tbl.table.name "(table|chart)">
141 <!ENTITY % tbl.table-titles.mdl "%titles,">
142 <!ENTITY % tbl.table-main.mdl "(tgroup+|graphic+)">
143 <!ENTITY % tbl.table.mdl "%tbl.table-titles.mdl; %tbl.table-main.mdl;">
144 <!ENTITY % tbl.table.excep "-(table|chart|figure)">
145 <!ENTITY % tbl.table.att '
146 tabstyle NMTOKEN #IMPLIED
147 tocentry %yesorno; #IMPLIED
148 shortentry %yesorno; #IMPLIED
149 orient (port|land) #IMPLIED
150 pgwide %yesorno; #IMPLIED '>
151 <!ENTITY % tbl.tgroup.mdl "colspec*,spanspec*,thead?,tfoot?,tbody">
152 <!ENTITY % tbl.tgroup.att '
153 tgroupstyle NMTOKEN #IMPLIED '>
154 <!ENTITY % tbl.hdft.name "(thead|tfoot)">
155 <!ENTITY % tbl.hdft.mdl "colspec*,row+">
156 <!ENTITY % tbl.hdft.excep "-(entrytbl)">
157 <!ENTITY % tbl.row.mdl "(entry|entrytbl)+">
158 <!ENTITY % tbl.row.excep "-(pgbrk)">
159 <!ENTITY % tbl.entrytbl.mdl "colspec*,spanspec*,thead?,tbody">
160 <!ENTITY % tbl.entrytbl.excep "-(entrytbl|pgbrk)">
161 <!ENTITY % tbl.entry.mdl "(para|warning|caution|note|legend|%paracon;)*">
162 <!ENTITY % tbl.entry.excep "-(pgbrk)">
164 <!-- ===== Element and attribute declarations follow. ===== -->
167 Default declarations previously defined in this entity and
168 referenced below include:
169 ENTITY % tbl.table.name "(table|chart)"
170 ENTITY % tbl.table-titles.mdl "%titles,"
171 ENTITY % tbl.table-main.mdl "(tgroup+|graphic+)"
172 ENTITY % tbl.table.mdl "%tbl.table-titles; %tbl.table-main.mdl;"
173 ENTITY % tbl.table.excep "-(table|chart|figure)"
174 ENTITY % tbl.table.att '
175 tabstyle NMTOKEN #IMPLIED
176 tocentry %yesorno; #IMPLIED
177 shortentry %yesorno; #IMPLIED
178 orient (port|land) #IMPLIED
179 pgwide %yesorno; #IMPLIED '
182 <!ELEMENT %tbl.table.name; - - (%tbl.table.mdl;) %tbl.table.excep; >
185 frame (top|bottom|topbot|all|sides|none) #IMPLIED
186 colsep %yesorno; #IMPLIED
187 rowsep %yesorno; #IMPLIED
194 Default declarations previously defined in this entity and
195 referenced below include:
196 ENTITY % tbl.tgroup.mdl "colspec*,spanspec*,thead?,tfoot?,tbody"
197 ENTITY % tbl.tgroup.att '
198 tgroupstyle NMTOKEN #IMPLIED '
201 <!ELEMENT tgroup - O (%tbl.tgroup.mdl;) >
204 cols NUMBER #REQUIRED
206 colsep %yesorno; #IMPLIED
207 rowsep %yesorno; #IMPLIED
208 align (left|right|center|justify|char) #IMPLIED
210 charoff NUTOKEN #IMPLIED
214 <!ELEMENT colspec - O EMPTY >
217 colnum NUMBER #IMPLIED
218 colname NMTOKEN #IMPLIED
219 colwidth CDATA #IMPLIED
220 colsep %yesorno; #IMPLIED
221 rowsep %yesorno; #IMPLIED
222 align (left|right|center|justify|char) #IMPLIED
224 charoff NUTOKEN #IMPLIED
227 <!ELEMENT spanspec - O EMPTY >
230 namest NMTOKEN #REQUIRED
231 nameend NMTOKEN #REQUIRED
232 spanname NMTOKEN #REQUIRED
233 colsep %yesorno; #IMPLIED
234 rowsep %yesorno; #IMPLIED
235 align (left|right|center|justify|char) #IMPLIED
237 charoff NUTOKEN #IMPLIED
242 Default declarations previously defined in this entity and
243 referenced below include:
244 ENTITY % tbl.hdft.name "(thead|tfoot)"
245 ENTITY % tbl.hdft.mdl "colspec*,row+"
246 ENTITY % tbl.hdft.excep "-(entrytbl)"
249 <!ELEMENT %tbl.hdft.name; - O (%tbl.hdft.mdl;) %tbl.hdft.excep;>
251 <!ATTLIST %tbl.hdft.name;
252 valign (top|middle|bottom) #IMPLIED
257 <!ELEMENT tbody - O (row+)>
260 valign (top|middle|bottom) #IMPLIED
265 Default declarations previously defined in this entity and
266 referenced below include:
267 ENTITY % tbl.row.mdl "(entry|entrytbl)+"
268 ENTITY % tbl.row.excep "-(pgbrk)"
271 <!ELEMENT row - O (%tbl.row.mdl;) %tbl.row.excep;>
274 rowsep %yesorno; #IMPLIED
275 valign (top|middle|bottom) #IMPLIED
280 Default declarations previously defined in this entity and
281 referenced below include:
282 ENTITY % tbl.entrytbl.mdl "colspec*,spanspec*,thead?,tbody"
283 ENTITY % tbl.entrytbl.excep "-(entrytbl|pgbrk)"
284 ENTITY % tbl.tgroup.att '
285 tgroupstyle NMTOKEN #IMPLIED '
288 <!ELEMENT entrytbl - - (%tbl.entrytbl.mdl) %tbl.entrytbl.excep; >
291 cols NUMBER #REQUIRED
293 colname NMTOKEN #IMPLIED
294 spanname NMTOKEN #IMPLIED
295 namest NMTOKEN #IMPLIED
296 nameend NMTOKEN #IMPLIED
297 colsep %yesorno; #IMPLIED
298 rowsep %yesorno; #IMPLIED
299 align (left|right|center|justify|char) #IMPLIED
301 charoff NUTOKEN #IMPLIED
307 Default declarations previously defined in this entity and
308 referenced below include:
309 ENTITY % paracon "#PCDATA"
310 ENTITY % tbl.entry.mdl "(para|warning|caution|note|legend|%paracon;)*"
311 ENTITY % tbl.entry.excep "-(pgbrk)"
314 <!ELEMENT entry - O (%tbl.entry.mdl;) %tbl.entry.excep; >
317 colname NMTOKEN #IMPLIED
318 namest NMTOKEN #IMPLIED
319 nameend NMTOKEN #IMPLIED
320 spanname NMTOKEN #IMPLIED
321 morerows NUMBER #IMPLIED
322 colsep %yesorno; #IMPLIED
323 rowsep %yesorno; #IMPLIED
324 align (left|right|center|justify|char) #IMPLIED
326 charoff NUTOKEN #IMPLIED
327 rotate %yesorno; #IMPLIED
328 valign (top|middle|bottom) #IMPLIED