I'm trying to create a table of contents based on XPath and running into a problem.
Every chapter is preceded by
(That's a NO-BREAK SPACE between the p tags)
However, when I try to use the ToC editor wizard to add entries for
HTML tag = p
Attribute = class
Value = txtb2
only the first chapter gets an entry in the resulting ToC, every other instance is ignored. When I close the ToC editor, the code of the book gets updated so that each tag has been updated to something like:
Quote:
<p class="txtb2" id="toc_2"> </p>
|
but none of the entries beyond id="toc_1" were added to the ToC.
I created a ToC for another ebook with the same structure a few months ago with no problems, but maybe I've forgotten a subsequent step in the meantime. Can anyone help?