Making the Sitemap with a Ditamap
Ditamaps are used to make collections of topics which are linked together.
You can perform this task using a text editor, however, a dita-aware xml editor will make your job much easier.
The ditamap can be used for all the subsequent languages.
- Take a sample ditamap to get started and to make sure you have the correct DOCTYPE.
- Fill in the title attribute in the map element.
- Now put main sections in by adding topicref elements for each section.
- If you have sub-section topics, nest them correctly within the main section topics.
- Use the otherprops attribute to add information for CSS styling.
- Set toc="no" for topics that have to processed by the Open Toolkit for output but do not have to appear in the navigation menus.
Your ditamap is now ready for processing with the Open Toolkit.
Note: Do not reference topic files if they do not yet exist. This will mess up the processing. If you have written the topics in one language and they still need to be translated, use the original topics as placeholders.
Parent topic: How To Create a Translatable Website