01-27-2012, 12:45 PM | #1 |
Junior Member
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.
|
01-27-2012, 11:57 PM | #2 |
creator of calibre
Posts: 43,776
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
//*[@class="chapter]|//h:h2
|
Advert | |
|
01-28-2012, 12:46 AM | #3 |
Junior Member
Posts: 2
Karma: 10
Join Date: Jan 2012
Device: kindle
|
Great. Thanks! So simple.
|
Thread Tools | Search this Thread |
|
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 |