View Single Post
Old 02-05-2009, 10:55 AM   #3
Robertxc
Junior Member
Robertxc began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Dec 2008
Device: none
Thank you Kovid, the tabs are now working perfectly. I have had a bit more trouble with the TOC however. I managed to import an rtf version of the test document ok, but when i subsequently tried it with the full text it took 7 hours and didn't format the TOC at all. I have since tried saving the text as a filtered web page, and calibre imports that in a couple of minutes without any problems. The only issue I now have is that I cannot get to grips with the XPath expressions (the XPath website is not exactly user friendly!). The tag I'm trying to grab is as follows:

<p class=eBookChapter>*** <br clear=all style='page-break-before:always'>
Chapter&nbsp;II*************** </p>

I tried putting class=eBookChapter into the XPath expression, but to no avail. Do you have any suggestions to make this work?
Robertxc is offline   Reply With Quote