targetdoc and targetptr attributes of an olink elementThe easiest way to specify the targetdoc and targetptr attributes of an olink element is to right-click anywhere inside the olink element. Doing this displays a contextual menu containing "" in addition to "". Menu item "" displays the following specialized dialog box:

The Attributes tool also can help you specify a value for the targetdoc attribute by listing[6] all the symbolic names of the target documents. Once the targetdoc attribute has been specified, the Attributes tool can help you specify a value for the targetptr attribute by listing all the IDs found in the target document.
However for the two above facilities to work, you first need to declare the collection of DocBook documents in which olink is used for cross-referencing. How to do this is explained in next section.
[6] Type a value in the Value field and use auto-completion or use the button which is found at the right of this text field to display a specialized dialog box.