1<!-- ====================================================================== --> 2<!-- CALS Table Model XML V3.1.7 3 Part of the DocBk XML V3.1.7 DTD 4 http://nwalsh.com/docbook/xml/ 5 6 See COPYRIGHT for more information 7 8 Please direct all questions and comments about this DTD to 9 Norman Walsh, <ndw@nwalsh.com>. 10 11 This DTD is based on the CALS Table Model 12 PUBLIC "-//USA-DOD//DTD Table Model 951010//EN" 13 --> 14<!-- ====================================================================== --> 15 16<!-- These definitions are not directly related to the table model, but are 17 used in the default CALS table model and are usually defined elsewhere 18 (and prior to the inclusion of this table module) in a CALS DTD. --> 19 20<!ENTITY % bodyatt ""> 21<!ENTITY % secur ""> 22 23<!-- no if zero(s), 24 yes if any other digits value --> 25 26<!ENTITY % yesorno 'CDATA'> 27<!ENTITY % titles 'title?'> 28 29<!-- default for use in entry content --> 30 31<!ENTITY % paracon '#PCDATA'> 32 33<!-- 34The parameter entities as defined below provide the CALS table model 35as published (as part of the Example DTD) in MIL-HDBK-28001. 36 37These following declarations provide the CALS-compliant default definitions 38for these entities. However, these entities can and should be redefined 39(by giving the appropriate parameter entity declaration(s) prior to the 40reference to this Table Model declaration set entity) to fit the needs 41of the current application. 42--> 43 44<!ENTITY % tbl.table.name "(table|chart)"> 45<!ENTITY % tbl.table-titles.mdl "%titles;,"> 46<!ENTITY % tbl.table-main.mdl "(tgroup+|graphic+)"> 47<!ENTITY % tbl.table.mdl "%tbl.table-titles.mdl; %tbl.table-main.mdl;"> 48<!ENTITY % tbl.table.att ' 49 tabstyle CDATA #IMPLIED 50 tocentry %yesorno; #IMPLIED 51 shortentry %yesorno; #IMPLIED 52 orient (port|land) #IMPLIED 53 pgwide %yesorno; #IMPLIED '> 54<!ENTITY % tbl.tgroup.mdl "colspec*,spanspec*,thead?,tfoot?,tbody"> 55<!ENTITY % tbl.tgroup.att ' 56 tgroupstyle CDATA #IMPLIED '> 57<!ENTITY % tbl.hdft.mdl "colspec*,row+"> 58<!ENTITY % tbl.row.mdl "(entry|entrytbl)+"> 59<!ENTITY % tbl.entrytbl.mdl "colspec*,spanspec*,thead?,tbody"> 60<!ENTITY % tbl.entry.mdl "(para|warning|caution|note|legend|%paracon;)*"> 61<!-- ===== Element and attribute declarations follow. ===== --> 62 63<!ELEMENT table (%tbl.table.mdl;)> 64 65<!ATTLIST table 66 frame (top|bottom|topbot|all|sides|none) #IMPLIED 67 colsep %yesorno; #IMPLIED 68 rowsep %yesorno; #IMPLIED 69 %tbl.table.att; 70 %bodyatt; 71 %secur; 72> 73 74<!ELEMENT tgroup (%tbl.tgroup.mdl;) > 75 76<!ATTLIST tgroup 77 cols CDATA #REQUIRED 78 %tbl.tgroup.att; 79 colsep %yesorno; #IMPLIED 80 rowsep %yesorno; #IMPLIED 81 align (left|right|center|justify|char) #IMPLIED 82 char CDATA #IMPLIED 83 charoff CDATA #IMPLIED 84 %secur; 85> 86 87<!ELEMENT colspec EMPTY > 88 89<!ATTLIST colspec 90 colnum CDATA #IMPLIED 91 colname CDATA #IMPLIED 92 colwidth CDATA #IMPLIED 93 colsep %yesorno; #IMPLIED 94 rowsep %yesorno; #IMPLIED 95 align (left|right|center|justify|char) #IMPLIED 96 char CDATA #IMPLIED 97 charoff CDATA #IMPLIED 98> 99 100<!ELEMENT spanspec EMPTY > 101 102<!ATTLIST spanspec 103 namest CDATA #REQUIRED 104 nameend CDATA #REQUIRED 105 spanname CDATA #REQUIRED 106 colsep %yesorno; #IMPLIED 107 rowsep %yesorno; #IMPLIED 108 align (left|right|center|justify|char) #IMPLIED 109 char CDATA #IMPLIED 110 charoff CDATA #IMPLIED 111> 112 113<!ELEMENT thead (%tbl.hdft.mdl;)> 114<!ATTLIST thead 115 valign (top|middle|bottom) #IMPLIED 116 %secur; 117> 118 119<!ELEMENT tfoot (%tbl.hdft.mdl;)> 120<!ATTLIST tfoot 121 valign (top|middle|bottom) #IMPLIED 122 %secur; 123> 124 125<!ELEMENT tbody (row+)> 126 127<!ATTLIST tbody 128 valign (top|middle|bottom) #IMPLIED 129 %secur; 130> 131 132<!ELEMENT row (%tbl.row.mdl;)> 133 134<!ATTLIST row 135 rowsep %yesorno; #IMPLIED 136 valign (top|middle|bottom) #IMPLIED 137 %secur; 138> 139 140<!ELEMENT entrytbl (%tbl.entrytbl.mdl;)> 141 142<!ATTLIST entrytbl 143 cols CDATA #REQUIRED 144 %tbl.tgroup.att; 145 colname CDATA #IMPLIED 146 spanname CDATA #IMPLIED 147 namest CDATA #IMPLIED 148 nameend CDATA #IMPLIED 149 colsep %yesorno; #IMPLIED 150 rowsep %yesorno; #IMPLIED 151 align (left|right|center|justify|char) #IMPLIED 152 char CDATA #IMPLIED 153 charoff CDATA #IMPLIED 154 %secur; 155> 156 157<!ELEMENT entry (%tbl.entry.mdl;)*> 158 159<!ATTLIST entry 160 colname CDATA #IMPLIED 161 namest CDATA #IMPLIED 162 nameend CDATA #IMPLIED 163 spanname CDATA #IMPLIED 164 morerows CDATA #IMPLIED 165 colsep %yesorno; #IMPLIED 166 rowsep %yesorno; #IMPLIED 167 align (left|right|center|justify|char) #IMPLIED 168 char CDATA #IMPLIED 169 charoff CDATA #IMPLIED 170 rotate %yesorno; #IMPLIED 171 valign (top|middle|bottom) #IMPLIED 172 %secur; 173> 174 175<!-- End of CALS Table Model XML V3.1.7 ..................................... --> 176<!-- ...................................................................... --> 177