View Single Post
Old 04-06-2011, 01:53 AM   #1
silverdezz
Junior Member
silverdezz began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Feb 2011
Device: none
Convert Chapter (One, Two, Three...etc)

I want to try convert chapters (One, Two, Three...etc) from pdf to epub...


I try using heuristic function but it doesn't work

I wonder what code i should input in

detect chapter (xpath) ---this is the default one-----
//*[((name()='h1' or name()='h2') and re:test(., 'chapter|book|section|part|prologue|epilogue\s+', 'i')) or @class = 'chapter']


what code i can write so in the future...it will detect chapters that start with One, Two, Three...etc


Thanks
silverdezz is offline   Reply With Quote