<index>

<index> (index entry) marks a location to be indexed for whatever purpose. 3.8.2 Index Entries
Modulecore — 3 Elements Available in All TEI Documents
Attributesatt.global (@xml:id, @n, @xml:lang, @rend, @rendition, @xml:base, @xml:space) (att.global.linking (@corresp, @synch, @sameAs, @copyOf, @next, @prev, @exclude, @select)) (att.global.analytic (@ana)) (att.global.facs (@facs)) att.spanning (@spanTo)
indexNamesupplies 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
Contained by
analysis: cl m phr s span w
figures: cell figure table
linking: ab seg
nets: graph
spoken: u writing
tagdocs: valDesc
textcrit: app lem rdg wit witDetail
verse: metSym rhyme
May contain
core: index term
Declaration

<rng:element name="index">
 <rng:ref name="att.global.attributes"/>
 <rng:ref name="att.global.linking.attributes"/>
 <rng:ref name="att.global.analytic.attributes"/>
 <rng:ref name="att.global.facs.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.global.linking.attributes,
   att.global.analytic.attributes,
   att.global.facs.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.