Simple project hierarchy
A DITA project usually contains a DITA Map with multiple
<topicref>
elements that reference DITA Topics.
Sample project: simple-project-hierarchy.zip
DITA Map with some topic references
The following DITA Map example shows a very simple map structure with a few topics.
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE map PUBLIC "-//OASIS//DTD DITA Map//EN" "map.dtd"> <map> <title>Map</title> <topicref href="topics/topic-01.dita"/> <topicref href="topics/topic-02.dita"> <topicref href="topics/topic-02-01.dita"/> </topicref> <topicref href="topics/topic-03.dita"/> </map>
Note: It is possible to nest DITA Maps in DITA Maps using the
<mapref>
element.