Initial commit
[profile/ivi/docbook-dtds.git] / 4.2-sgml / calstblx.dtd
1 <!-- ...................................................................... -->
2 <!-- DocBook CALS Table Model V4.2 ........................................ -->
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.12 2002/07/17 15:26:16 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.
38 -->
39
40 <!-- These definitions are not directly related to the table model, but are
41      used in the default CALS table model and are usually defined elsewhere
42      (and prior to the inclusion of this table module) in a CALS DTD. -->
43
44 <!ENTITY % bodyatt "">
45 <!ENTITY % secur "">
46
47 <!-- no if zero(s),
48                                 yes if any other digits value -->
49
50 <!ENTITY % yesorno 'CDATA'>
51 <!ENTITY % titles  'title?'>
52
53 <!-- default for use in entry content -->
54
55 <!ENTITY % paracon '#PCDATA'>
56
57 <!--
58 The parameter entities as defined below provide the CALS table model
59 as published (as part of the Example DTD) in MIL-HDBK-28001.
60
61 These following declarations provide the CALS-compliant default definitions
62 for these entities.  However, these entities can and should be redefined
63 (by giving the appropriate parameter entity declaration(s) prior to the
64 reference to this Table Model declaration set entity) to fit the needs
65 of the current application.
66 -->
67
68 <!ENTITY % tbl.table.name       "(table|chart)">
69 <!ENTITY % tbl.table-titles.mdl "%titles;,">
70 <!ENTITY % tbl.table-main.mdl   "(tgroup+|graphic+)">
71 <!ENTITY % tbl.table.mdl        "%tbl.table-titles.mdl; %tbl.table-main.mdl;">
72 <!ENTITY % tbl.table.att        '
73     tabstyle    CDATA           #IMPLIED
74     tocentry    %yesorno;       #IMPLIED
75     shortentry  %yesorno;       #IMPLIED
76     orient      (port|land)     #IMPLIED
77     pgwide      %yesorno;       #IMPLIED '>
78 <!ENTITY % tbl.tgroup.mdl       "colspec*,spanspec*,thead?,tfoot?,tbody">
79 <!ENTITY % tbl.tgroup.att       '
80     tgroupstyle CDATA           #IMPLIED '>
81 <!ENTITY % tbl.hdft.mdl         "colspec*,row+">
82 <!ENTITY % tbl.row.mdl          "(entry|entrytbl)+">
83 <!ENTITY % tbl.entrytbl.mdl     "colspec*,spanspec*,thead?,tbody">
84 <!ENTITY % tbl.entry.mdl        "(para|warning|caution|note|legend|%paracon;)*">
85 <!-- =====  Element and attribute declarations follow. =====  -->
86
87 <!ELEMENT table %ho; (%tbl.table.mdl;)>
88
89 <!ATTLIST table
90         frame           (top|bottom|topbot|all|sides|none)      #IMPLIED
91         colsep          %yesorno;                               #IMPLIED
92         rowsep          %yesorno;                               #IMPLIED
93         %tbl.table.att;
94         %bodyatt;
95         %secur;
96 >
97
98 <!ELEMENT tgroup %ho; (%tbl.tgroup.mdl;) >
99
100 <!ATTLIST tgroup
101         cols            CDATA                                   #REQUIRED
102         %tbl.tgroup.att;
103         colsep          %yesorno;                               #IMPLIED
104         rowsep          %yesorno;                               #IMPLIED
105         align           (left|right|center|justify|char)        #IMPLIED
106         char            CDATA                                   #IMPLIED
107         charoff         CDATA                                   #IMPLIED
108         %secur;
109 >
110
111 <!ELEMENT colspec %ho; EMPTY >
112
113 <!ATTLIST colspec
114         colnum          CDATA                                   #IMPLIED
115         colname         CDATA                                   #IMPLIED
116         colwidth        CDATA                                   #IMPLIED
117         colsep          %yesorno;                               #IMPLIED
118         rowsep          %yesorno;                               #IMPLIED
119         align           (left|right|center|justify|char)        #IMPLIED
120         char            CDATA                                   #IMPLIED
121         charoff         CDATA                                   #IMPLIED
122 >
123
124 <!ELEMENT spanspec %ho; EMPTY >
125
126 <!ATTLIST spanspec
127         namest          CDATA                                   #REQUIRED
128         nameend         CDATA                                   #REQUIRED
129         spanname        CDATA                                   #REQUIRED
130         colsep          %yesorno;                               #IMPLIED
131         rowsep          %yesorno;                               #IMPLIED
132         align           (left|right|center|justify|char)        #IMPLIED
133         char            CDATA                                   #IMPLIED
134         charoff         CDATA                                   #IMPLIED
135 >
136
137 <!ELEMENT thead %ho; (%tbl.hdft.mdl;)>
138 <!ATTLIST thead
139         valign          (top|middle|bottom)                     #IMPLIED
140         %secur;
141 >
142
143 <!ELEMENT tfoot %ho; (%tbl.hdft.mdl;)>
144 <!ATTLIST tfoot
145         valign          (top|middle|bottom)                     #IMPLIED
146         %secur;
147 >
148
149 <!ELEMENT tbody %ho; (row+)>
150
151 <!ATTLIST tbody
152         valign          (top|middle|bottom)                     #IMPLIED
153         %secur;
154 >
155
156 <!ELEMENT row %ho; (%tbl.row.mdl;)>
157
158 <!ATTLIST row
159         rowsep          %yesorno;                               #IMPLIED
160         valign          (top|middle|bottom)                     #IMPLIED
161         %secur;
162 >
163
164 <!ELEMENT entrytbl %ho; (%tbl.entrytbl.mdl;)>
165
166 <!ATTLIST entrytbl
167         cols            CDATA                                   #REQUIRED
168         %tbl.tgroup.att;
169         colname         CDATA                                   #IMPLIED
170         spanname        CDATA                                   #IMPLIED
171         namest          CDATA                                   #IMPLIED
172         nameend         CDATA                                   #IMPLIED
173         colsep          %yesorno;                               #IMPLIED
174         rowsep          %yesorno;                               #IMPLIED
175         align           (left|right|center|justify|char)        #IMPLIED
176         char            CDATA                                   #IMPLIED
177         charoff         CDATA                                   #IMPLIED
178         %secur;
179 >
180
181 <!ELEMENT entry %ho; (%tbl.entry.mdl;)*>
182
183 <!ATTLIST entry
184         colname         CDATA                                   #IMPLIED
185         namest          CDATA                                   #IMPLIED
186         nameend         CDATA                                   #IMPLIED
187         spanname        CDATA                                   #IMPLIED
188         morerows        CDATA                                   #IMPLIED
189         colsep          %yesorno;                               #IMPLIED
190         rowsep          %yesorno;                               #IMPLIED
191         align           (left|right|center|justify|char)        #IMPLIED
192         char            CDATA                                   #IMPLIED
193         charoff         CDATA                                   #IMPLIED
194         rotate          %yesorno;                               #IMPLIED
195         valign          (top|middle|bottom)                     #IMPLIED
196         %secur;
197 >
198
199 <!-- End of DocBook CALS Table Model V4.2 ................................. -->
200 <!-- ...................................................................... -->