1<!-- ...................................................................... --> 2<!-- DocBook CALS Table Model V4.5 ........................................ --> 3<!-- File calstblx.mod .................................................... --> 4 5<!-- Copyright 1992-2002 HaL Computer Systems, Inc., 6 O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software 7 Corporation, Norman Walsh, Sun Microsystems, Inc., and the 8 Organization for the Advancement of Structured Information 9 Standards (OASIS). 10 11 This DTD is based on the CALS Table Model 12 PUBLIC "-//USA-DOD//DTD Table Model 951010//EN" 13 14 $Id$ 15 16 Permission to use, copy, modify and distribute the DocBook DTD 17 and its accompanying documentation for any purpose and without fee 18 is hereby granted in perpetuity, provided that the above copyright 19 notice and this paragraph appear in all copies. The copyright 20 holders make no representation about the suitability of the DTD for 21 any purpose. It is provided "as is" without expressed or implied 22 warranty. 23 24 If you modify the DocBook DTD in any way, except for declaring and 25 referencing additional sets of general entities and declaring 26 additional notations, label your DTD as a variant of DocBook. See 27 the maintenance documentation for more information. 28 29 Please direct all questions, bug reports, or suggestions for 30 changes to the docbook@lists.oasis-open.org mailing list. For more 31 information, see http://www.oasis-open.org/docbook/. 32--> 33 34<!-- ...................................................................... --> 35 36<!-- This module contains the definitions for the CALS Table Model 37 converted to XML. It has been modified slightly for use in the 38 combined HTML/CALS models supported by DocBook V4.5. 39--> 40 41<!-- These definitions are not directly related to the table model, but are 42 used in the default CALS table model and are usually defined elsewhere 43 (and prior to the inclusion of this table module) in a CALS DTD. --> 44 45<!ENTITY % bodyatt ""> 46<!ENTITY % secur ""> 47 48<!-- no if zero(s), 49 yes if any other digits value --> 50 51<!ENTITY % yesorno 'CDATA'> 52<!ENTITY % titles 'title?'> 53 54<!-- default for use in entry content --> 55 56<!ENTITY % paracon '#PCDATA'> 57 58<!-- 59The parameter entities as defined below provide the CALS table model 60as published (as part of the Example DTD) in MIL-HDBK-28001. 61 62These following declarations provide the CALS-compliant default definitions 63for these entities. However, these entities can and should be redefined 64(by giving the appropriate parameter entity declaration(s) prior to the 65reference to this Table Model declaration set entity) to fit the needs 66of the current application. 67--> 68 69<!ENTITY % tbl.table.name "(table|chart)"> 70<!ENTITY % tbl.table-titles.mdl "%titles;,"> 71<!ENTITY % tbl.table-main.mdl "(tgroup+|graphic+)"> 72<!ENTITY % tbl.table.mdl "%tbl.table-titles.mdl; %tbl.table-main.mdl;"> 73<!ENTITY % tbl.table.att ' 74 tabstyle CDATA #IMPLIED 75 tocentry %yesorno; #IMPLIED 76 shortentry %yesorno; #IMPLIED 77 orient (port|land) #IMPLIED 78 pgwide %yesorno; #IMPLIED '> 79<!ENTITY % tbl.tgroup.mdl "colspec*,spanspec*,thead?,tfoot?,tbody"> 80<!ENTITY % tbl.tgroup.att ' 81 tgroupstyle CDATA #IMPLIED '> 82<!ENTITY % tbl.hdft.mdl "colspec*,row+"> 83<!ENTITY % tbl.row.mdl "(entry|entrytbl)+"> 84<!ENTITY % tbl.entrytbl.mdl "colspec*,spanspec*,thead?,tbody"> 85<!ENTITY % tbl.entry.mdl "(para|warning|caution|note|legend|%paracon;)*"> 86 87<!ENTITY % tbl.frame.attval "top|bottom|topbot|all|sides|none"> 88<!ENTITY % tbl.tbody.mdl "row+"> 89 90<!-- ===== Element and attribute declarations follow. ===== --> 91 92<!--doc:A formal table in a document.--> 93<!ELEMENT table %ho; (%tbl.table.mdl;)> 94 95<!ATTLIST table 96 frame (%tbl.frame.attval;) #IMPLIED 97 colsep %yesorno; #IMPLIED 98 rowsep %yesorno; #IMPLIED 99 %tbl.table.att; 100 %bodyatt; 101 %secur; 102> 103 104<!--doc:A wrapper for the main content of a table, or part of a table.--> 105<!ELEMENT tgroup %ho; (%tbl.tgroup.mdl;) > 106 107<!ATTLIST tgroup 108 cols CDATA #REQUIRED 109 %tbl.tgroup.att; 110 colsep %yesorno; #IMPLIED 111 rowsep %yesorno; #IMPLIED 112 align (left|right|center|justify|char) #IMPLIED 113 char CDATA #IMPLIED 114 charoff CDATA #IMPLIED 115 %secur; 116> 117 118<!--doc:Specifications for a column in a table.--> 119<!ELEMENT colspec %ho; EMPTY > 120 121<!ATTLIST colspec 122 colnum CDATA #IMPLIED 123 colname CDATA #IMPLIED 124 colwidth CDATA #IMPLIED 125 colsep %yesorno; #IMPLIED 126 rowsep %yesorno; #IMPLIED 127 align (left|right|center|justify|char) #IMPLIED 128 char CDATA #IMPLIED 129 charoff CDATA #IMPLIED 130> 131 132<!--doc:Formatting information for a spanned column in a table.--> 133<!ELEMENT spanspec %ho; EMPTY > 134 135<!ATTLIST spanspec 136 namest CDATA #REQUIRED 137 nameend CDATA #REQUIRED 138 spanname CDATA #REQUIRED 139 colsep %yesorno; #IMPLIED 140 rowsep %yesorno; #IMPLIED 141 align (left|right|center|justify|char) #IMPLIED 142 char CDATA #IMPLIED 143 charoff CDATA #IMPLIED 144> 145 146<!--doc:A table header consisting of one or more rows.--> 147<!ELEMENT thead %ho; (%tbl.hdft.mdl;)> 148<!ATTLIST thead 149 valign (top|middle|bottom) #IMPLIED 150 %secur; 151> 152 153<!--doc:A table footer consisting of one or more rows.--> 154<!ELEMENT tfoot %ho; (%tbl.hdft.mdl;)> 155<!ATTLIST tfoot 156 valign (top|middle|bottom) #IMPLIED 157 %secur; 158> 159 160<!--doc:A wrapper for the rows of a table or informal table.--> 161<!ELEMENT tbody %ho; (%tbl.tbody.mdl;)> 162 163<!ATTLIST tbody 164 valign (top|middle|bottom) #IMPLIED 165 %secur; 166> 167 168<!--doc:A row in a table.--> 169<!ELEMENT row %ho; (%tbl.row.mdl;)> 170 171<!ATTLIST row 172 rowsep %yesorno; #IMPLIED 173 valign (top|middle|bottom) #IMPLIED 174 %secur; 175> 176 177<!--doc:A subtable appearing in place of an Entry in a table.--> 178<!ELEMENT entrytbl %ho; (%tbl.entrytbl.mdl;)> 179 180<!ATTLIST entrytbl 181 cols CDATA #REQUIRED 182 %tbl.tgroup.att; 183 colname CDATA #IMPLIED 184 spanname CDATA #IMPLIED 185 namest CDATA #IMPLIED 186 nameend CDATA #IMPLIED 187 colsep %yesorno; #IMPLIED 188 rowsep %yesorno; #IMPLIED 189 align (left|right|center|justify|char) #IMPLIED 190 char CDATA #IMPLIED 191 charoff CDATA #IMPLIED 192 %secur; 193> 194 195<!--doc:A cell in a table.--> 196<!ELEMENT entry %ho; (%tbl.entry.mdl;)*> 197 198<!ATTLIST entry 199 colname CDATA #IMPLIED 200 namest CDATA #IMPLIED 201 nameend CDATA #IMPLIED 202 spanname CDATA #IMPLIED 203 morerows CDATA #IMPLIED 204 colsep %yesorno; #IMPLIED 205 rowsep %yesorno; #IMPLIED 206 align (left|right|center|justify|char) #IMPLIED 207 char CDATA #IMPLIED 208 charoff CDATA #IMPLIED 209 rotate %yesorno; #IMPLIED 210 valign (top|middle|bottom) #IMPLIED 211 %secur; 212> 213 214<!-- End of DocBook CALS Table Model V4.5 ................................. --> 215<!-- ...................................................................... --> 216