table — A formal table in a document
Attributes:
The Table
element identifies a formal table. 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.
FIXME:
FIXME:
FIXME:
FIXME:
Specifies style information to be used when rendering the float
FIXME:
Enumerated values: | |
---|---|
“void” | FIXME: |
“above” | FIXME: |
“below” | FIXME: |
“hsides” | FIXME: |
“lhs” | FIXME: |
“rhs” | FIXME: |
“vsides” | FIXME: |
“box” | FIXME: |
“border” | FIXME: |
FIXME:
FIXME:
FIXME:
FIXME:
FIXME:
FIXME:
FIXME:
FIXME:
FIXME:
FIXME:
FIXME:
Specifies the orientation of the table
Enumerated values: | |
---|---|
“land” | FIXME: |
“port” | FIXME: |
Indicates if the element is rendered across the column or the page
Enumerated values: | |
---|---|
“0” | The element should be rendered in the current text flow (with the flow column width). |
“1” | The element should be rendered across the full text page. |
FIXME:
Enumerated values: | |
---|---|
“none” | FIXME: |
“groups” | FIXME: |
“rows” | FIXME: |
“cols” | FIXME: |
“all” | FIXME: |
FIXME:
FIXME:
Specifies the table style
FIXME:
FIXME:
These elements contain table
: annotation
, answer
, appendix
, article
, bibliodiv
, bibliography
, bibliolist
, blockquote
, callout
, calloutlist
, caption
(db.caption), caution
, chapter
, colophon
, constraintdef
, dedication
, entry
, example
, figure
, footnote
, glossary
, glossdef
, glossdiv
, glosslist
, html:fieldset
, html:form
, important
, index
, indexdiv
, informalexample
, informalfigure
, itemizedlist
, legalnotice
, listitem
, msgexplan
, msgtext
, note
, orderedlist
, para
, partintro
, preface
, procedure
, qandadiv
, qandaset
, question
, refsect1
, refsect2
, refsect3
, refsection
, refsynopsisdiv
, revdescription
, sect1
, sect2
, sect3
, sect4
, sect5
, section
, setindex
, sidebar
, simplesect
, step
, taskprerequisites
, taskrelated
, tasksummary
, td
, textobject
, th
, tip
, toc
, tocdiv
, variablelist
, warning
.
colspec
, entry
, entrytbl
, equation
, example
, figure
, informalequation
, informalexample
, informalfigure
, informaltable
, row
, spanspec
, table
(db.cals.table), tbody
, tfoot
, tgroup
, thead
<article xmlns='http://docbook.org/ns/docbook'> <title>Example table</title> <table xml:id="ex.htmltable"> <caption>Sample HTML Table</caption> <thead> <tr> <td>Head 1</td> <td>Head 2</td> </tr> </thead> <tbody> <tr> <td>Body 1</td> <td>Body 2</td> </tr> </tbody> </table> </article>
Head 1 | Head 2 |
Body 1 | Body 2 |