The general-task document type was introduced in DITA 1.2. It provides a less-strict content model for task-oriented information than was available previously. Some organizations might prefer the general-task content model over the strict task model, as it can facilitate the migration of legacy content that does not follow the strict-task topic model. The general-task document type serves as the base for the strict-task and machine-industry-task document types. It also can be used to create new document types or specializations.
Like the DITA strict task document type, the general task document and information types contain the essential building blocks to provide procedural information. Both task information types answer the "How do I?" question by providing step-by-step instructions that detail the requirements that must be fulfilled, the actions that must be performed, and the order in which the actions must be performed. Both task topics include sections for describing the context, prerequisites, expected results, and other aspects of a task.
The general task information type is specifically designed to accommodate task specializations that differ from the DITA task information type. It might also be used for the conversion of loosely structured tasks from other sources into DITA before they are restructured to follow the more restrictive DITA task model.
<task> element is
the top-level element for the general task topic. The general task topic contains a
<title> and a
optional alternative titles (
<titlealts>), a short
The following elements are described here because they are introduced as part of the general task model. All other elements are described in the strict task topic.
<steps>, such as a group of general procedures that might all be applied in a particular situation. Instead of
<ul>elements, which are less strictly defined than the
<step>element. When converting legacy content, it might be simpler to convert numbered lists to
<ol>elements than to
The following table compares the structures of general and strict task:
|General taskbody||Strict taskbody constraint|
|prerequisite (optional, in any order, any number)||prerequisite (optional, one only, must precede context)|
|context (optional, in any order, any number)||context (optional, one only, must follow prerequisite)|
|section (optional, in any order, any number)||(not defined for strict taskbody)|
|steps-informal||(not defined for strict taskbody)|
|result (optional, one only, precedes example)||result (optional, one only, precedes example)|
|►tasktroubleshooting (optional, one only)◄||►tasktroubleshooting (optional, one only)◄|
|example (optional, any number, precedes post-req)||example (optional, one only, precedes post-req)|
|post-requisite (optional, any number)||post-requisite (optional, one only)|
Return to main page.
Standards Track Work Product
|Copyright © OASIS Open 2016. All Rights Reserved.||25 October 2016|