The <chdesc> element is a description of an option that a user chooses while performing a step to accomplish a task. It explains why the user would choose that option and might explain the result of the choice when it is not immediately obvious.
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/chdesc
Example
<step><cmd>Then this</cmd> <substeps> <substep importance="optional"><cmd>which is done by doing this</cmd></substep> <substep importance="required"><cmd>and then this.</cmd></substep> </substeps> <choicetable> <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 |