View Single Post
Old 08-28-2019, 04:56 PM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,079
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by mjcatt View Post
I'm not great with XPath, but I usually manage to stumble my way for what I need. However, I'm out of my league on this one and I'm hoping someone experienced can help.

I have a number of books that use the 'title' attribute in headers to specify the text that should be used in generating the TOC. Here's an example:

<h2 title='Text to place in TOC'>Text that goes into book itself</h2>

What XPath expression should be used in 'Create TOC from XPath' to return the value of the title attribute (i.e., 'Text to place in TOC')?

Thanks in advance for your help!
use the default From Headers. The Title attribute prevails when ther
theducks is offline   Reply With Quote