$Date$
$Revision$
elements
table
table
Element
table
&table.purpose;
&table.synopsis.gen;
Description
The Table element identifies a formal table. DocBook uses the
&CALS; table model, which describes tables geometrically using rows, columns,
and cells.
Tables may include column headers and footers, but there is no provision for
row headers.
Processing expectations
&format.block; &calssemantics;
&FutureChanges;
DocBook DTDChanges for V5.0
The
OASIS
Exchange Table Model
will replace the full OASIS Table Model.
&table.parents.gen;
&table.children.gen;
CALS Attributes
colsep
If ColSep has the value 1 (true), then
a rule will be drawn to the right of all columns in this table.
A value of 0 (false) suppresses the rule.
The rule to the right of the last column in the table is controlled by the
Frame attribute, not the
ColSep.
frame
Frame specifies how the table is to be framed:
ValueMeaning
all
Frame all four sides of the table. In some environments with limited
control over table border formatting, such as HTML, this may imply additional borders.
bottom
Frame only the bottom of the table.
none
Place no border on the table. In some environments with limited
control over table border formatting, such as HTML, this may disable other borders as
well.
sides
Frame the left and right sides of the table.
top
Frame the top of the table.
topbot
Frame the top and bottom of the table.
There is no way to obtain a border on only the starting edge
(left, in left-to-right writing systems) of the table.
label
Label specifies an identifying string for presentation purposes.
Generally, an explicit Label attribute is
used only if the processing system is incapable of generating the label
automatically. If present, the Label
is normative; it will used even
if the processing system is capable of automatic labelling.
orient
Orient specifies the orientation of the
Table. An orientation of Port is
the upright
, the same orientation as the rest of the text flow.
An orientation of Land is 90 degrees counterclockwise
from the upright orientation.
pgwide
If Pgwide has the value 0 (false), then the
Table is rendered in the current text flow (with flow
column width). A value of 1 (true) specifies that the table should be
rendered across the full text page.
rowsep
If RowSep has the value 1 (true), then a
rule will be drawn below all the rows in the Table
(unless other, interior elements, suppress some or all of the rules).
A value of 0 (false) suppresses the rule. The rule below the last row
in the table is controlled by the Frame
attribute and the RowSep
of the last row is ignored.
shortentry
If ShortEntry has the value 1 (true), then the
Table's TitleAbbrev will be used in the
LoT, Index, etc. A value of 0 (false) indicates
that the full Title should be used in those places.
tabstyle
TabStyle holds the name of a table style
defined in a stylesheet (e.g., a FOSI) that will be used
to process this document.
tocentry
If ToCEntry has the value 1 (true), then the
Table will appear in a generated List of Tables.
The default value of 0 (false) indicates that it will not.
HTML Attributes
This element has the HTML event attributes.
align
TBD.
bgcolor
TBD.
border
TBD.
cellpadding
TBD.
cellspacing
TBD.
class
TBD.
frame
TBD.
label
TBD.
rules
Controls the rules used inside the table. The legal values are
“none”, “groups”, “rows”, “cols”, and “all”. The DTD does not enforce this
constraint because it introduces a conflict in attribute values that violates an
SGML constraint.
shortentry
TBD.
summary
TBD.
tabstyle
TBD.
title
TBD.
See Also
&table.seealso.gen;
Examples
&table.example.1.txt;
&table.example.1.gen;
&table.example.seealso.gen;