View Single Post
Old 06-25-2009, 05:59 AM   #1
Portnull
Member
Portnull began at the beginning.
 
Posts: 14
Karma: 10
Join Date: May 2009
Device: Sony 505
html2epub: chapter splitting on more than 1 heading level

Hi all,

In Calibre it's possible the split an html file into chapters using XPath predicates. In my case //*[name()='h1' or name()='h2'], for splitting into html on both h1 and h2 level.

I haven't found a way to do the same in html2epub. It returns syntax error near unexpected token `('.

Any idea how this can be solved? Other XPath expressions for getting the same result are welcome as well, of course!
Portnull is offline   Reply With Quote