Thread
:
Help with Create TOC from XPath
View Single Post
08-28-2019, 09:15 PM
#
6
kovidgoyal
creator of calibre
Posts: 45,435
Karma: 27757438
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
It always uses the text in the tag in preference to the title or any other attribute. You can try using
//h:h2/@title
however I dont recall if it works with XPath that returns attributes insetead of tags.
kovidgoyal
View Public Profile
Visit kovidgoyal's homepage!
Find More Posts by kovidgoyal
Track Posts by kovidgoyal via RSS