calstblx.dtd 9.0 KB

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