View Single Post
Old 08-01-2009, 10:33 AM   #9
Killian
Enthusiast
Killian is faster than slow light.Killian is faster than slow light.Killian is faster than slow light.Killian is faster than slow light.Killian is faster than slow light.Killian is faster than slow light.Killian is faster than slow light.Killian is faster than slow light.Killian is faster than slow light.Killian is faster than slow light.Killian is faster than slow light.
 
Posts: 43
Karma: 29000
Join Date: Jul 2009
Device: Kindle Paperwhite
Checked out the HTML using the above and it doesn't particularly make it any easier. All the tags are <p> and the class' are not unique in order to pull chapters from them.

Found out why it was giving me multiple one's though; I'd been putting the formula in the TOC menu as apposed to the Structure Detection menu. Took it out the TOC and overwrote the formala under the Structure Detection as //*[((name()='p') and re:test(., 'chapter', 'i'))].

It's worked perfectly for a few of my books though one of the books has the word 'chapter' amongst it's content and so that is also added as a bookmark. Is there anyway to filter out that particular entry? Tried using the TOC filter from the TOC menu but couldn't get my head around it.
Killian is offline   Reply With Quote