##### 3.4.2.4 The conref attribute

This attribute is used to reference content that can be reused. It allows reuse of DITA elements, including topic or map level elements.

The value of the conref attribute must be a URI reference to a DITA element. See 2.1.3.4.2 URI-based (direct) addressing for details on specifying URI references to DITA elements. As with other DITA references, a conref attribute that references a resource without an ID is treated as a reference to the first topic or map in the document.

    When using the conref attribute on an element, the content of that element is ignored. For example, if a phrase is marked up like this:<ph conref="#topic/ph">Something</ph> the word "Something" will be replaced by the content of the referenced <ph> element.

Previous Topic: 3.4.2.3 The keyref attribute

Next Topic: 3.4.2.4.1 Using the -dita-use-conref-target value

Parent Topic: 3.4.2 Complex attribute definitions

Child Topics:

3.4.2.4.1 Using the -dita-use-conref-target value

Sibling Topics:

3.4.2.1 The href attribute

3.4.2.2 The keys attribute

3.4.2.3 The keyref attribute

3.4.2.5 The conaction attribute

3.4.2.6 The conrefend attribute

3.4.2.7 The conkeyref attribute

3.4.2.8 The type attribute

3.4.2.9 The format attribute

3.4.2.10 The scope attribute

3.4.2.11 The role attribute

Related Topics:

2.1.3.5 Content inclusion (conref)