<prereq>

Prerequisites are things that people need to know or preliminary tasks that people need to perform before starting the current task.

Rendering expectations

Implementations might want to consider having their stylesheets render a label for this element.

Specialization hierarchy

The <prereq> element is specialized from <section>. It is defined in the task module.

Attributes

The following attributes are available on this element: universal attributes.

The following attributes are available on this element: universal attributes.

Example

This section is non-normative.

The following code sample is from a topic that explains how to create an SQLJ file. A prerequisite is to log into the SQLJ server.

<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>

Style sheets might generate a label, for example, Before you begin, to indicate clearly that the prerequisite task needs to be performed before embarking on the procedure.