<choice>

Each <choice> element describes one way that the user could perform the current step.

Content models

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

Inheritance

- topic/li task/choice

Example

This section is non-normative.

<step><cmd>Choose a server.</cmd>
  <choices>
    <choice>If you have a remote server you want to test on, type the
IP address or hostname of the server here.</choice>
    <choice>If you want to do local testing, just type localhost.</choice>
  </choices>
</step>

Content model

(Text | <dl> | <div> | <fig> | <image> | <lines> | <lq> | <note> | <object> | <ol> | <p> | <pre> | <simpletable> | <sl> | <table> | <ul> | <boolean> | <cite> | <keyword> | <ph> | <q> | <term> | <text> | <tm> | <xref> | <state> | <data> | <data-about> | <foreign> | <unknown> | <itemgroup> | <draft-comment> | <fn> | <indextermref> | <indexterm> | <required-cleanup>)*

Contained by

<choices>

Zero or more of the following
  • Text
  • <boolean>
  • <cite>
  • <data>
  • <data-about>
  • <div>
  • <dl>
  • <draft-comment>
  • <fig>
  • <fn>
  • <foreign>
  • <image>
  • <indexterm>
  • <indextermref>
  • <itemgroup>
  • <keyword>
  • <lines>
  • <lq>
  • <note>
  • <object>
  • <ol>
  • <p>
  • <ph>
  • <pre>
  • <q>
  • <required-cleanup>
  • <simpletable>
  • <sl>
  • <state>
  • <table>
  • <term>
  • <text>
  • <tm>
  • <ul>
  • <unknown>
  • <xref>

Contained by

  • <choices>

Inheritance

- topic/li task/choice

The <choice> element is specialized from <li>. It is defined in the task module.

Attributes

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