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