Processing using multilevel maps

You can have multilevel maps in DITA projects. Multilevel maps help to organize larger projects (those 50-100 topics or larger).

The following figures show a complete example.

The figure below shows an annotated version of the top-level map ("master map"). Note that you need to include the format="ditamap" attribute statement in each reference to a lower-level map.
		<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE map PUBLIC "-//OASIS//DTD DITA Map//EN" "../dtd/map.dtd">
<!-- This is the project's master map -->
<!-- Each of the three sections of the document has its own map -->
<map title="Sample master map" id="master_map">
<!-- Basic section -->
<!-- You must include the format="ditamap" attribute in each of the references below. -->
<topicref href="basic/basic_map.ditamap" format="ditamap"/>
<!-- Advanced section -->
<topicref href="advanced/advanced_map.ditamap" format="ditamap"/>
<!-- Glossary -->
<topicref href="glossary/glossary_map.ditamap" format="ditamap"/>
</map>
		
The figure below shows one of the lower-level maps (for the "advanced" section of the document). Notice that the topics containing content are nested within a container ("landing-page") topic that contain no content. This convention is not required, but it may help to group topics with related content.
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE map PUBLIC "-//OASIS//DTD DITA Map//EN" "../dtd/map.dtd">
<map title="Advanced section" id="advanced_map">
<!-- The topic titled advanced.dita is a landing page or container topic. It has no content. -->
<topicref href="advanced.dita">
<!-- The topic titled about_advanced.dita is an introductory topic for the advanced section
may have all or part of its content conref'ed from the glossary section of the document. -->
<!-- Notice that about_advanced.dita and the other topics below are nested within the container topic. -->
<topicref href="about_advanced.dita"/>
<!-- Topic1 and topic2 are other topics in the advanced section. -->
<topicref href="about_topic1.dita"/>
<topicref href="about_topic2.dita"/>
</topicref>
</map>