I continued with the minimization of the nav.xhtml.
The following code validates with the plugin:
Code:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops" xml:lang="de">
<head></head>
<body>
<h2>Inhaltsverzeichnis</h2>
<nav epub:type="toc">
<ol>
<li><a href="../Text/main.xhtml#t1">Der Walker Brothers-Cowboy</a></li>
<li><a href="../Text/main.xhtml#t2">Die leuchtenden Häuser</a></li>
<li><a href="../Text/main.xhtml#t3">Bilder</a></li>
<li><a href="../Text/main.xhtml#t4">Danke für die Schlittenfahrt</a></li>
<li><a href="../Text/main.xhtml#t5">Das Büro</a></li>
<li><a href="../Text/main.xhtml#t6">Ein Gläschen Medizin</a></li>
<li><a href="../Text/about.xhtml#t7">Zur Autorin und zu ihrer Übersetzerin</a></li>
<li><a href="../Text/about.xhtml#t8">Zum Buch</a></li>
<li><a href="../Text/imprint.xhtml#t9">Impressum</a></li>
</ol>
</nav>
</body>
</html>
Open questions:
1 Is
epub:type="toc" in the nav element mandatory?
Until now I couldn't find it in the specs you mentioned:
http://www.idpf.org/epub/31/spec/epub-contentdocs.html
Independent of that, Sigil deletes automatically the complete content of the nav element, when one deletes
epub:type="toc"
2 How can I teach Sigil to produces such a minimized nav.xhtml
3 Will that navigation work with a Kobo?