Hello David and thank you very much for taking the time to try and help!
I use Calibre to generate TOC since it's so handy :-)
My TOC file looks like this:
Code:
<?xml version='1.0' encoding='utf-8'?>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops" xmlns:ibooks="http://vocabulary.itunes.apple.com/rdf/ibooks/vocabulary-extensions-1.0" epub:prefix="ibooks: http://vocabulary.itunes.apple.com/rdf/ibooks/vocabulary-extensions-1.0">
<head>
<title>Book title</title>
<link href="../css/styles.css" rel="stylesheet" type="text/css"/>
</head>
<body xml:lang="he" dir="rtl">
<nav id="toc" epub:type="toc">
<ol>
<li>
<a href="intro.xhtml">Intro</a>
<ul>
<li><a href="intro_1.xhtml#toc_1">TakeMeThere</a></li>
</ul>
</li>
</ol>
</nav>
</body>
</html>
Declaration in content.opf:
Code:
<item href="text/toc.xhtml" id="nav" media-type="application/xhtml+xml" properties="nav"/>
So from what I understand there seems to be no way to get the reader to jump to the right location?
P.S:
Did you use
on purpose? I don't see the point since this file extension is xhtml and not html(5).
Thanks again!