1 # Copyright (C) 1992-2002 HaL Computer Systems, Inc., O'Reilly &
2 # Associates, Inc., ArborText, Inc., Fujitsu Software Corporation,
3 # Norman Walsh, Sun Microsystems, Inc., and the Organization for the
4 # Advancement of Structured Information Standards (OASIS).
6 # Permission to use, copy, modify and distribute the DocBook DTD and
7 # its accompanying documentation for any purpose and without fee is
8 # hereby granted in perpetuity, provided that the above copyright
9 # notice and this paragraph appear in all copies. The copyright
10 # holders make no representation about the suitability of the DTD for
11 # any purpose. It is provided "as is" without expressed or implied
14 # This file was generated automatically by Trang, and then manually
15 # edited to add back definitions for overridden parameter entities and
16 # undefined elements, specifically: bodyatt, secur, paracon,
17 # tbl.table.mdl, tbl.entry.mdl, caution, graphic, legend, note, para,
18 # title, warning. This makes the semantics of this module as close as
19 # possible to the original DTD and also allows this schema to be used
20 # independently of DocBook.
22 # ......................................................................
24 # DocBook CALS Table Model V4.2 ........................................
26 # File calstblx.mod ....................................................
28 # Copyright 1992-2002 HaL Computer Systems, Inc.,
29 # O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
30 # Corporation, Norman Walsh, Sun Microsystems, Inc., and the
31 # Organization for the Advancement of Structured Information
34 # This DTD is based on the CALS Table Model
35 # PUBLIC "-//USA-DOD//DTD Table Model 951010//EN"
39 # Permission to use, copy, modify and distribute the DocBook DTD
40 # and its accompanying documentation for any purpose and without fee
41 # is hereby granted in perpetuity, provided that the above copyright
42 # notice and this paragraph appear in all copies. The copyright
43 # holders make no representation about the suitability of the DTD for
44 # any purpose. It is provided "as is" without expressed or implied
47 # If you modify the DocBook DTD in any way, except for declaring and
48 # referencing additional sets of general entities and declaring
49 # additional notations, label your DTD as a variant of DocBook. See
50 # the maintenance documentation for more information.
52 # Please direct all questions, bug reports, or suggestions for
53 # changes to the docbook@lists.oasis-open.org mailing list. For more
54 # information, see http://www.oasis-open.org/docbook/.
56 # ......................................................................
58 # This module contains the definitions for the CALS Table Model
61 # These definitions are not directly related to the table model, but are
62 # used in the default CALS table model and are usually defined elsewhere
63 # (and prior to the inclusion of this table module) in a CALS DTD.
69 # yes if any other digits value
73 # default for use in entry content
76 # The parameter entities as defined below provide the CALS table model
77 # as published (as part of the Example DTD) in MIL-HDBK-28001.
79 # These following declarations provide the CALS-compliant default definitions
80 # for these entities. However, these entities can and should be redefined
81 # (by giving the appropriate parameter entity declaration(s) prior to the
82 # reference to this Table Model declaration set entity) to fit the needs
83 # of the current application.
84 tbl.table-titles.mdl = titles
85 tbl.table-main.mdl = tgroup+ | graphic+
86 tbl.table.mdl = tbl.table-titles.mdl | tbl.table-main.mdl
88 attribute tabstyle { text }?,
89 attribute tocentry { yesorno }?,
90 attribute shortentry { yesorno }?,
91 attribute orient { "port" | "land" }?,
92 attribute pgwide { yesorno }?
93 tbl.tgroup.mdl = colspec*, spanspec*, thead?, tfoot?, tbody
94 tbl.tgroup.att = attribute tgroupstyle { text }?
95 tbl.hdft.mdl = colspec*, row+
96 tbl.row.mdl = (entry | entrytbl)+
97 tbl.entrytbl.mdl = colspec*, spanspec*, thead?, tbody
98 tbl.entry.mdl = paracon | para | warning | caution | note | legend
99 # ===== Element and attribute declarations follow. =====
101 table = element table { table.attlist, tbl.table.mdl }
104 "top" | "bottom" | "topbot" | "all" | "sides" | "none"
106 attribute colsep { yesorno }?,
107 attribute rowsep { yesorno }?,
111 tgroup = element tgroup { tgroup.attlist, tbl.tgroup.mdl }
113 attribute cols { text },
115 attribute colsep { yesorno }?,
116 attribute rowsep { yesorno }?,
117 attribute align { "left" | "right" | "center" | "justify" | "char" }?,
118 attribute char { text }?,
119 attribute charoff { text }?,
121 colspec = element colspec { colspec.attlist, empty }
123 attribute colnum { text }?,
124 attribute colname { text }?,
125 attribute colwidth { text }?,
126 attribute colsep { yesorno }?,
127 attribute rowsep { yesorno }?,
128 attribute align { "left" | "right" | "center" | "justify" | "char" }?,
129 attribute char { text }?,
130 attribute charoff { text }?
131 spanspec = element spanspec { spanspec.attlist, empty }
133 attribute namest { text },
134 attribute nameend { text },
135 attribute spanname { text },
136 attribute colsep { yesorno }?,
137 attribute rowsep { yesorno }?,
138 attribute align { "left" | "right" | "center" | "justify" | "char" }?,
139 attribute char { text }?,
140 attribute charoff { text }?
141 thead = element thead { thead.attlist, tbl.hdft.mdl }
143 attribute valign { "top" | "middle" | "bottom" }?,
145 tfoot = element tfoot { tfoot.attlist, tbl.hdft.mdl }
147 attribute valign { "top" | "middle" | "bottom" }?,
149 tbody = element tbody { tbody.attlist, row+ }
151 attribute valign { "top" | "middle" | "bottom" }?,
153 row = element row { row.attlist, tbl.row.mdl }
155 attribute rowsep { yesorno }?,
156 attribute valign { "top" | "middle" | "bottom" }?,
158 entrytbl = element entrytbl { entrytbl.attlist, tbl.entrytbl.mdl }
160 attribute cols { text },
162 attribute colname { text }?,
163 attribute spanname { text }?,
164 attribute namest { text }?,
165 attribute nameend { text }?,
166 attribute colsep { yesorno }?,
167 attribute rowsep { yesorno }?,
168 attribute align { "left" | "right" | "center" | "justify" | "char" }?,
169 attribute char { text }?,
170 attribute charoff { text }?,
172 entry = element entry { entry.attlist, tbl.entry.mdl* }
174 attribute colname { text }?,
175 attribute namest { text }?,
176 attribute nameend { text }?,
177 attribute spanname { text }?,
178 attribute morerows { text }?,
179 attribute colsep { yesorno }?,
180 attribute rowsep { yesorno }?,
181 attribute align { "left" | "right" | "center" | "justify" | "char" }?,
182 attribute char { text }?,
183 attribute charoff { text }?,
184 attribute rotate { yesorno }?,
185 attribute valign { "top" | "middle" | "bottom" }?,
187 caution |= notAllowed
188 graphic |= notAllowed
193 warning |= notAllowed
195 # End of DocBook CALS Table Model V4.2 .................................
197 # ......................................................................