## Text Encoding Initiative

### The XML Version of the TEI Guidelines

# <index>

`<index>` | (index entry) marks a location to be indexed for whatever purpose.

Attributes

(In addition to global attributes and those inherited from metadata)

`index` | (index number) indicates which index (of several) the index entry belongs to.
| Datatype: CDATA
| Values: any string of characters; valid values are application-dependent.
| Default: #IMPLIED
Note | This attribute makes it possible to create multiple indices for a text.

`level1` | (first-level index entry) gives the form under which the index entry is to be made.
| Datatype: CDATA
| Values: any string of characters.
| Default: #REQUIRED
Note | At least one level of entry is required.
`level2` | (second-level index entry) gives the second-level form, if any.
| Datatype: CDATA
| Values: any string of characters.
| Default: #IMPLIED
`level3` | (third-level index entry) gives the third-level form, if any.
| Datatype: CDATA
| Values: any string of characters.
| Default: #IMPLIED
`level4` | (fourth-level index entry) gives the fourth-level form, if any.
| Datatype: CDATA
| Values: any string of characters.
| Default: #IMPLIED

Example

    David's other principal backer, Josiah ha-Kohen
    <index level1="Josiah ha-Kohen b. Azarya" level2="cousin and backer of David b. Daniel"/>
    b. Azarya, son of one of the last gaons of Sura,
    <index level1="Azarya" level2="gaon of Sura"/>
    <index level1="Sura"/> was David's own first cousin.

Module Declared in file teicore2; Core tag sets: enabled when any TEI base is enabled
Class metadata
Data Description Empty.
May occur within ab abbr activity actor add addName addrLine address admin affiliation analytic app argument author authority back bibl biblFull biblScope biblStruct birth bloc body byline camera caption case castGroup castItem castList cell channel cit cl classCode closer colloc constitution corr country creation damage date dateRange dateStruct dateline def del derivation descrip dictScrap distance distinct distributor div div0 div1 div2 div3 div4 div5 div6 div7 docAuthor docDate docEdition docImprint docTitle domain edition editor education emph entry entryFree epigraph epilogue etym expan extent factuality figDesc figure firstLang foreName foreign form front funder fw gen genName geogName gloss gram gramGrp graph group head headItem headLabel hi hyph imprimatur imprint interaction item itype l label lang langKnown language lbl lem lg lg1 lg2 lg3 lg4 lg5 list listBibl locale m measure meeting mentioned metDecl monogr mood name nameLink note num number occasion occupation offset ofig opener orgDivn orgName orgTitle orgType orig orth otherForm p per performance persName phr placeName pos preparedness principal prologue pron pubPlace publicationStmt publisher purpose q quote rdg rdgGrp re ref reg region rendition residence resp respStmt restore role roleDesc roleName row rs s salute seg sense series set settlement sic signed soCalled socecStatus sound sp speaker sponsor stage street stress subc supplied surname syll symbol table tagUsage tech term termEntry text tig time timeRange timeStruct title titlePage titlePart tns tr trailer trans u unclear usg view w wit witDetail witList witness writing xr xref
Declaration

    <!ELEMENT index %om.RO;  EMPTY>
    <!ATTLIST index
          %a.global;
          index CDATA #IMPLIED
          level1 CDATA #REQUIRED
          level2 CDATA #IMPLIED
          level3 CDATA #IMPLIED
          level4 CDATA #IMPLIED>

See further 6.8.2 Index Entries

Up: 35 Elements