View Single Post
Old 02-03-2009, 06:37 PM   #6
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 25,622
Karma: 4998489
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by llasram View Post
For formats like OpenOffice documents, calibre first converts the file to XHTML. Your XPath expression needs to be in terms of the XHTML calibre generates. To look at that XHTML and figure out the expression you need, create an EPUB file, then unzip it and look at the HTML it contains. (The EPUB container is just a ZIP file, so you can unzip it with the tool of our choice.)
Or use the --extract-to option to any2epub
kovidgoyal is offline   Reply With Quote