Introduction to the Configuration and Extension Tutorials
This section provides tutorial examples for creating DITA configuration and extension components, with a focus on the mechanics, not the concepts.
- Consistency of implementation across modules
- Smooth interchange of knowledge
- Smooth interchange of vocabulary components
- Ease of implementation
Some of the DITA-imposed requirements come from the syntax and semantics of DTDs and XSDs, others are simply arbitrary decisions that had to be made and, having been made, make replication easy.
In short, once you learn the basic rules for how to organize the components of a vocabulary module, constraint module, or document type shell, you will understand the markup details of any conforming DITA module. You will also be able to quickly create new components because this is largely an exercise in copying, pasting, renaming, and deleting what you don't need.
You don't have to worry about how you'll structure and organize your DTD declarations or schema components. You won't have to work out clever schemes for modularity or conditionality.
You do need to have a basic understanding of either DTD or XSD syntax, depending on which you choose for your vocabulary modules. These tutorials tell you exactly what to type, so you can do them even if you don't have a working understanding of DTD or XSD syntax, but you will eventually need to know why you're doing what you're doing.
You should also, at some point, read the "Configuration, specialization, and constraints" section of the DITA Architectural Specification, which defines the implementation requirements reflected in these tutorials.
These tutorials are not intended to give you a deep conceptual understanding of how vocabulary modules work, they're intended to make it possible for you to create your own before you fully understand why they work they way they do. One of the cool parts of DITA is that you can do that.
If you follow these tutorials you should be able apply the processes demonstrated
to your own
configuration and extension requirements, assuming you've already worked out the markup
design. A lot of specializations simply add new mention elements (specializations
of
<keyword>
or <term>
) or metadata elements. The easiest
specialization to implement is an attribute domain that adds a new @props
specialization.