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