choicetable

The <choicetable> element contains a series of optional choices available within a step of a task.

Contains

( (chhead) (optional) then (chrow) (one or more) )

Contained by

step

Inheritance

topic/simpletable, task/choicetable

Attributes

Name Description Data Type Default Value Required?
relcolwidth A relative value to specify the width of a column in relationship to the width of the other columns for print output. The values are totaled and made a percent. For example:
relcolwidth="1* 2* 3*"
causes widths of 16.7%, 33.3%, and 66.7%.
relcolwidth="90* 150*"
causes width of 37.5% and 62.5%.
CDATA #IMPLIED No
keycol Defines the column that will be used for row headings. No value indicates no key column. When present, the numerical value causes the specified column to be highlighted as a vertical header. NMTOKEN #IMPLIED No
refcols Designates columns that contain references, and are candidates for automated linking (not currently supported). Columns are identified by a comma-delimited list of numbers (for example: 1,3). NMTOKENS #IMPLIED No
%display-atts; (scale, frame, expanse) A set of related attributes, described at %display-atts; parameter entity PE not applicable Not applicable
%univ-atts; (%select-atts;, %id-atts;, translate, xml:lang) A set of related attributes, described at %univ-atts; parameter entity PE not applicable Not applicable
spectitle The specialized title attribute allows architects of specialized types to define a fixed or default title for a specialized element. Not intended for direct use by authors. 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

<step><cmd>Then this</cmd>
 <choicetable>
  <chhead>
   <choptionhd>Do something</choptionhd>
   <chdeschd>And this happens</chdeschd>
  </chhead>
  <chrow><choption>Do this</choption>
     <chdesc>and this will happen</chdesc></chrow>
  <chrow><choption>Do that</choption>
     <chdesc>and that will happen</chdesc></chrow>
 </choicetable>
</step>

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