A DITA map is the
mechanism for aggregating topic references and defining a context for
those references. It contains references to topics, maps, and other
resources.
Syntax
The syntax for representing this
component varies depending on the authoring format:
A Markdown file with a title and an unordered of titles for
topics and their associated file names
# Remote Lighting Network
- [Introduction](introduction.md)
- [Alternative lighting setups](alternatives.md)
- [Low power installation](low-power.md)
- [High power installation](high-power.md)
Usage information
A map describes the relationships among a set of DITA topics. Nested
topics create a hierarchical relationship. The topic that does the nesting is the parent,
and the topics that are nested are the children.
The title component can be used to provide a
title for the map. In some scenarios the title is purely
informational and is present only as an aid to the author. In
other scenarios, the title might be useful or even required. In a
map referenced by another map, the title might be discarded as
topics from the submap are aggregated into a larger
publication.
Rendering expectations
When rendering a map, processors might make
use of the relationships defined in the map to create a table of
contents (TOC), aggregate topics into a PDF document, or create
links between topics in the output.
Attributes
The available attributes vary based on the
authoring format:
There is no attribute support for
the MDITA core profile. For the MDITA extended profile,
attributes can be specified by using the HDITA
representation.
Examples
This section is non-normative.
The section contains examples of how the map component can be
used.