The <substeps> element allows you to break a step down into a series of separate actions, and should be used only if necessary. Try to describe the steps of a task in a single level of steps. If you need to use more than one level of substep nesting, you should probably rewrite the task to simplify it.
<substeps> <substep><cmd>Hold pencil in a steady, level position.</cmd></substep> <substep><cmd>Turn handle until resistance diminishes.</cmd> <info>Note: initially, it may be somewhat difficult to turn the handle if pencil has never been sharpened before.</info></substep> <substep><cmd>To determine if pencil is sharp, remove it from the sharpener and inspect the tip.</cmd></substep> </substeps>
| Doctype | Content model |
|---|---|
| ditabase, task | ( substep) (one or more) |
| Doctype | Parents |
|---|---|
| ditabase, task | step |
- topic/ol task/substeps
| 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 13 February 2007
Copyright © OASIS Open 2005, 2007. All Rights Reserved.