entry

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

Contains

( text data or ph or codeph or synph or filepath or msgph or userinput or systemoutput or b or u or i or tt or sup or sub or uicontrol or menucascade or term or xref or cite or q or boolean or state or keyword or option or parmname or apiname or cmdname or msgnum or varname or wintitle or tm or p or lq or note or dl or parml or ul or ol or sl or pre or codeblock or msgblock or screen or lines or fig or syntaxdiagram or imagemap or image or object or draft-comment or required-cleanup or fn or indextermref or indexterm) (any number)

Contained by

row

Inheritance

topic/entry

Attributes

Name Description Data Type Default Value Required?
colnum Indicates the number of a column in the table, counting from the first logical column to the last column. NMTOKEN #IMPLIED No
colname Specifies the table column name in which an entry is found. NMTOKEN #IMPLIED No
namest Specifies the first logical column that is included in a horizontal span. NMTOKEN #IMPLIED No
nameend Specifies the last logical column that is included in a horizontal span. NMTOKEN #IMPLIED No
spanname Indicates the name and definition of a horizontal span. NMTOKEN #IMPLIED No
morerows Specifies the number of additional rows to add in a vertical span. NMTOKEN "0" No
colsep Column separator. A value of 0 indicates no separators; 1 indicates separators. NMTOKEN "0" No
rowsep Row separator. A value of 0 indicates no separators; 1 indicates separators. NMTOKEN "0" No
valign Indicates the vertical alignment of text in a table entry (cell). Allowable values are:
top
Align the text to the top of the table entry (cell).
bottom
Align the text to the bottom of the table entry (cell).
middle
Align the text to the middle of the table entry (cell).
(top | bottom | middle) "top" No
align Describes the alignment of text in a table column. Allowable values are:
left
Indicates left alignment of the text.
right
Indicates right alignment of the text.
center
Indicates center alignment of the text.
justify
Justifies the contents to both the left and the right.
(left | right | center | justify | char) #IMPLIED No
char alignment character

Default source for entry elements starting in this column. If character alignment is specified, the value is the single alignment character source for any implied char values for entry immediately in this column. A value of "" (the null string) means there is no aligning character.

CDATA #IMPLIED No
charoff horizontal offset of alignment character when align=char

Default source for entry elements starting in this column. For character alignment on an entry in the column, horizontal character offset is the percent of the current column width to the left of the (left edge of the) alignment character.

This value should be number, greater than 0 and less than or equal to 100.

NMTOKEN #IMPLIED No
%id-atts; (id, conref) A set of related attributes, described at %id-atts; parameter entity PE not applicable Not applicable
rev Indicates revision level of an element. It is useful for flagging outputs based on revision. CDATA #IMPLIED No
%global-atts; (xtrf, xtrc) A set of related attributes, described at %global-atts; parameter entity PE not applicable Not applicable
class, outputclass Common attributes described in Other common DITA attributes

Example

See table.

OASIS DITA Language Specification v1.0 -- 09 May 2005
Copyright (c) OASIS Open 2005. All Rights Reserved.