The CALS Table Model is incorporated into DocBook by reference to the standard CALS Table Model DTD. The CALS Table Model DTD, like DocBook, can be customized by defining a number of parameter entities before including it. The parameter entities in the following sections are the table-model related parameter entities defined by DocBook for use in the CALS Table Model.
Parameterizes additional attributes (unrelated to table formatting)
on the table body (see also
Name | Type | Default |
Label | CDATA | None |
%bodyatt; contributes to the declaration of the following elements:
InformalTable | Table |
Points to the CALS Table Model DTD via its public identifier:
Public identifier: -//USA-DOD//DTD Table Model 951010//EN
Theoretically defines the "text" part of the content model
of table cells. This entity is defined in the CALS Table Model
DTD, but is unused in DocBook because it is not
included in the
#PCDATA
Defines additional attributes (unrelated to table formatting) on table
elements:
TGroup
TBody
THead
TFoot
Row
EntryTbl
Entry. See also
Replacement text is empty.
Name | Type | Default |
Id | ID | None |
Lang | CDATA | None |
Remap | CDATA | None |
XRefLabel | CDATA | None |
RevisionFlag | Enumerated: Changed | None |
Arch | CDATA | None |
Conformance | NMTOKENS | None |
OS | CDATA | None |
Revision | CDATA | None |
UserLevel | CDATA | None |
Vendor | CDATA | None |
Role | CDATA | None |
%secur; contributes to the declaration of the following elements:
entry | entrytbl | InformalTable |
row | Table | tbody |
tfoot | tgroup | thead |
This parameter entity defines the mixture of block elements that may
occur in a table cell. This is not strictly a parameter entity used
in the CALS Table Model DTD, but it is used in DocBook as part of the
content of
CalloutList|GlossList|ItemizedList|OrderedList|SegmentedList |SimpleList|VariableList |Caution|Important|Note|Tip|Warning |LiteralLayout|ProgramListing|ProgramListingCO|Screen |ScreenCO|ScreenShot |FormalPara|Para|SimPara |Graphic|MediaObject
%tabentry.mix; contributes to the declaration of the following element:
entry |
Defines the exceptions (exclusions) to the table entry content model.
Replacement text is empty.
The replacement text for this entity is empty.
Defines the content model of table cells.
Note that this content model is the source of the pernicious mixed content problem. An Entry can contain either a collection of block elements, or a collection of inline elements.
((CalloutList|GlossList|ItemizedList|OrderedList|SegmentedList |SimpleList|VariableList |Caution|Important|Note|Tip|Warning |LiteralLayout|ProgramListing|ProgramListingCO|Screen |ScreenCO|ScreenShot |FormalPara|Para|SimPara |Graphic|MediaObject )+ | (#PCDATA |FootnoteRef|XRef |Abbrev|Acronym|Citation|CiteRefEntry|CiteTitle|Emphasis |FirstTerm|ForeignPhrase|GlossTerm|Footnote|Phrase |Quote|Trademark|WordAsWord |Link|OLink|ULink |Action|Application|ClassName|Command|ComputerOutput |Database|Email|EnVar|ErrorCode|ErrorName|ErrorType|Filename |Function|GUIButton|GUIIcon|GUILabel|GUIMenu|GUIMenuItem |GUISubmenu|Hardware|Interface|InterfaceDefinition|KeyCap |KeyCode|KeyCombo|KeySym|Literal|Constant|Markup|MediaLabel |MenuChoice|MouseButton|MsgText|Option|Optional|Parameter |Prompt|Property|Replaceable|ReturnValue|SGMLTag|StructField |StructName|Symbol|SystemItem|Token|Type|UserInput|VarName |Anchor |Author|AuthorInitials|CorpAuthor|ModeSpec|OtherCredit |ProductName|ProductNumber|RevHistory |Comment|Subscript|Superscript |InlineGraphic|InlineMediaObject|InlineEquation |Synopsis|CmdSynopsis|FuncSynopsis |IndexTerm )+)
%tbl.entry.mdl; contributes to the declaration of the following element:
entry |
Defines the exceptions to the EntryTbl content model. EntryTbls are a mechanism defined by the CALS Table Model to allow limited nesting of tables within tables.
In DocBook, EntryTbls are excluded from themselves, limiting the nesting of tables to a single level.
-(EntryTbl)
Defines the content model of EntryTbls.
colspec*,spanspec*,thead?,tbody
%tbl.entrytbl.mdl; contributes to the declaration of the following element:
entrytbl |
Defines the exclusions to the content model of table headers and footers. By excluding EntryTbl, DocBook prevents a composition system from being required to allow nested tables on repeating headers and footers.
-(entrytbl)
Defines the content model of table headers and footers.
colspec*,row+
%tbl.hdft.mdl; contributes to the declaration of the following elements:
tfoot | thead |
Defines the names of the table header and footer elements.
(thead|tfoot)
Defines the exclusions to the content model of table rows.
Replacement text is empty.
The replacement text for this entity is empty.
Defines the content model of table rows.
(entry|entrytbl)+
%tbl.row.mdl; contributes to the declaration of the following element:
row |
Defines the content model of the body of a table.
(tgroup+|graphic+)
Theoretically defines what constitutes a table title.
This entity is defined in the CALS Table Model
DTD, but is unused in DocBook because DocBook
redefines
title?,
Defines the attributes of a table.
Name | Type | Default |
tabstyle | NMTOKEN | None |
tocentry | NUMBER | None |
shortentry | NUMBER | None |
orient | Enumerated: port | None |
pgwide | NUMBER | None |
%tbl.table.att; contributes to the declaration of the following elements:
InformalTable | Table |
Defines the exceptions to the content model of tables. DocBook prevents most formal objects from occuring within tables. (Note that this exclusion is required in DocBook because most of them can appear in Paras and Paras are allowed in table cells.)
-(InformalTable|Equation|Example|Figure|Table )
Defines the content model of a table. This is done in terms of
((Title, TitleAbbrev?), (IndexTerm )*, (Graphic+|MediaObject+|TGroup+))
%tbl.table.mdl; contributes to the declaration of the following element:
Table |
Defines the attributes on a table group (TGroup).
Name | Type | Default |
tgroupstyle | NMTOKEN | None |
%tbl.tgroup.att; contributes to the declaration of the following elements:
entrytbl | tgroup |
Defines the content model of a table group (TGroup).
colspec*,spanspec*,thead?,tfoot?,tbody
%tbl.tgroup.mdl; contributes to the declaration of the following element:
tgroup |
Theoretically defines the "titles" portion the content model
of tables. This entity is defined in the CALS Table Model
DTD, but is unused in DocBook because DocBook
redefines
title?
Provides the definition of "boolean" attributes in the CALS Table Model DTD.
This parameter entity occurs in the
replacement text of
NUMBER
%yesorno; contributes to the declaration of the following elements:
colspec | entry | entrytbl |
InformalTable | row | spanspec |
Table | tgroup |
Copyright © 1999 O'Reilly & Associates, Inc. All rights reserved.
HIVE: All information for read only. Please respect copyright! |