Thread: making a TOC
View Single Post
Old 07-14-2011, 02:54 AM   #4
dckaynor
Junior Member
dckaynor began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jul 2011
Device: none
I am converting from PDF to Epub. All works in the TOC except I can't add an appendix and an interlude to the TOC. The Xpath I'm using is as follows
//*[((name()='h1' or name()='h2') and re:test(., 'chapter|appendix|interlude|appendix|prologue|epil ogue\s+', 'i')) or @class = 'chapter']
dckaynor is offline   Reply With Quote