<index>

<index> (index entry) marks a location to be indexed for whatever purpose. 3.8.2 Index Entries
Module core — 3 Elements Available in All TEI Documents
In addition to global attributes att.spanning (@spanTo)
indexName supplies a name to specify which index (of several) the index entry belongs to.
Status Optional
Datatype

<rng:ref name="data.name"/>
data.name
Values an application-specific name, consisting of Unicode characters only.
Note
This attribute makes it possible to create multiple indexes for a text.
Used by
May contain
core: index term
Declaration

<rng:element name="index">
 <rng:ref name="att.global.attributes"/>
 <rng:ref name="att.spanning.attributes"/>
 <rng:optional>
  <rng:attribute name="indexName">
   <rng:ref name="data.name"/>
  </rng:attribute>
 </rng:optional>
 <rng:zeroOrMore>
  <rng:group>
   <rng:ref name="term"/>
   <rng:optional>
    <rng:ref name="index"/>
   </rng:optional>
  </rng:group>
 </rng:zeroOrMore>
</rng:element>
element index
{
   att.global.attributes,
   att.spanning.attributes,
   attribute indexName { data.name }?,
   ( term, index? )*
}
Example
David's other principal backer, Josiah ha-Kohen
<index indexName="NAMES">
 <term>Josiah ha-Kohen b. Azarya</term>
</index> b. Azarya, son of one of the last gaons of Sura <index indexName="PLACES">
 <term>Sura</term>
</index> was David's own first cousin.