The <choption> element describes an option
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.
Contains
Note: These models represent only the default document types distributed by OASIS.
Actual content models will differ with each new document type.
Contained by
Doctype |
Content model |
ditabase, task (strict), task (general), machineryTask, learningContent |
chrow |
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
Name |
Description |
Data Type |
Default Value |
Required? |
specentry |
The specialized entry attribute allows architects of
specialized types to define a fixed or default header title for a specialized
stentry element. Not intended for direct use by authors. |
CDATA |
#IMPLIED |
No |
univ-atts attribute group (includes select-atts, id-atts,
and localization-atts groups) |
A set of related attributes, described in
univ-atts attribute group |
|
|
|
global-atts attribute group (xtrf, xtrc) |
A set of related attributes, described in
global-atts attribute group |
|
|
|
class, outputclass |
Common attributes described in
Other common DITA attributes |
|
|
|