DocBook 5: 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
|
DocBook: The Definitive Guide | ||
---|---|---|
Prev | Next |
Name
InformalTable -- A table without a title
Synopsis
Content Model
InformalTable ::= (Graphic+|MediaObject+|TGroup+)
Attributes
Common attributes
Name | Type | Default |
Label | CDATA | None |
pgwide | NUMBER | None |
Rowsep | NUMBER | None |
shortentry | NUMBER | None |
Colsep | NUMBER | None |
tabstyle | NMTOKEN | None |
Frame | Enumeration: AllBottomNoneSidesTopTopbot | None |
orient | Enumeration: landport | None |
tocentry | NUMBER | None |
Tag Minimization
Both the start- and end-tags are required for this element.
Parameter Entities
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.
Parents
These elements contain InformalTable: Answer, Appendix, Article, BiblioDiv, Bibliography, BlockQuote, Callout, Caution, Chapter, Example, Figure, Footnote, Glossary, GlossDef, GlossDiv, Important, Index, IndexDiv, InformalExample, InformalFigure, ListItem, MsgExplan, MsgText, Note, Para, PartIntro, Preface, Procedure, QandADiv, QandASet, Question, RefSect1, RefSect2, RefSect3, RefSynopsisDiv, Sect1, Sect2, Sect3, Sect4, Sect5, Section, SetIndex, Sidebar, SimpleSect, Step, Tip, Warning.
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>
1 | 1 |
2 | 4 |
3 | 9 |
For additional examples, see also entrytbl, FootnoteRef, RefEntry.
Prev | Home | Next |
InformalFigure | Up | InlineEquation |
Back to: DocBook: The Definitive Guide
O'Reilly Home | O'Reilly Bookstores | How to Order | O'Reilly Contacts International | About O'Reilly | Affiliated Companies
© 1999, O'Reilly & Associates, Inc.