I have an epub with section tags as follows:
Code:
<p class="calibre1"><a id="bookmark6" class="calibre2"></a>Introduction</p>
Other sections have random text names. I can recognize the sections using the expression
Code:
//*[re:test(@id, "bookmark.*", "i")]
However the sections are all called "Unnamed". I can see why, the text I'm after (eg. Introduction) is in a different tag than the one I'm searching for. Is there a way to get calibre to pick up the section names in this case?