You can use the same content in multiple topics by inserting a DITA content reference
to that content. The following steps describe the procedure of inserting a DITA content
reference:
-
Position your caret inside the element that you want to reference and in the Attributes view enter a value in the
ID field.
In case you want to reuse just a part of the content of an element, select the content
with your cursor, press Enter and in the proposals list select
ph. This encapsulates your content inside a
phrase(<ph>) element, allowing you to set an ID and then reference
it.
-
Open the topic where you want to insert the reference to this element.
-
Click
Insert a DITA
Content Reference on the main toolbar.
The Insert Content Reference dialog box is
displayed.
-
In the Insert Content Reference dialog box, from the
URL field, navigate to the topic that holds the element you want
to reference.
In the Target ID section of the Insert Content
Reference dialog box, Oxygen XML Editor presents the elements that you
can reference.
-
Click the ID of the element you want to reference, then click
OK.
In case you select an interval of elements, the Conrefend field
is filled with the id value of the element that ends the selected
interval.
A reference to the selected element is inserted at the caret
position.