Table of Contents

Syntax #


Purpose #

The p.task.context annotation is used to tag an element as being information explaining why a task is done a certain way, or why a task must be done. This information establishes the situation surrounding a task.

The p.task.postreq annotation is used to tag elements that describe anything that must be done after finishing a task. This information will be forced to follow task steps and result statements. Postrequisite information can include

This annotation does not include result statements. For result statements, see p.task.result.

Examples #

The following is an example of a time where you might want to use the p.task.postreq annotation:

The following is an example of a rule that will apply p.task.postreq:


The following is the DITA XML output for the rule:



<postreq><p>It is important that you clean up your kitchen after making a peanut butter sandwich. Any open jars must be closed, any leftover banana should be eaten, and any remaining bread must be stored. Dirty dishes must be washed. This will prevent attracting flies and other pests, as well as preserving your food for longer.</p></postreq>