Topic Specialization Process Overview
A DTD-syntax topic specialization module consists of two files: a .ent file that defines
entities used to integrate the module into document type shell DTDs, and a .mod file
that declares the element types. Starting with DITA 1.2 structural modules should
provide @domains
attribute declarations.
For XSD-based structural modules there are two XSD documents: a *Grp.xsd that defines groups used to integrate the module into document type shell XSDs, and a *Mod.xsd that declares the element types and attributes for the module.
- Work out the design of the new element types, including what element types they are specializations of
- Declare the elements in the topic's .mod file
- Create the .ent file with the appropriate entity declarations
- Integrate the topic into one or more document type shell DTDs using the normal integration and configuration mechanisms defined by the DITA architecture
- If necessary, provide extensions for DITA processors to apply specialization-specific
processing to your specialized types.
For example, if your specializations require a specific formatting effect that is not the default DITA behavior for the base types, you must extend the output processors you use to provide the formatting effect. Typically this means creating extension XSLT scripts for use with the DITA Open Toolkit, but it can also mean extending built-in editor configurations and stylesheets, or extending or customizing content management systems, websites, and so on, depending on the nature of the specialization.