<dvrKeyscopePrefix>
The <dvrKeyscopePrefix>
element specifies the prefix to use when constructing the effective key scope names for the map branch that is implied by the ancestor <ditavalref>
element.
Processing expectations
For map branches that are implied by
<ditavalref>
elements, the value of the
<dvrKeyscopePrefix>
element contributes to
the effective key scope names of the branch. The effective key
scope names start with the value of the
<dvrKeyscopePrefix>
element. Note that if
the branch as authored does not specify a @keyscope
value, specifying <dvrKeyscopePrefix>
(without also specifying
<dvrKeyscopeSuffix>
) results in the branch
establishing a key scope whose name is the value of the
<dvrKeyscopePrefix>
element. The full key
scope names will also reflect the value of a
<dvrKeyscopeSuffix>
element if one is
specified, regardless of whether the branch as authored specifies a
@keyscope
value.
Specialization hierarchy
The <dvrKeyscopePrefix>
element is specialized from
<data>
. It is defined in the DITAVAL-reference domain module.
Content model
(Text |
<text>
)*
- Text
-
<text>
Attributes
The following attributes are available on this element: universal
attributes (except for @conkeyref
,
which is removed for all elements in this domain) and @name
.
For this element, the @name
attribute has a default
value of dvrKeyscopePrefix.
The following attributes are available on this element: universal
attributes (except for @conkeyref
which is removed for all elements in this domain) and the attributes defined below.
@name
(data-element attributes)- Defines a unique name for the object.
Example
This section is non-normative.
<dvrKeyscopePrefix>
supplements
the existing key scope name of branch-01 to establish an effective key
scope of cond01-branch-01:<topicref keys="branch-01"
href="branch-01.dita"
keyscope="branch-01"
>
<ditavalref href="condition-01.ditaval">
<ditavalmeta>
<dvrKeyscopePrefix>cond01-</dvrKeyscopePrefix>
</ditavalmeta>
</ditavalref>
<topicref href="topics/subtopic-01.dita"/>
</topicref>