View Single Post
Old 02-03-2009, 05:59 PM   #4
MacZap
Member
MacZap began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Mar 2008
Device: iLiad, Cybook, Palm T|X, iPod Touch
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" textutline-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
MacZap is offline   Reply With Quote