
On 12/10/2011 4:28 PM, Lee Passey wrote:
Now HTML requires that User Agents (that which many call "browsers") ignore unknown elements and continue processing, so if I built a Table of Contents like /this/:
<div class="toc"> <nav epub:type="toc"> <h3>Table of Contents</h3> <ol> <li><a href="#ch01">Chapter One</li> <li><a href="#ch02">Chapter Two</li> <li><a href="#ch03">Chapter Three</li> ...
I would have a Table of contents that should be rendered correctly in all HTML User Agents, /and/ is a valid ePub 3 Table of Contents.
P.S. An .ncx file is still allowed going forward for backwards compatibility. For that reason, in ePubEditor I have created a function that parses a Table of Contents list like the one illustrated, and creates a valid .ncx file from it.