idRef (tocEntry)

Node type: Attribute

Definition

Indicates a reference to a paragraph’s ID.

Attribute Values

Value/Content format: Positive numbers (1, 2, 3, etc.)

Used in Elements

tocEntry

Code Sample

<tocBlock>

<title>Contents</title>

<titleLabel>Title</titleLabel>

<pageLabel>Page</pageLabel>

<tocEntry fileRef="36500_000_intro" idRef="1">

<title>Introduction</title>

<page>v</page>

</tocEntry>

<tocEntry fileRef="36500_000_hist" idRef="1">

<title>Historical Summary</title>

<page>x</page>

</tocEntry>

<tocEntry fileRef="36500_000_life" idRef="1">

<title>The Life and Ministry of Spencer W. Kimball</title>

<page>xiv</page>

</tocEntry>

<tocEntry fileRef="36500_000_1" idRef="1">

<title>1 “To Live with Him Someday”</title>

<page>1</page>

</tocEntry>

<tocEntry fileRef="36500_000_2" idRef="1">

<title>2 Tragedy or Destiny?</title>

<page>11</page>

</tocEntry>

</tocBlock>

Display Sample

table of contents sample

Notes

In a table of contents, idRef will often point to id="1", the first para-type element in a chapter.