The <steps> section of a task provides the main content of the task topic. The task is described as a series of steps that the user must follow to accomplish the task. One or more <steps> elements is required inside the <steps> section.
Two or more steps appear as an ordered list. A single step appears as a paragraph. If all of the contained steps are simple (that is, have no more than a <cmd> element each) then the step list should default to compact. Otherwise it should be formatted as uncompact (with blank lines between each step on output).
( (step) (one or more) )
|Name||Description||Data Type||Default Value||Required?|
|%univ-atts; (%select-atts;, %id-atts;, translate, xml:lang)||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|
<task id="sqlj"> <title>Creating an SQLJ file</title> <taskbody> <context>Once you have set up SQLJ, you need to create a new SQLJ file.</context> <steps> <step> <cmd>In a text editor, create a new file.</cmd> </step> <step> <cmd>Enter the first query statement.</cmd> </step> </steps> </taskbody> </task>
OASIS DITA Language Specification v1.0 -- 09 May 2005
Copyright (c) OASIS Open 2005. All Rights Reserved.