Relationship table

In a DITA map, a relationship table is a systematic structure for creating and maintaining relationships among DITA topics.

The relationships are displayed in a tabular format. Each row of the table represents a relationship, which is usually rendered as a link. Each cell lists one or more participants in the relationship. No relationships exist between the rows of the table.

Example

<!-- Relationship table -->
<!-- The related concept, task, and reference files point to each other -->
<reltable>
<relheader>
<relcolspec type="concept"/>
<relcolspec type="task"/>
<relcolspec type="reference"/>
</relheader>
<relrow>
<relcell>
<topicref href="concepts/about_produce.dita"/>
</relcell>
<relcell>
<topicref href="tasks/choosing_produce.dita"/>
</relcell>
<relcell>
<topicref href="reference/produce.dita"/>
</relcell>
</relrow>
<relrow>
<relcell>
<topicref href="concepts/about_cannedgoods.dita"/>
</relcell>
<relcell>
<topicref href="tasks/buying_cannedgoods.dita"/>
</relcell>
<relcell>
<topicref href="reference/cannedgoods.dita"/>
</relcell>
</relrow>
</reltable>
			
Related concepts
Linking attribute
Linking content
Cross-reference element (<xref>)
Related links element (<related-links>)