View Single Post
Old 02-27-2015, 09:44 AM   #5
phossler
Wizard
phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.
 
Posts: 1,087
Karma: 447222
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
XPath has some other uses, but all I've used it for is making table of contents (screen shot)

In the F&R you can only use Regular Expressions

http://manual.calibre-ebook.com/regexp.html

Using eschwartz's RE you can find H2's with class="chapter" in the sample book (pic 2)

I guess I'm not understanding why you were looking to use XPath. Sorry, but maybe you could provide a little more about what you were looking to do?
Attached Thumbnails
Click image for larger version

Name:	Capture.JPG
Views:	224
Size:	141.4 KB
ID:	135394   Click image for larger version

Name:	Capture2.JPG
Views:	196
Size:	100.5 KB
ID:	135395  

Last edited by phossler; 02-27-2015 at 09:56 AM.
phossler is offline   Reply With Quote