<entry>

The <entry> element defines a single cell in a table.

Content models

See appendix for information about this element in OASIS document type shells.

Inheritance

- topic/entry

Example

This section is non-normative.

See table.

Content model

(Text | <dl> | <div> | <fig> | <image> | <lines> | <lq> | <note> | <object> | <ol> | <p> | <pre> | <sl> | <ul> | <boolean> | <cite> | <keyword> | <ph> | <q> | <term> | <text> | <tm> | <xref> | <state> | <data> | <data-about> | <foreign> | <unknown> | <draft-comment> | <fn> | <indextermref> | <indexterm> | <required-cleanup>)*

Contained by

<row>

Zero or more of the following
  • Text
  • <boolean>
  • <cite>
  • <data>
  • <data-about>
  • <div>
  • <dl>
  • <draft-comment>
  • <fig>
  • <fn>
  • <foreign>
  • <image>
  • <indexterm>
  • <indextermref>
  • <keyword>
  • <lines>
  • <lq>
  • <note>
  • <object>
  • <ol>
  • <p>
  • <ph>
  • <pre>
  • <q>
  • <required-cleanup>
  • <sl>
  • <state>
  • <term>
  • <text>
  • <tm>
  • <ul>
  • <unknown>
  • <xref>

Contained by

  • <row>

Inheritance

- topic/entry

The <entry> element is a base element type. It is defined in the topic module.

Attributes

The following attributes are available on this element: Universal attribute group (without the Metadata attribute group), @base and @rev from the Metadata attribute group, outputclass, and the attributes defined below. This element also uses @align, @char, @charoff, @colsep, @rowsep, and @valign from the Complex-table attribute group.

@rotate
Indicates whether the contents of the entry is rotated. While the attribute is declared with the XML data type CDATA, the only predefined values are:
1
The contents of the cell are rotated 90 degrees counterclockwise.
0
No rotation occurs.
-dita-use-conref-target
See Using the -dita-use-conref-target value for more information.

If this attribute is not specified, no rotation occurs. In situations where a stylesheet or other formatting mechanism specifies table cell orientation, the @rotate attribute can be ignored.

@colname
Specifies the column name in which an entry is found. The value is a reference to the @colname attribute on the <colspec> element.
@namest
Specifies the first logical column that is included in a horizontal span. The value is a reference to the @colname attribute on the <colspec> element.
@nameend
Specifies the last logical column that is included in a horizontal span. The value is a reference to the @colname attribute on the <colspec> element.
@morerows
Specifies the number of additional rows to add in a vertical span.
@scope
The presence of the @scope attribute indicates that the current entry is a header for the specified scope. Allowable values are:
row
The current entry is a header for all cells in the row.
col
The current entry is a header for all cells in the column.
rowgroup
The current entry is a header for all cells in the rows spanned by this entry.
colgroup
The current entry is a header for all cells in the columns spanned by this entry.
@headers
Identifies one or more entry element headers that apply to its entry. The @headers attribute contains an unordered set of unique space-separated tokens, each of which is an ID reference of an entry from the same table.
@colname
Specifies the column name in which an entry is found. The value is a reference to the @colname attribute on the <colspec> element.
@headers
Identifies one or more entry element headers that apply to its entry. The @headers attribute contains an unordered set of unique space-separated tokens, each of which is an ID reference of an entry from the same table.
@morerows
Specifies the number of additional rows to add in a vertical span.
@nameend
Specifies the last logical column that is included in a horizontal span. The value is a reference to the @colname attribute on the <colspec> element.
@namest
Specifies the first logical column that is included in a horizontal span. The value is a reference to the @colname attribute on the <colspec> element.
@rotate
Indicates whether the contents of the entry is rotated. While the attribute is declared with the XML data type CDATA, the only predefined values are:
1
The contents of the cell are rotated 90 degrees counterclockwise.
0
No rotation occurs.
-dita-use-conref-target
See Using the -dita-use-conref-target value for more information.

If this attribute is not specified, no rotation occurs. In situations where a stylesheet or other formatting mechanism specifies table cell orientation, the @rotate attribute can be ignored.

@scope
The presence of the @scope attribute indicates that the current entry is a header for the specified scope. Allowable values are:
row
The current entry is a header for all cells in the row.
col
The current entry is a header for all cells in the column.
rowgroup
The current entry is a header for all cells in the rows spanned by this entry.
colgroup
The current entry is a header for all cells in the columns spanned by this entry.