View Single Post
Old 04-26-2012, 06:29 AM   #5
jackie_w
Wizard
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 2,571
Karma: 3784089
Join Date: Sep 2009
Location: UK
Device: Sony PRS-350/650/T1, PB360, Kobo Glo/AuraHD/Aura6"
My Xpath knowledge is poor but can you find a way to construct an expression which combines your level1 toc Xpath and level2 toc Xpath in an either/or Xpath expression and put it in the --chapter setting.

Alternatively, you could cheat! Create the epub with all the correct TOC entries at a single level, then edit the .ncx file (either manually or using a utility like Nigol's epubfixer utility) to nest the entries correctly and/or remove any unwanted entries.
jackie_w is online now   Reply With Quote