task
task — A task to be completed.
Synopsis
task ::=
- Sequence of:
- One of:
tasksummary
?taskprerequisites
?- One or more of:
- Zero or more of:
taskrelated
?
Attributes
Common attributes and common linking attributes.
No additional 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.
Attributes
Common attributes and common linking attributes.
- any attribute
Any attribute in any other explicit namespace
Parents
These elements contain task
: 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
, taskprerequisites
, taskrelated
, tasksummary
, textobject
, tip
, toc
, variablelist
, warning
.
Children
The following elements occur in task
: example
, info
(db.titleforbidden.info), info
(db.titlereq.info), procedure
, subtitle
, taskprerequisites
, taskrelated
, tasksummary
, title
, titleabbrev
.
Examples
1 |<article xmlns='http://docbook.org/ns/docbook'>
|<title>Example task</title>
|<task>
|<title>Changing a light bulb</title>
5 |<tasksummary>
|<para>How to change a light bulb</para>
|</tasksummary>
|<taskprerequisites>
|<para>Make sure you have a new light bulb.</para>
10 |<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>
15 |<step><para>Turn on the new light bulb.</para></step>
|<step><para>Throw away the old light bulb.</para></step>
|</procedure>
|</task>
|20 |
</article>