| 1 | <?xml version="1.0" encoding="UTF-8"?>
 | 
|---|
| 2 | <!-- ...................................................................... -->
 | 
|---|
| 3 | <!-- DocBook XML HTML Table Module V4.5 ................................... -->
 | 
|---|
| 4 | <!-- File htmltblx.mod .................................................... -->
 | 
|---|
| 5 | <!--
 | 
|---|
| 6 |   Copyright 2003-2006 ArborText, Inc., Norman Walsh, Sun Microsystems,
 | 
|---|
| 7 |   Inc., and the Organization for the Advancement of Structured Information
 | 
|---|
| 8 |   Standards (OASIS).
 | 
|---|
| 9 |   
 | 
|---|
| 10 |   $Id: htmltblx.mod 6340 2006-10-03 13:23:24Z nwalsh $
 | 
|---|
| 11 |   
 | 
|---|
| 12 |   Permission to use, copy, modify and distribute the DocBook XML DTD
 | 
|---|
| 13 |   and its accompanying documentation for any purpose and without fee
 | 
|---|
| 14 |   is hereby granted in perpetuity, provided that the above copyright
 | 
|---|
| 15 |   notice and this paragraph appear in all copies.  The copyright
 | 
|---|
| 16 |   holders make no representation about the suitability of the DTD for
 | 
|---|
| 17 |   any purpose.  It is provided "as is" without expressed or implied
 | 
|---|
| 18 |   warranty.
 | 
|---|
| 19 |   
 | 
|---|
| 20 |   If you modify the DocBook XML DTD in any way, except for declaring and
 | 
|---|
| 21 |   referencing additional sets of general entities and declaring
 | 
|---|
| 22 |   additional notations, label your DTD as a variant of DocBook.  See
 | 
|---|
| 23 |   the maintenance documentation for more information.
 | 
|---|
| 24 |   
 | 
|---|
| 25 |   Please direct all questions, bug reports, or suggestions for
 | 
|---|
| 26 |   changes to the docbook@lists.oasis-open.org mailing list. For more
 | 
|---|
| 27 |   information, see http://www.oasis-open.org/docbook/.
 | 
|---|
| 28 | -->
 | 
|---|
| 29 | <!-- ...................................................................... -->
 | 
|---|
| 30 | <!--
 | 
|---|
| 31 |   This module contains the definitions for elements that are
 | 
|---|
| 32 |   isomorphic to the HTML elements. One could argue we should
 | 
|---|
| 33 |   instead have based ourselves on the XHTML Table Module, but the
 | 
|---|
| 34 |   HTML one is more like what browsers are likely to accept today
 | 
|---|
| 35 |   and users are likely to use.
 | 
|---|
| 36 |   
 | 
|---|
| 37 |   This module has been developed for use with the DocBook V4.5
 | 
|---|
| 38 |   "union table model" in which elements and attlists common to both
 | 
|---|
| 39 |   models are defined (as the union) in the CALS table module by
 | 
|---|
| 40 |   setting various parameter entities appropriately in this file.
 | 
|---|
| 41 |   
 | 
|---|
| 42 |   In DTD driver files referring to this module, please use an entity
 | 
|---|
| 43 |   declaration that uses the public identifier shown below:
 | 
|---|
| 44 |   
 | 
|---|
| 45 |   <!ENTITY % htmltbl PUBLIC
 | 
|---|
| 46 |   "-//OASIS//ELEMENTS DocBook XML HTML Tables V4.5//EN"
 | 
|---|
| 47 |   "htmltblx.mod">
 | 
|---|
| 48 |   %htmltbl;
 | 
|---|
| 49 |   
 | 
|---|
| 50 |   See the documentation for detailed information on the parameter
 | 
|---|
| 51 |   entity and module scheme used in DocBook, customizing DocBook and
 | 
|---|
| 52 |   planning for interchange, and changes made since the last release
 | 
|---|
| 53 |   of DocBook.
 | 
|---|
| 54 | -->
 | 
|---|
| 55 | <!-- ======================= XHTML Tables ======================================= -->
 | 
|---|
| 56 | <grammar xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
 | 
|---|
| 57 |   <define name="html.coreattrs">
 | 
|---|
| 58 |     <ref name="common.attrib"/>
 | 
|---|
| 59 |     <optional>
 | 
|---|
| 60 |       <attribute name="class"/>
 | 
|---|
| 61 |     </optional>
 | 
|---|
| 62 |     <optional>
 | 
|---|
| 63 |       <attribute name="style"/>
 | 
|---|
| 64 |     </optional>
 | 
|---|
| 65 |     <optional>
 | 
|---|
| 66 |       <attribute name="title"/>
 | 
|---|
| 67 |     </optional>
 | 
|---|
| 68 |   </define>
 | 
|---|
| 69 |   <!-- Does not contain lang or dir because they are in %common.attribs -->
 | 
|---|
| 70 |   <define name="i18n">
 | 
|---|
| 71 |     <optional>
 | 
|---|
| 72 |       <attribute name="xml:lang">
 | 
|---|
| 73 |         <data type="NMTOKEN"/>
 | 
|---|
| 74 |       </attribute>
 | 
|---|
| 75 |     </optional>
 | 
|---|
| 76 |   </define>
 | 
|---|
| 77 |   <define name="events">
 | 
|---|
| 78 |     <optional>
 | 
|---|
| 79 |       <attribute name="onclick"/>
 | 
|---|
| 80 |     </optional>
 | 
|---|
| 81 |     <optional>
 | 
|---|
| 82 |       <attribute name="ondblclick"/>
 | 
|---|
| 83 |     </optional>
 | 
|---|
| 84 |     <optional>
 | 
|---|
| 85 |       <attribute name="onmousedown"/>
 | 
|---|
| 86 |     </optional>
 | 
|---|
| 87 |     <optional>
 | 
|---|
| 88 |       <attribute name="onmouseup"/>
 | 
|---|
| 89 |     </optional>
 | 
|---|
| 90 |     <optional>
 | 
|---|
| 91 |       <attribute name="onmouseover"/>
 | 
|---|
| 92 |     </optional>
 | 
|---|
| 93 |     <optional>
 | 
|---|
| 94 |       <attribute name="onmousemove"/>
 | 
|---|
| 95 |     </optional>
 | 
|---|
| 96 |     <optional>
 | 
|---|
| 97 |       <attribute name="onmouseout"/>
 | 
|---|
| 98 |     </optional>
 | 
|---|
| 99 |     <optional>
 | 
|---|
| 100 |       <attribute name="onkeypress"/>
 | 
|---|
| 101 |     </optional>
 | 
|---|
| 102 |     <optional>
 | 
|---|
| 103 |       <attribute name="onkeydown"/>
 | 
|---|
| 104 |     </optional>
 | 
|---|
| 105 |     <optional>
 | 
|---|
| 106 |       <attribute name="onkeyup"/>
 | 
|---|
| 107 |     </optional>
 | 
|---|
| 108 |   </define>
 | 
|---|
| 109 |   <define name="attrs">
 | 
|---|
| 110 |     <ref name="html.coreattrs"/>
 | 
|---|
| 111 |     <ref name="i18n"/>
 | 
|---|
| 112 |     <ref name="events"/>
 | 
|---|
| 113 |   </define>
 | 
|---|
| 114 |   <define name="cellhalign">
 | 
|---|
| 115 |     <optional>
 | 
|---|
| 116 |       <attribute name="align">
 | 
|---|
| 117 |         <choice>
 | 
|---|
| 118 |           <value>left</value>
 | 
|---|
| 119 |           <value>center</value>
 | 
|---|
| 120 |           <value>right</value>
 | 
|---|
| 121 |           <value>justify</value>
 | 
|---|
| 122 |           <value>char</value>
 | 
|---|
| 123 |         </choice>
 | 
|---|
| 124 |       </attribute>
 | 
|---|
| 125 |     </optional>
 | 
|---|
| 126 |     <optional>
 | 
|---|
| 127 |       <attribute name="char"/>
 | 
|---|
| 128 |     </optional>
 | 
|---|
| 129 |     <optional>
 | 
|---|
| 130 |       <attribute name="charoff"/>
 | 
|---|
| 131 |     </optional>
 | 
|---|
| 132 |   </define>
 | 
|---|
| 133 |   <define name="cellvalign">
 | 
|---|
| 134 |     <optional>
 | 
|---|
| 135 |       <attribute name="valign">
 | 
|---|
| 136 |         <choice>
 | 
|---|
| 137 |           <value>top</value>
 | 
|---|
| 138 |           <value>middle</value>
 | 
|---|
| 139 |           <value>bottom</value>
 | 
|---|
| 140 |           <value>baseline</value>
 | 
|---|
| 141 |         </choice>
 | 
|---|
| 142 |       </attribute>
 | 
|---|
| 143 |     </optional>
 | 
|---|
| 144 |   </define>
 | 
|---|
| 145 |   <!-- doc:A group of columns in an HTML table. -->
 | 
|---|
| 146 |   <define name="colgroup">
 | 
|---|
| 147 |     <element name="colgroup">
 | 
|---|
| 148 |       <ref name="colgroup.attlist"/>
 | 
|---|
| 149 |       <zeroOrMore>
 | 
|---|
| 150 |         <ref name="col"/>
 | 
|---|
| 151 |       </zeroOrMore>
 | 
|---|
| 152 |     </element>
 | 
|---|
| 153 |   </define>
 | 
|---|
| 154 |   <!-- doc:Specifications for a column in an HTML table. -->
 | 
|---|
| 155 |   <define name="col">
 | 
|---|
| 156 |     <element name="col">
 | 
|---|
| 157 |       <ref name="col.attlist"/>
 | 
|---|
| 158 |       <empty/>
 | 
|---|
| 159 |     </element>
 | 
|---|
| 160 |   </define>
 | 
|---|
| 161 |   <!-- doc:A row in an HTML table. -->
 | 
|---|
| 162 |   <define name="tr">
 | 
|---|
| 163 |     <element name="tr">
 | 
|---|
| 164 |       <ref name="tr.attlist"/>
 | 
|---|
| 165 |       <oneOrMore>
 | 
|---|
| 166 |         <choice>
 | 
|---|
| 167 |           <ref name="th"/>
 | 
|---|
| 168 |           <ref name="td"/>
 | 
|---|
| 169 |         </choice>
 | 
|---|
| 170 |       </oneOrMore>
 | 
|---|
| 171 |     </element>
 | 
|---|
| 172 |   </define>
 | 
|---|
| 173 |   <!-- doc:A table header entry in an HTML table. -->
 | 
|---|
| 174 |   <define name="th">
 | 
|---|
| 175 |     <element name="th">
 | 
|---|
| 176 |       <ref name="th.attlist"/>
 | 
|---|
| 177 |       <zeroOrMore>
 | 
|---|
| 178 |         <choice>
 | 
|---|
| 179 |           <ref name="para.char.mix"/>
 | 
|---|
| 180 |           <ref name="tabentry.mix"/>
 | 
|---|
| 181 |           <ref name="table"/>
 | 
|---|
| 182 |           <ref name="informaltable"/>
 | 
|---|
| 183 |         </choice>
 | 
|---|
| 184 |       </zeroOrMore>
 | 
|---|
| 185 |     </element>
 | 
|---|
| 186 |   </define>
 | 
|---|
| 187 |   <!-- doc:A table ntry in an HTML table. -->
 | 
|---|
| 188 |   <define name="td">
 | 
|---|
| 189 |     <element name="td">
 | 
|---|
| 190 |       <ref name="td.attlist"/>
 | 
|---|
| 191 |       <zeroOrMore>
 | 
|---|
| 192 |         <choice>
 | 
|---|
| 193 |           <ref name="para.char.mix"/>
 | 
|---|
| 194 |           <ref name="tabentry.mix"/>
 | 
|---|
| 195 |           <ref name="table"/>
 | 
|---|
| 196 |           <ref name="informaltable"/>
 | 
|---|
| 197 |         </choice>
 | 
|---|
| 198 |       </zeroOrMore>
 | 
|---|
| 199 |     </element>
 | 
|---|
| 200 |   </define>
 | 
|---|
| 201 |   <define name="colgroup.attlist" combine="interleave">
 | 
|---|
| 202 |     <ref name="attrs"/>
 | 
|---|
| 203 |     <optional>
 | 
|---|
| 204 |       <attribute name="span" a:defaultValue="1"/>
 | 
|---|
| 205 |     </optional>
 | 
|---|
| 206 |     <optional>
 | 
|---|
| 207 |       <attribute name="width"/>
 | 
|---|
| 208 |     </optional>
 | 
|---|
| 209 |     <ref name="cellhalign"/>
 | 
|---|
| 210 |     <ref name="cellvalign"/>
 | 
|---|
| 211 |   </define>
 | 
|---|
| 212 |   <define name="col.attlist" combine="interleave">
 | 
|---|
| 213 |     <ref name="attrs"/>
 | 
|---|
| 214 |     <optional>
 | 
|---|
| 215 |       <attribute name="span" a:defaultValue="1"/>
 | 
|---|
| 216 |     </optional>
 | 
|---|
| 217 |     <optional>
 | 
|---|
| 218 |       <attribute name="width"/>
 | 
|---|
| 219 |     </optional>
 | 
|---|
| 220 |     <ref name="cellhalign"/>
 | 
|---|
| 221 |     <ref name="cellvalign"/>
 | 
|---|
| 222 |   </define>
 | 
|---|
| 223 |   <define name="tr.attlist" combine="interleave">
 | 
|---|
| 224 |     <ref name="attrs"/>
 | 
|---|
| 225 |     <ref name="cellhalign"/>
 | 
|---|
| 226 |     <ref name="cellvalign"/>
 | 
|---|
| 227 |     <optional>
 | 
|---|
| 228 |       <attribute name="bgcolor"/>
 | 
|---|
| 229 |     </optional>
 | 
|---|
| 230 |   </define>
 | 
|---|
| 231 |   <define name="th.attlist" combine="interleave">
 | 
|---|
| 232 |     <ref name="attrs"/>
 | 
|---|
| 233 |     <optional>
 | 
|---|
| 234 |       <attribute name="abbr"/>
 | 
|---|
| 235 |     </optional>
 | 
|---|
| 236 |     <optional>
 | 
|---|
| 237 |       <attribute name="axis"/>
 | 
|---|
| 238 |     </optional>
 | 
|---|
| 239 |     <optional>
 | 
|---|
| 240 |       <attribute name="headers">
 | 
|---|
| 241 |         <data type="IDREFS"/>
 | 
|---|
| 242 |       </attribute>
 | 
|---|
| 243 |     </optional>
 | 
|---|
| 244 |     <optional>
 | 
|---|
| 245 |       <attribute name="scope">
 | 
|---|
| 246 |         <choice>
 | 
|---|
| 247 |           <value>row</value>
 | 
|---|
| 248 |           <value>col</value>
 | 
|---|
| 249 |           <value>rowgroup</value>
 | 
|---|
| 250 |           <value>colgroup</value>
 | 
|---|
| 251 |         </choice>
 | 
|---|
| 252 |       </attribute>
 | 
|---|
| 253 |     </optional>
 | 
|---|
| 254 |     <optional>
 | 
|---|
| 255 |       <attribute name="rowspan" a:defaultValue="1"/>
 | 
|---|
| 256 |     </optional>
 | 
|---|
| 257 |     <optional>
 | 
|---|
| 258 |       <attribute name="colspan" a:defaultValue="1"/>
 | 
|---|
| 259 |     </optional>
 | 
|---|
| 260 |     <ref name="cellhalign"/>
 | 
|---|
| 261 |     <ref name="cellvalign"/>
 | 
|---|
| 262 |     <optional>
 | 
|---|
| 263 |       <attribute name="nowrap">
 | 
|---|
| 264 |         <choice>
 | 
|---|
| 265 |           <value>nowrap</value>
 | 
|---|
| 266 |         </choice>
 | 
|---|
| 267 |       </attribute>
 | 
|---|
| 268 |     </optional>
 | 
|---|
| 269 |     <optional>
 | 
|---|
| 270 |       <attribute name="bgcolor"/>
 | 
|---|
| 271 |     </optional>
 | 
|---|
| 272 |     <optional>
 | 
|---|
| 273 |       <attribute name="width"/>
 | 
|---|
| 274 |     </optional>
 | 
|---|
| 275 |     <optional>
 | 
|---|
| 276 |       <attribute name="height"/>
 | 
|---|
| 277 |     </optional>
 | 
|---|
| 278 |   </define>
 | 
|---|
| 279 |   <define name="td.attlist" combine="interleave">
 | 
|---|
| 280 |     <ref name="attrs"/>
 | 
|---|
| 281 |     <optional>
 | 
|---|
| 282 |       <attribute name="abbr"/>
 | 
|---|
| 283 |     </optional>
 | 
|---|
| 284 |     <optional>
 | 
|---|
| 285 |       <attribute name="axis"/>
 | 
|---|
| 286 |     </optional>
 | 
|---|
| 287 |     <optional>
 | 
|---|
| 288 |       <attribute name="headers">
 | 
|---|
| 289 |         <data type="IDREFS"/>
 | 
|---|
| 290 |       </attribute>
 | 
|---|
| 291 |     </optional>
 | 
|---|
| 292 |     <optional>
 | 
|---|
| 293 |       <attribute name="scope">
 | 
|---|
| 294 |         <choice>
 | 
|---|
| 295 |           <value>row</value>
 | 
|---|
| 296 |           <value>col</value>
 | 
|---|
| 297 |           <value>rowgroup</value>
 | 
|---|
| 298 |           <value>colgroup</value>
 | 
|---|
| 299 |         </choice>
 | 
|---|
| 300 |       </attribute>
 | 
|---|
| 301 |     </optional>
 | 
|---|
| 302 |     <optional>
 | 
|---|
| 303 |       <attribute name="rowspan" a:defaultValue="1"/>
 | 
|---|
| 304 |     </optional>
 | 
|---|
| 305 |     <optional>
 | 
|---|
| 306 |       <attribute name="colspan" a:defaultValue="1"/>
 | 
|---|
| 307 |     </optional>
 | 
|---|
| 308 |     <ref name="cellhalign"/>
 | 
|---|
| 309 |     <ref name="cellvalign"/>
 | 
|---|
| 310 |     <optional>
 | 
|---|
| 311 |       <attribute name="nowrap">
 | 
|---|
| 312 |         <choice>
 | 
|---|
| 313 |           <value>nowrap</value>
 | 
|---|
| 314 |         </choice>
 | 
|---|
| 315 |       </attribute>
 | 
|---|
| 316 |     </optional>
 | 
|---|
| 317 |     <optional>
 | 
|---|
| 318 |       <attribute name="bgcolor"/>
 | 
|---|
| 319 |     </optional>
 | 
|---|
| 320 |     <optional>
 | 
|---|
| 321 |       <attribute name="width"/>
 | 
|---|
| 322 |     </optional>
 | 
|---|
| 323 |     <optional>
 | 
|---|
| 324 |       <attribute name="height"/>
 | 
|---|
| 325 |     </optional>
 | 
|---|
| 326 |   </define>
 | 
|---|
| 327 |   <!-- ====================================================== -->
 | 
|---|
| 328 |   <!--
 | 
|---|
| 329 |     Set up to read in the CALS model configured to
 | 
|---|
| 330 |     merge with the XHTML table model
 | 
|---|
| 331 |   -->
 | 
|---|
| 332 |   <!-- ====================================================== -->
 | 
|---|
| 333 |   <define name="tables.role.attrib">
 | 
|---|
| 334 |     <ref name="role.attrib"/>
 | 
|---|
| 335 |   </define>
 | 
|---|
| 336 |   <!-- Add label and role attributes to table and informaltable -->
 | 
|---|
| 337 |   <define name="bodyatt">
 | 
|---|
| 338 |     <optional>
 | 
|---|
| 339 |       <attribute name="floatstyle"/>
 | 
|---|
| 340 |     </optional>
 | 
|---|
| 341 |     <optional>
 | 
|---|
| 342 |       <attribute name="rowheader">
 | 
|---|
| 343 |         <choice>
 | 
|---|
| 344 |           <value>firstcol</value>
 | 
|---|
| 345 |           <value>norowheader</value>
 | 
|---|
| 346 |         </choice>
 | 
|---|
| 347 |       </attribute>
 | 
|---|
| 348 |     </optional>
 | 
|---|
| 349 |     <ref name="label.attrib"/>
 | 
|---|
| 350 |   </define>
 | 
|---|
| 351 |   <!--
 | 
|---|
| 352 |     Add common attributes to Table, TGroup, TBody, THead, TFoot, Row, 
 | 
|---|
| 353 |     EntryTbl, and Entry (and InformalTable element).
 | 
|---|
| 354 |   -->
 | 
|---|
| 355 |   <define name="secur">
 | 
|---|
| 356 |     <ref name="common.attrib"/>
 | 
|---|
| 357 |     <optional>
 | 
|---|
| 358 |       <attribute name="class"/>
 | 
|---|
| 359 |     </optional>
 | 
|---|
| 360 |     <optional>
 | 
|---|
| 361 |       <attribute name="style"/>
 | 
|---|
| 362 |     </optional>
 | 
|---|
| 363 |     <optional>
 | 
|---|
| 364 |       <attribute name="title"/>
 | 
|---|
| 365 |     </optional>
 | 
|---|
| 366 |     <ref name="i18n"/>
 | 
|---|
| 367 |     <ref name="events"/>
 | 
|---|
| 368 |     <ref name="tables.role.attrib"/>
 | 
|---|
| 369 |   </define>
 | 
|---|
| 370 |   <define name="common.table.attribs">
 | 
|---|
| 371 |     <ref name="bodyatt"/>
 | 
|---|
| 372 |     <ref name="secur"/>
 | 
|---|
| 373 |   </define>
 | 
|---|
| 374 |   <!-- Content model for Table (that also allows HTML tables) -->
 | 
|---|
| 375 |   <define name="tbl.table.mdl">
 | 
|---|
| 376 |     <choice>
 | 
|---|
| 377 |       <group>
 | 
|---|
| 378 |         <optional>
 | 
|---|
| 379 |           <ref name="blockinfo"/>
 | 
|---|
| 380 |         </optional>
 | 
|---|
| 381 |         <ref name="formalobject.title.content"/>
 | 
|---|
| 382 |         <zeroOrMore>
 | 
|---|
| 383 |           <ref name="ndxterm.class"/>
 | 
|---|
| 384 |         </zeroOrMore>
 | 
|---|
| 385 |         <zeroOrMore>
 | 
|---|
| 386 |           <ref name="textobject"/>
 | 
|---|
| 387 |         </zeroOrMore>
 | 
|---|
| 388 |         <choice>
 | 
|---|
| 389 |           <oneOrMore>
 | 
|---|
| 390 |             <ref name="graphic"/>
 | 
|---|
| 391 |           </oneOrMore>
 | 
|---|
| 392 |           <oneOrMore>
 | 
|---|
| 393 |             <ref name="mediaobject"/>
 | 
|---|
| 394 |           </oneOrMore>
 | 
|---|
| 395 |           <oneOrMore>
 | 
|---|
| 396 |             <ref name="tgroup"/>
 | 
|---|
| 397 |           </oneOrMore>
 | 
|---|
| 398 |         </choice>
 | 
|---|
| 399 |       </group>
 | 
|---|
| 400 |       <group>
 | 
|---|
| 401 |         <ref name="caption"/>
 | 
|---|
| 402 |         <choice>
 | 
|---|
| 403 |           <zeroOrMore>
 | 
|---|
| 404 |             <ref name="col"/>
 | 
|---|
| 405 |           </zeroOrMore>
 | 
|---|
| 406 |           <zeroOrMore>
 | 
|---|
| 407 |             <ref name="colgroup"/>
 | 
|---|
| 408 |           </zeroOrMore>
 | 
|---|
| 409 |         </choice>
 | 
|---|
| 410 |         <optional>
 | 
|---|
| 411 |           <ref name="thead"/>
 | 
|---|
| 412 |         </optional>
 | 
|---|
| 413 |         <optional>
 | 
|---|
| 414 |           <ref name="tfoot"/>
 | 
|---|
| 415 |         </optional>
 | 
|---|
| 416 |         <choice>
 | 
|---|
| 417 |           <oneOrMore>
 | 
|---|
| 418 |             <ref name="tbody"/>
 | 
|---|
| 419 |           </oneOrMore>
 | 
|---|
| 420 |           <oneOrMore>
 | 
|---|
| 421 |             <ref name="tr"/>
 | 
|---|
| 422 |           </oneOrMore>
 | 
|---|
| 423 |         </choice>
 | 
|---|
| 424 |       </group>
 | 
|---|
| 425 |     </choice>
 | 
|---|
| 426 |   </define>
 | 
|---|
| 427 |   <define name="informal.tbl.table.mdl">
 | 
|---|
| 428 |     <choice>
 | 
|---|
| 429 |       <group>
 | 
|---|
| 430 |         <zeroOrMore>
 | 
|---|
| 431 |           <ref name="textobject"/>
 | 
|---|
| 432 |         </zeroOrMore>
 | 
|---|
| 433 |         <choice>
 | 
|---|
| 434 |           <oneOrMore>
 | 
|---|
| 435 |             <ref name="graphic"/>
 | 
|---|
| 436 |           </oneOrMore>
 | 
|---|
| 437 |           <oneOrMore>
 | 
|---|
| 438 |             <ref name="mediaobject"/>
 | 
|---|
| 439 |           </oneOrMore>
 | 
|---|
| 440 |           <oneOrMore>
 | 
|---|
| 441 |             <ref name="tgroup"/>
 | 
|---|
| 442 |           </oneOrMore>
 | 
|---|
| 443 |         </choice>
 | 
|---|
| 444 |       </group>
 | 
|---|
| 445 |       <group>
 | 
|---|
| 446 |         <choice>
 | 
|---|
| 447 |           <zeroOrMore>
 | 
|---|
| 448 |             <ref name="col"/>
 | 
|---|
| 449 |           </zeroOrMore>
 | 
|---|
| 450 |           <zeroOrMore>
 | 
|---|
| 451 |             <ref name="colgroup"/>
 | 
|---|
| 452 |           </zeroOrMore>
 | 
|---|
| 453 |         </choice>
 | 
|---|
| 454 |         <optional>
 | 
|---|
| 455 |           <ref name="thead"/>
 | 
|---|
| 456 |         </optional>
 | 
|---|
| 457 |         <optional>
 | 
|---|
| 458 |           <ref name="tfoot"/>
 | 
|---|
| 459 |         </optional>
 | 
|---|
| 460 |         <choice>
 | 
|---|
| 461 |           <oneOrMore>
 | 
|---|
| 462 |             <ref name="tbody"/>
 | 
|---|
| 463 |           </oneOrMore>
 | 
|---|
| 464 |           <oneOrMore>
 | 
|---|
| 465 |             <ref name="tr"/>
 | 
|---|
| 466 |           </oneOrMore>
 | 
|---|
| 467 |         </choice>
 | 
|---|
| 468 |       </group>
 | 
|---|
| 469 |     </choice>
 | 
|---|
| 470 |   </define>
 | 
|---|
| 471 |   <!-- Attributes for Table (including HTML ones) -->
 | 
|---|
| 472 |   <!-- N.B. rules = (none | groups | rows | cols | all) but it can't be spec'd -->
 | 
|---|
| 473 |   <!-- that way because 'all' already occurs in a different enumeration in -->
 | 
|---|
| 474 |   <!-- CALS tables (frame). -->
 | 
|---|
| 475 |   <define name="tbl.table.att">
 | 
|---|
| 476 |     <optional>
 | 
|---|
| 477 |       <attribute name="tabstyle"/>
 | 
|---|
| 478 |     </optional>
 | 
|---|
| 479 |     <optional>
 | 
|---|
| 480 |       <attribute name="tocentry">
 | 
|---|
| 481 |         <ref name="yesorno.attvals"/>
 | 
|---|
| 482 |       </attribute>
 | 
|---|
| 483 |     </optional>
 | 
|---|
| 484 |     <optional>
 | 
|---|
| 485 |       <attribute name="shortentry">
 | 
|---|
| 486 |         <ref name="yesorno.attvals"/>
 | 
|---|
| 487 |       </attribute>
 | 
|---|
| 488 |     </optional>
 | 
|---|
| 489 |     <optional>
 | 
|---|
| 490 |       <attribute name="orient">
 | 
|---|
| 491 |         <choice>
 | 
|---|
| 492 |           <value>port</value>
 | 
|---|
| 493 |           <value>land</value>
 | 
|---|
| 494 |         </choice>
 | 
|---|
| 495 |       </attribute>
 | 
|---|
| 496 |     </optional>
 | 
|---|
| 497 |     <optional>
 | 
|---|
| 498 |       <attribute name="pgwide">
 | 
|---|
| 499 |         <ref name="yesorno.attvals"/>
 | 
|---|
| 500 |       </attribute>
 | 
|---|
| 501 |     </optional>
 | 
|---|
| 502 |     <optional>
 | 
|---|
| 503 |       <attribute name="summary"/>
 | 
|---|
| 504 |     </optional>
 | 
|---|
| 505 |     <optional>
 | 
|---|
| 506 |       <attribute name="width"/>
 | 
|---|
| 507 |     </optional>
 | 
|---|
| 508 |     <optional>
 | 
|---|
| 509 |       <attribute name="border"/>
 | 
|---|
| 510 |     </optional>
 | 
|---|
| 511 |     <optional>
 | 
|---|
| 512 |       <attribute name="rules"/>
 | 
|---|
| 513 |     </optional>
 | 
|---|
| 514 |     <optional>
 | 
|---|
| 515 |       <attribute name="cellspacing"/>
 | 
|---|
| 516 |     </optional>
 | 
|---|
| 517 |     <optional>
 | 
|---|
| 518 |       <attribute name="cellpadding"/>
 | 
|---|
| 519 |     </optional>
 | 
|---|
| 520 |     <optional>
 | 
|---|
| 521 |       <attribute name="align">
 | 
|---|
| 522 |         <choice>
 | 
|---|
| 523 |           <value>left</value>
 | 
|---|
| 524 |           <value>center</value>
 | 
|---|
| 525 |           <value>right</value>
 | 
|---|
| 526 |         </choice>
 | 
|---|
| 527 |       </attribute>
 | 
|---|
| 528 |     </optional>
 | 
|---|
| 529 |     <optional>
 | 
|---|
| 530 |       <attribute name="bgcolor"/>
 | 
|---|
| 531 |     </optional>
 | 
|---|
| 532 |   </define>
 | 
|---|
| 533 |   <define name="tbl.frame.attval">
 | 
|---|
| 534 |     <choice>
 | 
|---|
| 535 |       <value>void</value>
 | 
|---|
| 536 |       <value>above</value>
 | 
|---|
| 537 |       <value>below</value>
 | 
|---|
| 538 |       <value>hsides</value>
 | 
|---|
| 539 |       <value>lhs</value>
 | 
|---|
| 540 |       <value>rhs</value>
 | 
|---|
| 541 |       <value>vsides</value>
 | 
|---|
| 542 |       <value>box</value>
 | 
|---|
| 543 |       <value>border</value>
 | 
|---|
| 544 |       <value>top</value>
 | 
|---|
| 545 |       <value>bottom</value>
 | 
|---|
| 546 |       <value>topbot</value>
 | 
|---|
| 547 |       <value>all</value>
 | 
|---|
| 548 |       <value>sides</value>
 | 
|---|
| 549 |       <value>none</value>
 | 
|---|
| 550 |     </choice>
 | 
|---|
| 551 |   </define>
 | 
|---|
| 552 |   <!-- Allow either objects or inlines; beware of REs between elements. -->
 | 
|---|
| 553 |   <define name="tbl.entry.mdl">
 | 
|---|
| 554 |     <choice>
 | 
|---|
| 555 |       <ref name="para.char.mix"/>
 | 
|---|
| 556 |       <ref name="tabentry.mix"/>
 | 
|---|
| 557 |     </choice>
 | 
|---|
| 558 |   </define>
 | 
|---|
| 559 |   <!--
 | 
|---|
| 560 |     thead, tfoot, and tbody are defined in both table models,
 | 
|---|
| 561 |     so we set up parameter entities to define union models for them
 | 
|---|
| 562 |   -->
 | 
|---|
| 563 |   <define name="tbl.hdft.mdl">
 | 
|---|
| 564 |     <choice>
 | 
|---|
| 565 |       <oneOrMore>
 | 
|---|
| 566 |         <ref name="tr"/>
 | 
|---|
| 567 |       </oneOrMore>
 | 
|---|
| 568 |       <group>
 | 
|---|
| 569 |         <zeroOrMore>
 | 
|---|
| 570 |           <ref name="colspec"/>
 | 
|---|
| 571 |         </zeroOrMore>
 | 
|---|
| 572 |         <oneOrMore>
 | 
|---|
| 573 |           <ref name="row"/>
 | 
|---|
| 574 |         </oneOrMore>
 | 
|---|
| 575 |       </group>
 | 
|---|
| 576 |     </choice>
 | 
|---|
| 577 |   </define>
 | 
|---|
| 578 |   <define name="tbl.tbody.mdl">
 | 
|---|
| 579 |     <choice>
 | 
|---|
| 580 |       <oneOrMore>
 | 
|---|
| 581 |         <ref name="tr"/>
 | 
|---|
| 582 |       </oneOrMore>
 | 
|---|
| 583 |       <oneOrMore>
 | 
|---|
| 584 |         <ref name="row"/>
 | 
|---|
| 585 |       </oneOrMore>
 | 
|---|
| 586 |     </choice>
 | 
|---|
| 587 |   </define>
 | 
|---|
| 588 | </grammar>
 | 
|---|
| 589 | <!-- End of DocBook XML HTML Table Module V4.5 ............................ -->
 | 
|---|
| 590 | <!-- ...................................................................... -->
 | 
|---|