entrytbl — A subtable appearing in place of an entry in a table
entrytbl ::=
(colspec
*, spanspec
*,
thead
? db.cals.entrytbl.thead,
tbody
db.cals.entrytbl.tbody)
Common attributes and common linking attributes.
Additional attributes:
align
(enumeration) = “center” | “char” | “justify” | “left” |
“right”
char
charoff
(decimal)
At most one of:
colname
namest
spanname
All or none of:
namest
nameend
cols
(positiveInteger)
colsep
(enumeration) = “0” | “1”
rowsep
(enumeration) = “0” | “1”
tgroupstyle
The entrytbl
element allows for a single level
of nesting within CALS tables.
An entry table may occur in a row instead of an
entry
. An entrytbl
has most of the
elements of a table but may not include itself, thus limiting nesting to
a single level.
An entrytbl
can span horizontally (across
columns), but it cannot span across rows. Whether this is by accident
or by design is unclear, but it has always been that way in
CALS.
This element is expected to obey the semantics of the CALS Table Model Document Type Definition [calsdtd].
The content of entrytbl
is formatted,
as a table, to fit within the table cell that it
occupies. Horizontal and vertical spanning may allow an
entrytbl
to occupy several physical cells in the
table that contains it.
If multiple entrytbl
s occur in a single row,
formatters that support entrytbl
are not required
to ensure that subrows within the various tables are vertically
aligned.
Many formatters are incapable of supporting
entrytbl
s. This is an interchange issue. See Appendix D.
Common attributes and common linking attributes.
Specifies the horizontal alignment of text in an entry.
Enumerated values: | |
---|---|
“center” | Centered |
“char” | Aligned on a particular character |
“justify” | Left and right justified |
“left” | Left justified |
“right” | Right justified |
Specifies the alignment character when align
is set to
“char”.
Specifies the percentage of the column’s total width that
should appear to the left of the first occurrence of the
character identified in char
when align
is set to
“char”.
Specifies a column specification by name.
The number of columns in the entry table. Must be an integer greater than zero.
Specifies the presence or absence of the column separator.
Enumerated values: | |
---|---|
“0” | No column separator rule. |
“1” | Provide a column separator rule on the right. |
Specifies an ending column by name.
Specifies a starting column by name.
Specifies the presence or absence of the row separator.
Enumerated values: | |
---|---|
“0” | No row separator rule. |
“1” | Provide a row separator rule below. |
Specifies a span by name.
Additional style information for downstream processing; typically the name of a style.
<article xmlns='http://docbook.org/ns/docbook'> <title>Example entrytbl</title> <informaltable frame='all' rowsep='1' colsep='1'> <tgroup cols='3'> <tbody> <row> <entry>a1</entry> <entry>b1</entry> <entry>c1</entry> </row> <row> <entry>a2</entry> <entrytbl cols='3' rowsep='1' colsep='1'> <tbody> <row> <entry>b2a1</entry> <entry>b2b1</entry> <entry>b2c1</entry> </row> <row> <entry>b2a2</entry> <entry>b2b2</entry> <entry>b2c2</entry> </row> <row> <entry>b2a3</entry> <entry>b2b3</entry> <entry>b2c3</entry> </row> </tbody> </entrytbl> <entry>c2</entry> </row> <row> <entry>a3</entry> <entry>b3</entry> <entry>c3</entry> </row> </tbody> </tgroup> </informaltable> </article>