DITA Resource Center

<choption>

The <choption> element describes an option in a choice table that a user could choose to accomplish a step of a task. In a user interface, for example, this might be the name of radio button.

Content models

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

Inheritance

- topic/stentry task/choption

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>

Attributes

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

Was this page helpful?