choices

The <choices> element contains a list of <choice> elements. It is used when the user will need to choose one of several actions while performing the steps of a task.

Contains

( (choice) (one or more) )

Contained by

step

Inheritance

topic/ul, task/choices

Attributes

Name Description Data Type Default Value Required?
%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
%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>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>

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