Updated for CVS 2.5.32 now.
[fvwm.git] / doc / docbook-xml / calstblx.dtd
blob29d6df50728379160c020d977b9f66971869c46f
1 <!-- ...................................................................... -->
2 <!-- DocBook CALS Table Model V4.5 ........................................ -->
3 <!-- File calstblx.mod .................................................... -->
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).
11 This DTD is based on the CALS Table Model
12 PUBLIC "-//USA-DOD//DTD Table Model 951010//EN"
14 $Id: calstblx.dtd,v 1.1 2007/03/10 05:14:55 scott Exp $
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.
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.
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 -->
34 <!-- ...................................................................... -->
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 -->
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. -->
45 <!ENTITY % bodyatt "">
46 <!ENTITY % secur "">
48 <!-- no if zero(s),
49 yes if any other digits value -->
51 <!ENTITY % yesorno 'CDATA'>
52 <!ENTITY % titles 'title?'>
54 <!-- default for use in entry content -->
56 <!ENTITY % paracon '#PCDATA'>
58 <!--
59 The parameter entities as defined below provide the CALS table model
60 as published (as part of the Example DTD) in MIL-HDBK-28001.
62 These following declarations provide the CALS-compliant default definitions
63 for these entities. However, these entities can and should be redefined
64 (by giving the appropriate parameter entity declaration(s) prior to the
65 reference to this Table Model declaration set entity) to fit the needs
66 of the current application.
67 -->
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;)*">
87 <!ENTITY % tbl.frame.attval "top|bottom|topbot|all|sides|none">
88 <!ENTITY % tbl.tbody.mdl "row+">
90 <!-- ===== Element and attribute declarations follow. ===== -->
92 <!--doc:A formal table in a document.-->
93 <!ELEMENT table %ho; (%tbl.table.mdl;)>
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;
104 <!--doc:A wrapper for the main content of a table, or part of a table.-->
105 <!ELEMENT tgroup %ho; (%tbl.tgroup.mdl;) >
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;
118 <!--doc:Specifications for a column in a table.-->
119 <!ELEMENT colspec %ho; EMPTY >
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
132 <!--doc:Formatting information for a spanned column in a table.-->
133 <!ELEMENT spanspec %ho; EMPTY >
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
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;
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;
160 <!--doc:A wrapper for the rows of a table or informal table.-->
161 <!ELEMENT tbody %ho; (%tbl.tbody.mdl;)>
163 <!ATTLIST tbody
164 valign (top|middle|bottom) #IMPLIED
165 %secur;
168 <!--doc:A row in a table.-->
169 <!ELEMENT row %ho; (%tbl.row.mdl;)>
171 <!ATTLIST row
172 rowsep %yesorno; #IMPLIED
173 valign (top|middle|bottom) #IMPLIED
174 %secur;
177 <!--doc:A subtable appearing in place of an Entry in a table.-->
178 <!ELEMENT entrytbl %ho; (%tbl.entrytbl.mdl;)>
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;
195 <!--doc:A cell in a table.-->
196 <!ELEMENT entry %ho; (%tbl.entry.mdl;)*>
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;
214 <!-- End of DocBook CALS Table Model V4.5 ................................. -->
215 <!-- ...................................................................... -->