<index>

<index> (index entry) marks a location to be indexed for whatever purpose. [3.8.2 Index Entries]
Modulecore — Elements Available in All TEI Documents
Attributesatt.global (@xml:id, @n, @xml:lang, @rend, @style, @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.global.change (@change)) att.spanning (@spanTo)
indexNamea single word which follows the rules defining a legal XML name (see http://www.w3.org/TR/REC-xml/#dt-name), supplying a name to specify which index (of several) the index entry belongs to.
Status Optional
Datatype

<rng:ref name="data.name"/>
data.name
Note

This attribute makes it possible to create multiple indexes for a text.

Member of
Contained by
analysis: cl m phr s span w
figures: cell figure table
linking: ab seg
nets: graph
spoken: u writing
tagdocs: eg 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.global.change.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.global.change.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.