Example: Index range defined in a map

In this scenario, an index range is defined in the DITA map. Ranges defined in a DITA map can span peer topics.

Consider the following DITA map:

<map>
  <title>Food available in the Acme cafeteria</title>
  <!-- ... -->
  <topicref href="apples.dita">
    <topicmeta>
      <keywords>
        <indexterm start="acme-fruit">fruit</indexterm>
      </keywords>
    </topicmeta>
  </topicref>
  <topicref href="oranges.dita"/>
  <topicref href="pineapples.dita">
    <topicmeta>
      <keywords>
        <indexterm start="acme-fruit"/>
      </keywords>
    </topicmeta>
  </topicref>
  <!-- ... -->
</map>

The index range begins with the start of the first topic title in apples.dita, and it continues until the end of the last element in pineapples.dita. If an end element was not specified, the range would continue to the end of the map.