Search the Catalog
DocBook: The Definitive Guide

DocBook: The Definitive Guide

By Norman Walsh & Leonard Muellner
1st Edition October 1999
1-56592-580-7, Order Number: 5807
652 pages, $36.95 , Includes CD-ROM

InformalTable

Name

InformalTable -- A table without a title

Synopsis

Content Model

InformalTable ::=
(Graphic+|MediaObject+|TGroup+)

Attributes

Common attributes

Name

Type

Default

LabelCDATANone
pgwideNUMBERNone
RowsepNUMBERNone
shortentryNUMBERNone
ColsepNUMBERNone
tabstyleNMTOKENNone
Frame

Enumeration:

All
Bottom
None
Sides
Top
Topbot

None
orient

Enumeration:

land
port

None
tocentryNUMBERNone

Tag Minimization

Both the start- and end-tags are required for this element.

Parameter Entities

%admon.mix;%bookcomponent.content;%component.mix;
%divcomponent.mix;%example.mix;%figure.mix;
%footnote.mix;%glossdef.mix;%indexdivcomponent.mix;
%informal.class;%para.mix;%qandaset.mix;
%refcomponent.mix;%sidebar.mix;%tbl.table.excep;

Description

An InformalTable element identifies an informal table (one without a Title). 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

Formatted as a displayed block. 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.

Children

The following elements occur in InformalTable: Graphic, MediaObject, tgroup.

In some contexts, the following elements are allowed anywhere: BeginPage, IndexTerm.

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.

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.

Rowsep

If RowSep has the value 1 (true), then a rule will be drawn below all the rows in the InformalTable (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.

orient

Orient specifies the orientation of the InformalTable. 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 InformalTable 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.

shortentry

This attribute is meaningless on InformalTable..

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

This attribute is meaningless on InformalTable.

See Also

colspec, entry, entrytbl, Equation, Example, Figure, InformalEquation, InformalExample, InformalFigure, row, spanspec, Table, tbody, tfoot, tgroup, thead

Examples

<!DOCTYPE informaltable PUBLIC "-//OASIS//DTD DocBook V3.1//EN">
<informaltable frame=none>
<tgroup cols=2>
<colspec colwidth=0.5in>
<colspec colwidth=0.5in>
<tbody>
<row><entry>1</entry><entry>1</entry></row>
<row><entry>2</entry><entry>4</entry></row>
<row><entry>3</entry><entry>9</entry></row>
</tbody>
</tgroup>
</informaltable>

11
24
39

For additional examples, see also entrytbl, FootnoteRef, RefEntry.

Back to: DocBook: The Definitive Guide


oreilly.com Home | O'Reilly Bookstores | How to Order | O'Reilly Contacts
International | About O'Reilly | Affiliated Companies | Privacy Policy

© 2001, O'Reilly & Associates, Inc.