##### 3.4.2.3 The keyref attribute

The keyref attribute provides an indirect, late-bound reference to topics, to collections of topics (ditabase), to maps, to referenceable portions of maps, to non-DITA documents, to external URIs, or to XML content contained within a key definition topic reference. When the DITA content is processed, the key references are resolved using key definitions from DITA maps.

For elements that may only refer to topics or non-DITA resources, the value of the keyref attribute is a key name. For elements that may refer to elements within maps or topics, the value of the keyref attribute is a key name, a solidus ("/"), and the ID of the target element, where the key name must be bound to either the map or topic that contains the target element.

Previous Topic: 3.4.2.2 The keys attribute

Next Topic: 3.4.2.4 The conref attribute

Parent Topic: 3.4.2 Complex attribute definitions

Sibling Topics:

3.4.2.1 The href attribute

3.4.2.2 The keys attribute

3.4.2.4 The conref 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.4.3 Key-based addressing