Sample relationship table

A sample relationship table illustrates how topicref elements are used within reltable, relrow, and relcell elements to create a matrix of linking relationships between the referenced topics.

<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>
			<topicgroup collection-type="family">
			  <topicref href="concepts/about_cannedgoods.dita"/>
			  <topicref href="concepts/about_foodstorage.dita"/>
			</topicgroup>
		</relcell>
		<relcell>
			<topicref href="tasks/buying_cannedgoods.dita"/>
		</relcell>
		<relcell>
			<topicref href="reference/cannedgoods.dita"/>
		</relcell>
	</relrow>