The <prereq> element of a task contains prerequisites that the user needs to know or do before starting the current task. Implementations may, but need not, render prerequisite links from the related-links section together with the <prereq> content.
NoteThese models represent only the default document types distributed by OASIS.
Actual content models will differ with each new document type.
|
| Doctype | Content model |
|---|---|
| ditabase, task (strict), task (general), learningContent | taskbody |
<task id="sqlj"> <title>Creating an SQLJ file</title> <taskbody> <prereq>Before creating a new SQLJ file, you must log in to the SQLJ server.</prereq> </taskbody> </task>
| Name | Description | Data Type | Default Value | Required? |
|---|---|---|---|---|
| univ-atts attribute group (includes select-atts, id-atts, and localization-atts groups) | A set of related attributes, described in univ-atts attribute group | |||
| global-atts attribute group (xtrf, xtrc) | A set of related attributes, described in global-atts attribute group | |||
| class, outputclass | Common attributes described in Other common DITA attributes |
‣ Parent topic: Section 2.2. Task elements
‣ Previous topic: Section 2.2.2. taskbody