chrow

The <chrow> element is a container inside the <choicetable> element. The <chrow> element contains both a <choption> and <chdesc> element as a pair.

Example

<step><cmd>Then this</cmd>
 <substeps>
  <substep importance="optional"><cmd>which is done by doing this</cmd></substep>
  <substep importance="required"><cmd>and then this.</cmd></substep>
 </substeps>
 <choicetable>
  <chhead>
   <choptionhd>Do something</choptionhd>
   <chdeschd>Or Else this</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>

Contains

Doctype Content model
ditabase, task ( ( choption) then ( chdesc) )

Contained by

Doctype Parents
ditabase, task choicetable

Inheritance:

- topic/strow task/chrow

Attributes

Name Description Data Type Default Value Required?
%univ-atts; (%select-atts;, %id-atts;, %localization-atts;) A set of related attributes, described at %univ-atts; parameter entity PE not applicable Not applicable
%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      

Return to main page.

OASIS DITA Version 1.1 Language Specification -- OASIS Standard, 1 August 2007
Copyright © OASIS Open 2005, 2007. All Rights Reserved.