Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 01-27-2012, 12:45 PM   #1
redcloud111
Junior Member
redcloud111 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jan 2012
Device: kindle
Xpath question: Two Expressions for Level 1

Hey, guys and gals. I was wondering how I could combine //*[@class="chapter] with //h:h2 at Level 1 for the Table of Contents. Right now all my chapters are actually images, so I set the div class to chapter. And the compiler picks them up just fine. But I also have a glossary that is a regular h2 tag. I can't seem to figure out how to combine the expressions in Calibre. Any help would be appreciated. Thanks.
redcloud111 is offline   Reply With Quote
Old 01-27-2012, 11:57 PM   #2
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: 43,776
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
//*[@class="chapter]|//h:h2
kovidgoyal is offline   Reply With Quote
Advert
Old 01-28-2012, 12:46 AM   #3
redcloud111
Junior Member
redcloud111 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jan 2012
Device: kindle
Great. Thanks! So simple.
redcloud111 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help with XPath NASCARaddicted ePub 13 02-20-2015 06:04 AM
Xpath TOC Expression Agama Calibre 2 07-12-2010 02:24 AM
XPath question krischik Calibre 0 01-16-2010 08:22 AM
XPath Help and Pagebreak emellaich Calibre 3 07-28-2009 02:17 PM
XPath query amjbrown Calibre 2 05-10-2009 06:04 PM


All times are GMT -4. The time now is 04:53 PM.


MobileRead.com is a privately owned, operated and funded community.