Renaming based on multiple <ditavalref> elements
It is possible for a branch with <ditavalref> already in
effect to specify an additional <ditavalref>, where each
<ditavalref> includes renaming metadata.
When renaming, metadata on the <ditavalref> nested more deeply
within the branch appears closer to the original resource or key name. For example:
<topicref href="branchParent.dita">
<ditavalref href="parent.ditaval">
<ditavalmeta>
<dvrResourcePrefix>parentPrefix-</dvrResourcePrefix>
</ditavalmeta>
</ditavalref>
<!-- additional topics or layers of nesting -->
<topicref href="branchChild.dita">
<ditavalref href="child.ditaval">
<ditavalmeta>
<dvrResourcePrefix>childPrefix-</dvrResourcePrefix>
</ditavalmeta>
</ditavalref>
</topicref>
</topicref>
In this situation, the resource branchChild.dita is given a prefix
based on both the reference to parent.ditaval and the reference to
child.ditaval. The value childPrefix- is
specified in the <ditavalref> that is nested more deeply within
the branch, so it appears closer to the original resource name. The resource
branchChild.dita would result in
parentPrefix-childPrefix-branchChild.dita. Suffixes (if
specified) would be added in a similar manner, resulting in a name like
branchChild-childSuffix-parentSuffix.dita. Note that the
hyphens are part of the specified prefix; they are not added automatically.