XML technologies / DocBook / Block elements / Procedures
(Excerpt from "DocBook-XML: Media-neutral and platform-independent publishing" by Thomas Schraitle)
The element procedure defines a procedure for operations that readers must perform in a specific order. A procedure consists of steps (step) and, if needed, substeps (substeps). Mark up alternative steps with stepalternatives.
Procedures often require prerequisites. DocBook provides no explicit markup for them here; include them in the steps or use task (see Exercises).
Example: A procedure
<procedure>
<title>Eine imaginäre Aufgabe</title>
<step>
<para>Der erste Schritt.</para>
<substeps>
<step><para>Der erste Unterschritt.</para></step>
<step><para>Der zweite Unterschritt.</para></step>
</substeps>
</step>
<step performance="optional">
<para>Der zweite Schritt.</para>
</step>
</procedure>Line 2: Optional title
Line 4: A step in the procedure
Line 5: For finer subdivisions, use substeps.
Line 10: Indicates whether a step is required (required) or optional (optional)
Note: Prefer fewer than 10 steps
Although DocBook does not limit the number of steps, a maximum of 10 is recommended to keep procedures clear. If you need more, reconsider the steps and either structure them with substeps or move them into sections.
Copyright © 2009 Millin Verlag
You may print the online version for your private use.
Otherwise, this chapter from "DocBook-XML: Medienneutrales und plattformunabhängiges Publizieren" is subject to the same provisions as the printed edition: the work, including all its parts, is protected by copyright. All rights are reserved, including reproduction, translation, microfilming, and storage and processing in electronic systems.
Millin Verlag, Siebengebirgsring 36, 53797 Lohmar, info(at)millin.de
back to top