7.20. Element toc

Instructs XMLmind Ebook Compiler to automatically generate a Table of Contents (TOC).

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
5
6
7
8
<frontmatter>
  <toc/>
  <lof/>
  <lot/>
  <lox/>
  <loe/>
  <section href="intro.html"/>
</frontmatter>