task
task — A task to be completed.
Synopsis
task ::=
- Sequence of:
- One of:
tasksummary?taskprerequisites?procedure- Zero or more of:
taskrelated?
- One of:
Attributes
Description
A task encapsulates a procedure providing an
explicit location for summary information, identifying prerequisites for
the task, examples, and pointers to related information.
Processing expectations
Formatted as a displayed block.
Parents
These elements contain task: acknowledgements, answer, appendix, article, bibliodiv, bibliography, bibliolist, blockquote, callout, calloutlist, caption, chapter, colophon, cover, dedication, dialogue, drama, entry, example, figure, footnote, glossary, glossdef, glossdiv, glosslist, index, informalexample, informalfigure, itemizedlist, legalnotice, linegroup, listitem, note, orderedlist, para, partintro, poetry, preface, procedure, qandadiv, qandaset, question, revdescription, section, setindex, sidebar, simplesect, step, taskprerequisites, taskrelated, tasksummary, textobject, toc, variablelist.
Children
The following elements occur in task: example, info (db.titleforbidden.info), info (db.titlereq.info), procedure, subtitle, taskprerequisites, taskrelated, tasksummary, title, titleabbrev.
Examples
<article xmlns='http://docbook.org/ns/docbook'>
<title>Example task</title>
<task>
<title>Changing a light bulb</title>
<tasksummary>
<para>How to change a light bulb</para>
</tasksummary>
<taskprerequisites>
<para>Make sure you have a new light bulb.</para>
<para>Make sure you have turned off the light switch.</para>
</taskprerequisites>
<procedure>
<step><para>Remove the old light bulb.</para></step>
<step><para>Insert the new light bulb.</para></step>
<step><para>Turn on the new light bulb.</para></step>
<step><para>Throw away the old light bulb.</para></step>
</procedure>
</task>
</article>



