ChoicesThe <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.
[edit] 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>
[edit] Contains
| Doctype
| Content model
|
| ditabase, task
| ( (
choice) (one or more) )
|
[edit] Contained by
| Doctype
| Parents
|
| ditabase, task
| step
|
[edit] Inheritance:
- topic/ul task/choices
[edit] Attributes
| 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
|
|
|
|
TOC: Language Specification 1.1
Parent topic: Task elements
Previous topic: chdesc
Next topic: choice
|
|