InformalTable ::= (Graphic+|MediaObject+|TGroup+)
Name | Type | Default |
Label | CDATA | None |
pgwide | NUMBER | None |
Rowsep | NUMBER | None |
shortentry | NUMBER | None |
Colsep | NUMBER | None |
tabstyle | NMTOKEN | None |
Frame | Enumeration: All | None |
orient | Enumeration: land | None |
tocentry | NUMBER | None |
Both the start- and end-tags are required for this element.
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.
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.
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.
The following elements occur in InformalTable: Graphic, MediaObject, tgroup.
In some contexts, the following elements are allowed anywhere: BeginPage, IndexTerm.
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 specifies how the table is to be framed.
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.
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 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.
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.
This attribute is meaningless on InformalTable..
TabStyle holds the name of a table style defined in a stylesheet (e.g., a FOSI) that will be used to process this document.
This attribute is meaningless on InformalTable.
colspec, entry, entrytbl, Equation, Example, Figure, InformalEquation, InformalExample, InformalFigure, row, spanspec, Table, tbody, tfoot, tgroup, thead
<!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.
Copyright © 1999 O'Reilly & Associates, Inc. All rights reserved.