Archive
DITA Specialization by Example Futures
Future work on specialization by example should enable new features of DITA 1.2, add new output, and enable property policies.
Potential future work includes the following list:
DITA Specialization by Example Representation
A specialized DITA type map represents a vocabulary module.
The type map expresses inheritance, containment, and membership as special relationships between the reference topics that define types, sets, and properties. An equivalent specialized map defines a type shell with references to the component modules of the shell.
Type map exampleThe following example provides an excerpt from the type map for the DITA task module.
DITA Specialization by Example Design Examples
Design examples can define specialize elements, defined sets, restrict attributes on specialized elements, and define attributes.
Definition of specialized elementsDesign examples use global attributes to define specialized elements and their content. An example element can specify a specialized element (using the dbexName attribute) and a position within a specialized container element (using the dbexOccurs attribute).
DITA Specialization by Example Pipeline
The model and examples are processed in stages.
The pipeline has the following stages:
- moduleExample
- Implements a specialized module by mocking up an annotated document instance
of the base module.
A shell for the mockup is generated internally.
DITA Specialization by Example Model
The DITA model has characteristics that are more specific than general XML capabilities.
The DITA model has the following constructs.