Map Links
Map links enable you to link topics in a map based on their parent-children relationship in the map structure. Changing a map link can change how the content is ordered depending on the output.
Overview
You create map links by using the appropriate map structure and the collection-type attribute.
The collection-type attribute can take the following values:
- sequence value
- Generates an ordered list of links from parent to children. The order of links is the same as the order of topics in the map.
- unordered value
- Generates an unordered list of links from parent to children. The order of links is the same as the order of topics in the map.
- family value
- Generates an unordered list of links from parent to children and from sibling to sibling. The order of links is the same as the order of topics in the map.
- choice value
- Uncommon and typically used in custom outputs that enable the user to select one child topic to continue. In most cases, it is rendered in the same way as the unordered value.
Use Cases
Consider using map links in the following situations:
- When you want to create a process topic based on map links
- When you want to enhance navigation between certain sections in a web format like webhelp
Maintenance Considerations
Keep the following considerations in mind when working with map links:
- Map links do not limit topic reuse because you link topics on a map level.
- Map links are based on map structure. If you change the map structure, they links will be updated.
Publishing Considerations
Keep the following considerations in mind when publishing map links:
- Map links resolve at publish and link text is populated with the topic titles.
- If you publish to a print-friendly output (for example, PDF), links may reference a page number.
- You must use the DITA Open Toolkit and set the args.rellinks parameter to all.