What Are DITA Maps?

DITA maps define the structure, sequence, and relationships of DITA topics, enabling flexible content organization and reuse.

A DITA map is a file that defines the structure, sequence, and relationships of DITA topics. Think of it as the table of contents or assembly guide that pulls together your standalone topics into a coherent publication. It's like a blueprint for assembling a document.

DITA maps do not contain the content themselves; instead, they reference topics. This fundamental separation offers enormous flexibility in reusing and reorganizing information without modifying the original source content. The same topics can be organized differently across multiple publications.

Key components of DITA maps include:

  • Topic References (<topicref>): Pointers to individual DITA topics.
  • Hierarchy: Nested structures defining parent-child relationships.
  • Metadata: Publication-level information and filtering attributes.
  • Navigation Elements: Control links, cross-references, and relationship tables.

Real-World Analogy: Consider a music playlist. The playlist (map) doesn't contain the actual songs (topics), but it defines which songs to include, their order, and how they relate to each other. The same song can appear in multiple playlists, just as the same topic can appear in multiple DITA maps.

DITA maps solve the business challenge of maintaining separate documents for each publication, which would lead to duplicate content and inconsistent organization. They enable true single-sourcing, where one set of topics can serve multiple publication needs. For example, a software company can create separate user guides for administrators and end-users, reusing common topics like "System Requirements" but organizing them differently for each audience.