View Single Post
Old 02-05-2017, 08:05 AM   #4
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by a.o.advena View Post
Thanks for your response. I just tried to use this (pasted the line above into "Detect chapters as (XPath expression):" but Calibre says that the expression is invalid.

In case I wasn't clear above, I want it to break at either one of the above classes.
There is a double quote missing before the first close square bracket. It should be:
Code:
//h:p[@class="P-Section_20_Number"]|//h:p[@class="P-Chapter_20_Number c_odt2"]
davidfor is offline   Reply With Quote