Create link between topics in table cell

You can use a <topicgroup> element to create links between the topics within a relationship table cell. Doing so can reduce the number of additional rows you need in your relationship table.

To create links between topics in a table cell, you can use the <topicgroup> element with the @collection-type attribute set to family. This action makes all the topics within the <topicgroup> element link to each other, and works best within a CTRT relationship table.

Note: You can also set the @collection-type attribute directly on the relationship table cell element (<relcell>). However, using a <topicgroup> gives you more control over the linking within the table cell.

To create a link between topics in a table cell:

  1. Click in the table cell where you want to add the <topicgroup> element.
  2. Add the <topicgroup> element by choosing one of the following methods:
    MethodSteps
    Keyboard
    1. Press Enter.
    2. Click topicgroup.
    Right-click
    1. Right-click and select Insert > Insert Element.
    2. Click topicgroup.
    The <topicgroup> element is inserted in the table cell.
    Tip: It can help if you have the full XML tags visible. You can set this in the Preferences dialog.
  3. Click in the <topicgroup> element.
  4. In the Attributes panel, click Add Attribute.
  5. From the Attributes dropdown list, select collection-type.
  6. In the Value field, select family.
  7. Click Add.
  8. Add topics to the table cell within the topic group.
    The links are created between topics in the table cell you selected.