ok, I start by uncompress and analyze a .odt file. The file that contains data is called content.xml. In this file are present the tags surrounding the styles.
The tag that identifies the chapter heading is:
<text:h text:style-name="Heading_20_1" text
utline-level="1">
</text:h>
I wish to build a TOC (in Mobi or Epub files) by creating a Xpath expression that recognize these tags.
Unfortunately I'm not able to write a working expression.
Do you have some suggestion?
Thanks