entrytbl

entrytbl — A subtable appearing in place of an Entry in a table

Synopsis

Content Model

entrytbl ::=

Attributes

Common attributes and common linking attributes.

Additional attributes:

  • align (enumeration)
    • “center”
    • “char”
    • “justify”
    • “left”
    • “right”
  • char
  • charoff
  • At most one of:
    • colname
    • namest
    • spanname
    • All or none of:
      • namest
      • nameend
  • cols (integer)
  • colsep
  • rowsep
  • tgroupstyle

Description

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. EntryTbls have most of the elements of a table but may not include themselves, thus limiting nesting to a single level.

Note

An entrytbl can span horizontally (across columns) but it cannot span across rows. Whether this is by accident or design is unclear, but it has always been that way in CALS.

Processing expectations

This element is expected to obey the semantics of the CALS Table Model Document Type Definition, as specified by OASIS Technical Memorandum TM 9502:1995.

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 EntryTbls 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 EntryTbls. This is an interchange issue. See Appendix E, Interchanging DocBook Documents.

Attributes

Common attributes and common linking attributes.

align

FIXME:

Enumerated values:

center

FIXME:

char

FIXME:

justify

FIXME:

left

FIXME:

right

FIXME:

char

FIXME:

charoff

FIXME:

colname

FIXME:

cols

FIXME:

colsep

Specifies the presence or absence of the column separator

nameend

FIXME:

namest

FIXME:

rowsep

Specifies the presence or absence of the row separator

spanname

FIXME:

tgroupstyle

FIXME:

Parents

These elements contain entrytbl: row (db.row).

Children

The following elements occur in entrytbl: colspec, spanspec, tbody (db.cals.entrytbl.tbody), thead (db.cals.entrytbl.thead).

See Also

colspec, entry, informaltable, row, spanspec, table, tbody, tfoot, tgroup, thead

Examples

<article xmlns='http://docbook.org/ns/docbook'>
<title>Example entrytbl</title>

<!-- entrytbl not supported, fake it in descrip.1 -->
<informaltable frame='all'>
<tgroup cols='3'>
<tbody>
<row>
  <entry>a1</entry>
  <entry>b1</entry>
  <entry>c1</entry>
</row>
<row>
  <entry>a2</entry>
  <entrytbl cols='3'>
    <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>
a1b1c1
a2
b2a1b2b1b2c1
b2a2b2b2b2c2
b2a3b2b3b2c3
c2
a3b3c3

ChangeLog

This alpha reference page is $Revision: 1.5 $ published $Date: 2005/10/31 12:31:54 $.