7.11. Element index

Instructs XMLmind Ebook Compiler to automatically generate an index.

  • The language used to automatically sort generated index entries is taken from the xml:lang attribute of the book element.
  • An index term is a a element without an href attribute having class attribute containing "role-index-term". See Section 6.8. Index terms.

Content model

EMPTY

Attributes

Name Data type Default value
pagename token
min. length: 1
 
samepage boolean "false"
xml:base anyURI  
xml:id ID  
xml:lang language or "" (the empty string) .

Other attributes: any attribute having a name starting with "data-".

Parents

The following elements contain toc: backmatter, frontmatter.

Example

1
2
3
4
<backmatter>
  <section href="glossary.html"/>
  <index/>
</backmatter>