procedure — A list of operations to be performed in a well-defined sequence.



A procedure encapsulates a task composed of steps (and possibly, substeps). Procedures are usually performed sequentially, unless individual steps direct the reader explicitly.

Often it is important to ensure that certain conditions exist before a procedure is performed, and that the outcome of the procedure matches the expected results. DocBook does not provide explicit semantic markup for these pre- and post-conditions. Instead, they must be described as steps (check the preconditions in the first step and the results in the last step), or described outside the body of the procedure.

The task element, added to DocBook in V4.3, provides some of this infrastructure.

Processing expectations

Formatted as a displayed block.

Parents [+]

This element occurs in 74 elements.

Children [+]

This element contains 64 elements.


  1 <article xmlns=''>
  2 <title>Example procedure</title>
  4 <procedure><title>An Example Procedure</title>
  6   <para>    A Step
  8 </step>
 10   <para>    Another Step
 12   <substeps>
 14       <para>        Substeps can be nested indefinitely deep.
 16     </step>
 18 </step>
 20   <para>    A Final Step
 22 </step>
An Example Procedure
  1. A Step

  2. Another Step

    1. Substeps can be nested indefinitely deep.

  3. A Final Step

Last revised by Norman Walsh on 6 Jun 2011 (git hash: 6ffcc7640bbc5f852a318e452c9f210f03292cb9)