##### 3.4.2.2 The keys attribute

A keys attribute consists of one or more space-separated keys. Map authors define keys using a topicref or topicref specialization that contains the “keys” attribute. Each key definition introduces a global identifier for a resource referenced from a map. Keys resolve to the resources given as the href value on the key definition topicref element, to content contained within the key definition topicref element, or both.

The @keys attribute uses the following syntax:

- The value of the @keys attribute is one or more space separated key names.
- Key names consist of characters that are legal in a URI. The case of key names is significant.
- The following characters are prohibited in key names: "{", "}", "[", "]", "/", "#", "?", and whitespace characters.

A key may not resolve to sub-topic elements, although a keyref attribute may do so by combining a key with a sub-topic element id.

Previous Topic: 3.4.2.1 The href attribute

Next Topic: 3.4.2.3 The keyref attribute

Parent Topic: 3.4.2 Complex attribute definitions

Sibling Topics:

3.4.2.1 The href attribute

3.4.2.3 The keyref 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