<hasRelated>
The <hasRelated>
element identifies an associative relationship
between the container subject and each of the contained subjects.
See appendix for information about this element in OASIS document type shells.
- map/topicref subjectScheme/hasRelated
This example specifies that myProgram runs on Linux and Windows.
<subjectScheme>
<subjectdef keys="myProgram" navtitle="My Program">
<hasRelated keys="runsOn" navtitle="runs on">
<subjectdef keys="linux" navtitle="Linux"/>
<subjectdef keys="mswin" navtitle="Microsoft Windows"/>
</hasRelated>
</subjectdef>
</subjectScheme>
The following attributes are available on this element: Universal attribute group, Link relationship attribute group (with a narrowed definition of
@href
, given below), processing-role from Attributes common to many map elements, navtitle from Topicref element attributes group, outputclass, @keys
, and @keyref
.
@href
<topicref>
. See The href attribute for detailed information on supported values
and processing implications. References to DITA
content cannot be below the topic level: that is,
you cannot reference individual elements inside a
topic. References to content other than DITA
topics should use the @format
attribute to identify the kind of resource being
referenced.