DITA Specialization by Example Representation
Wiki page: Submitted by erikh on Mon, 2008-04-14 16:29.
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 example
The following example provides an excerpt from the type map for the DITA task module.
<typeModule> <moduleMeta> <moduleProvider value="OASIS"/> <moduleTitle value="DITA Task"/> </moduleMeta> <baseModule href="../../base/module/topic.ditamap"/> <extensionTypes> <extensionType keyref="task--task"/> </extensionTypes> <types> <baseType keyref="topic--ol"> <type keys="task--steps" href="task/steps.dita"> <baseProperties value="max"/> <containedType keyref="task--step"> <occurs value="some"/> </containedType> </type> ... other types specialized from ol ... </baseType> ... other base types for specializations in the module ... </types> <sets> <set keys="task--StepList" href="task/StepList.dita"> <memberType keyref="task--steps"/> <memberType keyref="task--steps-unordered"/> </set> ... other sets ... </sets> </typeModule>- Login to post comments
- 3368 reads