DITA Resource Center

<chhead>

The <chhead> element is a container inside the <choicetable> element that provides specific heading text to override any default headings for the <choicetable> (such as "Option" and "Description"). The <chhead> element contains both a <choptionhd> and <chdeschd> element as a pair.

Content models

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

Inheritance

- topic/sthead task/chhead

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>

Attributes

The following attributes are available on this element: Universal attribute group and @outputclass.

Was this page helpful?