DITA Resource Center

<hasKind>

The <hasKind> element specifies that the contained hierarchy expresses KIND-OF relationships between subjects.
In a KIND-OF hierarchy, the child subject is a particular variety of the parent subject. A KIND-OF hierarchy is sometimes known as an IS-A, generic, or subsumption hierarchy.

Content models

See appendix for information about this element in OASIS document type shells.

Inheritance

- map/topicref subjectScheme/hasKind

Example

This example specifies that cities, towns, and villages are each a kind of settlement. Additionally, bigcity, mediumcity, and smallcity are each a kind of city.

<subjectScheme>
  <hasKind>
    <subjectdef keys="settlement" navtitle="Human settlement">
      <subjectdef keys="city" navtitle="City">
        <subjectdef keys="bigcity" navtitle="Big city"/>
        <subjectdef keys="mediumcity" navtitle="Medium city"/>
        <subjectdef keys="smallcity" navtitle="Small city"/>
      </subjectdef>
      <subjectdef keys="town" navtitle="Town"/>
      <subjectdef keys="village" navtitle="Village"/>
    </subjectdef>
  </hasKind>
</subjectScheme>

Attributes

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
A pointer to the resource represented by the <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.

Was this page helpful?