Index items
Index items generally start with a headword followed by page or paragraph numbers. They can also contain sub items or cross-references to other index items.
indexlist/indexItem1
indexlist/indexItem1/indexItem2
indexlist/indexItem1/indexItem2/indextItem3
indexlist/indexItem1/indexItem2/indextItem3/indexItem4
indexlist/indexItem1/indexItem2/indextItem3/indexItem4//indexItemN
Index items start with an iHeadword element followed by one or more of the following:
- Sub-index items (which also contain one or more elements from this list)
- Page numbers (which may be followed by note numbers)
- Paragraph numbers (captured using xref or extRef)
- Cross-references to other index items
Capture top-level index items using indexItem1 and sub-index items with them using indexItem2 and so on through indexItem3, indexItem4 and indexItemN.
It is important to note that sub-index items are not always indented and instead run on. Capture run-on entries as if they are indented and not as iHeadwords at the same level.
Sub-index entries
Sub-index entries run-on in the same index entry
XML
<indexItem1 id="oso-9780199296446-indexItem1-773">
<iHeadword>Spinoza, Baruch (1633–77)</iHeadword>
<pageNum pageId="7">
<xref ref="oso-9780199296446-chapter-1-milestone-7">7</xref>
</pageNum>,
<xrefGrp>
<xref ref="oso-9780199296446-note-215">71 n.85</xref>
</xrefGrp>, <pageNum pageId="151">
<xref ref="oso-9780199296446-chapter-6-milestone-151">151</xref>
</pageNum>,<pageNum pageId="222">
<xref ref="oso-9780199296446-chapter-9-milestone-222">222</xref>
</pageNum>, <pageNum pageId="372">
<xref ref="oso-9780199296446-chapter-13-milestone-372">372</xref>
</pageNum>, <pageNum pageId="376">
<xref ref="oso-9780199296446-chapter-13-milestone-376">376</xref>
</pageNum>;<indexItem2 id="oso-9780199296446-indexItem2-1"><iHeadword>authority</iHeadword><pageNum pageId="473">
<xref ref="oso-9780199296446-chapter-15-milestone-473">473–7</xref>
</pageNum>; </indexItem2>
<indexItem2 id="oso-9780199296446-indexItem2-2"><iHeadword>clear and distinct ideas</iHeadword><xrefGrp>
<xref ref="oso-9780199296446-note-1160">420 n.29</xref>
</xrefGrp>, <pageNum pageId="473">
<xref ref="oso-9780199296446-chapter-15-milestone-473">473–92</xref>
</pageNum>; </indexItem2>
<indexItem2 id="oso-9780199296446-indexItem2-3"><iHeadword>criticisms of</iHeadword><pageNum pageId="485">
<xref ref="oso-9780199296446-chapter-15-milestone-485">485–6</xref>
</pageNum>; </indexItem2>
<indexItem2 id="oso-9780199296446-indexItem2-4"><iHeadword>God, conception of</iHeadword><pageNum pageId="479">
<xref ref="oso-9780199296446-chapter-15-milestone-479">479–92</xref>
</pageNum>; </indexItem2>
<indexItem2 id="oso-9780199296446-indexItem2-5"><iHeadword>metaphysics</iHeadword><pageNum pageId="477">
<xref ref="oso-9780199296446-chapter-15-milestone-477">477–92</xref>
</pageNum>, <pageNum pageId="505">
<xref ref="oso-9780199296446-chapter-16-milestone-505">505</xref>
</pageNum>; </indexItem2>
<indexItem2 id="oso-9780199296446-indexItem2-6"><iHeadword>naturalism</iHeadword><pageNum pageId="112">
<xref ref="oso-9780199296446-chapter-4-milestone-112">112</xref>
</pageNum>, <pageNum pageId="459">
<xref ref="oso-9780199296446-chapter-14-milestone-473">459</xref>
</pageNum>; </indexItem2>
<indexItem2 id="oso-9780199296446-indexItem2-7"><iHeadword>politico‐theology</iHeadword><pageNum pageId="473">
<xref ref="oso-9780199296446-chapter-15-milestone-473">473–7</xref>
</pageNum>; </indexItem2>
<indexItem2 id="oso-9780199296446-indexItem2-8"><iHeadword>truth</iHeadword><pageNum pageId="477">
<xref ref="oso-9780199296446-chapter-15-milestone-477">477–8</xref>
</pageNum>
</indexItem2>
</indexItem1>
Level 1 index entry with page reference and two sub-entries
Printed Book
XML
<alphabet>B</alphabet>
<indexItem1 id="med-9780198530374-indexItem1-60">
<iHeadword>bacterial conjunctivitis</iHeadword>
<xrefGrp><pageNum pageId="146">
<xref ref="med-9780198530374-chapter-12-milestone-146">146-7</xref></pageNum>
</xrefGrp>
<indexItem2 id="med-9780198530374-indexItem2-36"><iHeadword>acute</iHeadword><xrefGrp>
<pageNum pageId="146">
<xref ref="med-9780198530374-chapter-12-milestone-146">146</xref>
</pageNum></xrefGrp>
</indexItem2>
<indexItem2 id="med-9780198530374-indexItem2-37"><iHeadword>gonococcus</iHeadword><xrefGrp>
<pageNum pageId="146">
<xref ref="med-9780198530374-chapter-12-milestone-146">146-7</xref>
</pageNum></xrefGrp>
</indexItem2>
</indexItem1>