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.
The following parameter entities are related to the CALS Table Model:
Parameterizes additional attributes (unrelated to table formatting)
on the table body (see also
Name | Type | Default |
---|---|---|
Label | CDATA | None |
Points to the CALS Table Model DTD via its 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
Defines additional attributes (unrelated to table formatting) on table
elements:
TGroup
TBody
THead
TFoot
Row
EntryTbl
Entry. See also
Replacement text is empty.
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
Defines the exceptions (exclusions) to the table entry content model.
Replacement text is empty.
Defines the content model of table cells.
(CalloutList | GlossList | ItemizedList | OrderedList | SegmentedList | SimpleList | VariableList | Caution | Important | Note | Tip | Warning | LiteralLayout | ProgramListing | ProgramListingCO | Screen | ScreenCO | ScreenShot | FormalPara | Para | SimPara | Graphic)+ | (#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 | Markup | MediaLabel | MenuChoice | MouseButton | MsgText | Option | Optional | Parameter | Prompt | Property | Replaceable | ReturnValue | SGMLTag | StructField | StructName | Symbol | SystemItem | Token | Type | UserInput | Anchor | Author | AuthorInitials | CorpAuthor | ModeSpec | OtherCredit | ProductName | ProductNumber | RevHistory | Comment | Subscript | Superscript | InlineGraphic | InlineEquation | Synopsis | CmdSynopsis | FuncSynopsis)+
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.
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
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+
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.
Defines the content model of table rows.
(Entry | EntryTbl)+
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
Defines the attributes of a table.
Name | Type | Default |
---|---|---|
Orient | Enumerated: | None |
PgWide | NUMBER | None |
ShortEntry | NUMBER | None |
TabStyle | NMTOKEN | None |
TocEntry | NUMBER | None |
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?), (Graphic+ | TGroup+)
Defines the name of the table element.
Table
Defines the attributes on a table group (TGroup).
Name | Type | Default |
---|---|---|
TGroupStyle | NMTOKEN | None |
Defines the content model of a table group (TGroup).
ColSpec*, SpanSpec*, THead?, TFoot?, TBody
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
Provides the definition of "boolean" attributes in the CALS Table Model DTD.
NUMBER
This parameter entity occurs in the
replacement text of
Copyright © 1999 O'Reilly & Associates, Inc. All rights reserved.