list (index)

Node type: Block element (can contain only other elements)

Whitespace: Not protected

Definition

An index.

Code Sample

<list listFormat="index">

<title paraID="21">P</title>

<listItem>

<entry paraID="22">Pratt, Parley P.</entry>

<list listFormat="index">

<listItem>

<entry paraID="23">learned of eternal family organization from Joseph Smith</entry>

<locator>221</locator>

<secondary>

<locator>220–22</locator>

</secondary>

</listItem>

<listItem>

<entry paraID="24">prepared 1837 edition of Book of Mormon</entry>

<locator>64</locator>

</listItem>

<listItem>

<entry paraID="25">traveled to ask Joseph for relief of Missouri Saints</entry>

<locator>138</locator>

<locator>141</locator>

</listItem>

<listItem>

<entry paraID="26">witnessed the Prophet rebuking prison guards</entry>

<locator>207</locator>

</listItem>

</list>

</listItem>

</list>

Display Sample

P

Pratt, Parley P.

  learned of eternal family organization from Joseph Smith, 221 (220–22)
  prepared 1837 edition of Book of Mormon, 64
  traveled to ask Joseph for relief of Missouri Saints, 138, 141
  witnessed the Prophet rebuking prison guards, 207

Notes

An index in ldsXML is a type of list. The list element wrap list items, which include entries, locators, and any embedded lists.

Marking in Microsoft Word

Use paragraph styles like the following to mark index titles.

  • LISTindx-1_title

Use paragraph styles like the following to mark index entries:

  • LISTindx-1_entry
  • LISTindx-2_entry

Only one entry is allowed per listItem.

Use paragraph styles like the following to mark index locators:

  • LISTindx-1_locator
  • LISTindx-2_locator

Mark secondary references to these locators as follows:

  • LISTindx-1_secondary
  • LISTindx-2_secondary

Note that each part of the index should be on a line by itself. These will be combined by transform in the display channels. The exception is locators, which can be grouped by line (for example, “3, 5–8”). If an item will ever appear on the Web, it may be advantageous to have each locator on a line by itself.

Embedding is often used to create index subentries (see sample). The number in the stylenames indicates the level of embedding.

For lists embedded in other structures, use the xmlPara paragraph style to enter beginning and ending <list> tags around the index, around any indexes that contain the index, and around any index contained by those indexes.