View Single Post
Old 01-29-2017, 03:53 AM   #1
a.o.advena
Junior Member
a.o.advena began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jan 2017
Device: none
Help with XPath Expression

I'm trying to convert a book from ODT to EPUB, but I'm having problems with the XPath expression for chapter breaks. My document has specific custom formatting at each break, which (using the suggestion from the "Chapter Detection/Table of Contents Tutorial" sticky) I determined to be:

Code:
<p class="P-Section_20_Number">
AND
Code:
<p class="P-Chapter_20_Number c_odt2">
I tried a few different things from the Calibre XPath Tutorial (https://manual.calibre-ebook.com/xpa...xpath-tutorial) but nothing seems to be working.

Would appreciate any help.
a.o.advena is offline   Reply With Quote