The <taskbody> element is the main body-level element inside a task topic. A task body has a very specific structure, with the following elements in this order: <prereq>, <context>, <steps>, <result>, <example> and <postreq>. Each of the body sections are optional.
| Doctype | Content model |
|---|---|
| ditabase, task | ( ( prereq) (optional) then ( context) (optional) then ( steps or steps-unordered) (optional) then ( result) (optional) then ( example) (optional) then ( postreq) (optional) ) |
| Doctype | Parents |
|---|---|
| ditabase, task | task |
- topic/body task/taskbody
| Name | Description | Data Type | Default Value | Required? |
|---|---|---|---|---|
| %id-atts; (id, conref) | A set of related attributes, described at %id-atts; | parameter entity | PE not applicable | Not applicable |
| %localization-atts; (translate, xml:lang, dir) | A set of related attributes, described at %localization-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.