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.
<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>
Doctype | Content model |
---|---|
ditabase, task | ( ( choice) (one or more) ) |
Doctype | Parents |
---|---|
ditabase, task | step |
- topic/ul task/choices
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 Language Specification v1.1 -- Committee Draft 02, 8 May 2007
Copyright © OASIS Open 2005, 2007. All Rights Reserved.