Task Elements

From the DITA specification: "Task topics answer "How do I?" questions, and have a well-defined structure that describes how to complete a procedure to accomplish a specific goal. "

Context for the current task. It provides background information for the task. In this sample, let's see how a task is created in oXygen:

The prereq element describes steps or tasks that the user should do before complete the current task.
  1. Click on the parent topic from the DITA Maps Manager.
  2. From the contextual menu, choose Append Child..New Topic..
  3. In the dialog, choose "Task".
  4. To create the required steps, use the command (cmd) element. This is required as the first element inside a step.
    The info element provides additional information about the step.
  5. You can add sub-steps, or choices.
    • Choice 1
    • Choice 2
The result describes the expected outcome for the task as a whole.
The postreq element describes steps or tasks that the user should do after the successful completion of the current task.