procedure
procedure — A list of operations to be performed in a well-defined sequence.
Synopsis
procedure ::=
- Sequence of:
- One of:
- Zero or more of:
bridgehead
dialogue
drama
formalgroup
poetry
remark
revhistory
stagedir
- Indexing inlines
- Admonition elements
- Formal elements
- Graphic elements
- Informal elements
- List elements
- Paragraph elements
- Publishing elements
- Technical elements
- Verbatim elements
- One or more of:
result
?
Attributes
Common attributes and common linking attributes.
Additional attributes:
- type
Description
A procedure
encapsulates a task composed of
step
s (and possibly, substeps
).
Procedures are usually performed sequentially, unless individual
step
s 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.
Attributes
Common attributes and common linking attributes.
- any attribute
Any attribute in any other explicit namespace
- type
Identifies the type of procedure
Parents
These elements contain procedure
: abstract
, acknowledgements
, answer
, appendix
, article
, bibliodiv
, bibliography
, bibliolist
, blockquote
, callout
, calloutlist
, caption
, caution
, chapter
, colophon
, cover
, danger
, dedication
, dialogue
, drama
, entry
, example
, figure
, footnote
, glossary
, glossdef
, glossdiv
, glosslist
, important
, index
, informalexample
, informalfigure
, itemizedlist
, legalnotice
, linegroup
, listitem
, meta
(db.meta.content), note
, orderedlist
, para
, partintro
, poetry
, preface
, procedure
, qandadiv
, qandaset
, question
, result
, revdescription
, section
, setindex
, sidebar
, simplesect
, step
, task
, taskprerequisites
, taskrelated
, tasksummary
, textobject
, tip
, toc
, variablelist
, warning
.
Children
The following elements occur in procedure
: address
, anchor
, bibliolist
, blockquote
, bridgehead
, calloutlist
, caution
, danger
, dialogue
, drama
, epigraph
, equation
, example
, figure
, formalgroup
, formalpara
, glosslist
, important
, indexterm
(db.indexterm.endofrange), indexterm
(db.indexterm.singular), indexterm
(db.indexterm.startofrange), info
(db.titleforbidden.info), info
(db.titleonly.info), informalequation
, informalexample
, informalfigure
, informaltable
, itemizedlist
, literallayout
, mediaobject
, note
, orderedlist
, para
, poetry
, procedure
, qandaset
, remark
, result
, revhistory
, sidebar
, simpara
, simplelist
, stagedir
, step
, table
, task
, tip
, title
, titleabbrev
, variablelist
, warning
.
Examples
1 |<article xmlns='http://docbook.org/ns/docbook'>
|<title>Example procedure</title>
||
<procedure><title>An Example Procedure</title>
5 |<step>
|<para>A Step</para>
|</step>
|<step>
|<para>Another Step</para>
10 |<substeps>
|<step>
|<para>Substeps can be nested indefinitely deep.</para>
|</step>
|</substeps>
15 |</step>
|<step>
|<para>A Final Step</para>
|</step>
|</procedure>
20 ||
</article>
A Step
Another Step
Substeps can be nested indefinitely deep.
A Final Step