Initial commit
[profile/ivi/docbook-dtds.git] / 4.3-xml / calstblx.dtd
1 <!-- ...................................................................... -->
2 <!-- DocBook CALS Table Model V4.3 ........................................ -->
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: calstblx.dtd,v 1.20 2004/03/31 10:44:12 nwalsh Exp $
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.3.
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 <!--
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.
61
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 -->
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 <!ELEMENT table %ho; (%tbl.table.mdl;)>
93
94 <!ATTLIST table
95         frame           (%tbl.frame.attval;)                    #IMPLIED
96         colsep          %yesorno;                               #IMPLIED
97         rowsep          %yesorno;                               #IMPLIED
98         %tbl.table.att;
99         %bodyatt;
100         %secur;
101 >
102
103 <!ELEMENT tgroup %ho; (%tbl.tgroup.mdl;) >
104
105 <!ATTLIST tgroup
106         cols            CDATA                                   #REQUIRED
107         %tbl.tgroup.att;
108         colsep          %yesorno;                               #IMPLIED
109         rowsep          %yesorno;                               #IMPLIED
110         align           (left|right|center|justify|char)        #IMPLIED
111         char            CDATA                                   #IMPLIED
112         charoff         CDATA                                   #IMPLIED
113         %secur;
114 >
115
116 <!ELEMENT colspec %ho; EMPTY >
117
118 <!ATTLIST colspec
119         colnum          CDATA                                   #IMPLIED
120         colname         CDATA                                   #IMPLIED
121         colwidth        CDATA                                   #IMPLIED
122         colsep          %yesorno;                               #IMPLIED
123         rowsep          %yesorno;                               #IMPLIED
124         align           (left|right|center|justify|char)        #IMPLIED
125         char            CDATA                                   #IMPLIED
126         charoff         CDATA                                   #IMPLIED
127 >
128
129 <!ELEMENT spanspec %ho; EMPTY >
130
131 <!ATTLIST spanspec
132         namest          CDATA                                   #REQUIRED
133         nameend         CDATA                                   #REQUIRED
134         spanname        CDATA                                   #REQUIRED
135         colsep          %yesorno;                               #IMPLIED
136         rowsep          %yesorno;                               #IMPLIED
137         align           (left|right|center|justify|char)        #IMPLIED
138         char            CDATA                                   #IMPLIED
139         charoff         CDATA                                   #IMPLIED
140 >
141
142 <!ELEMENT thead %ho; (%tbl.hdft.mdl;)>
143 <!ATTLIST thead
144         valign          (top|middle|bottom)                     #IMPLIED
145         %secur;
146 >
147
148 <!ELEMENT tfoot %ho; (%tbl.hdft.mdl;)>
149 <!ATTLIST tfoot
150         valign          (top|middle|bottom)                     #IMPLIED
151         %secur;
152 >
153
154 <!ELEMENT tbody %ho; (%tbl.tbody.mdl;)>
155
156 <!ATTLIST tbody
157         valign          (top|middle|bottom)                     #IMPLIED
158         %secur;
159 >
160
161 <!ELEMENT row %ho; (%tbl.row.mdl;)>
162
163 <!ATTLIST row
164         rowsep          %yesorno;                               #IMPLIED
165         valign          (top|middle|bottom)                     #IMPLIED
166         %secur;
167 >
168
169 <!ELEMENT entrytbl %ho; (%tbl.entrytbl.mdl;)>
170
171 <!ATTLIST entrytbl
172         cols            CDATA                                   #REQUIRED
173         %tbl.tgroup.att;
174         colname         CDATA                                   #IMPLIED
175         spanname        CDATA                                   #IMPLIED
176         namest          CDATA                                   #IMPLIED
177         nameend         CDATA                                   #IMPLIED
178         colsep          %yesorno;                               #IMPLIED
179         rowsep          %yesorno;                               #IMPLIED
180         align           (left|right|center|justify|char)        #IMPLIED
181         char            CDATA                                   #IMPLIED
182         charoff         CDATA                                   #IMPLIED
183         %secur;
184 >
185
186 <!ELEMENT entry %ho; (%tbl.entry.mdl;)*>
187
188 <!ATTLIST entry
189         colname         CDATA                                   #IMPLIED
190         namest          CDATA                                   #IMPLIED
191         nameend         CDATA                                   #IMPLIED
192         spanname        CDATA                                   #IMPLIED
193         morerows        CDATA                                   #IMPLIED
194         colsep          %yesorno;                               #IMPLIED
195         rowsep          %yesorno;                               #IMPLIED
196         align           (left|right|center|justify|char)        #IMPLIED
197         char            CDATA                                   #IMPLIED
198         charoff         CDATA                                   #IMPLIED
199         rotate          %yesorno;                               #IMPLIED
200         valign          (top|middle|bottom)                     #IMPLIED
201         %secur;
202 >
203
204 <!-- End of DocBook CALS Table Model V4.3 ................................. -->
205 <!-- ...................................................................... -->