View Single Post
Old 06-12-2011, 11:15 AM   #3
neil_matthews
Junior Member
neil_matthews began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jun 2011
Location: Stafford, UK
Device: Kindle 2 & Kindle 3
Level 1, 2 & 3 TOC XPath expressions all appear blank in GUI. Does this imply some unseen default expressions being used? I normally only use these fields for .rtf -> .mobi, where //h:h3 would be a usual level1 setting for me.

I'm not sure what you would consider relevant headings, so here's the first chunk of code from the Regex builder between the *'s:

****************************************
---
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>

<link href="../Styles/main.css" rel="Stylesheet" type="text/css" />

<title>Cover</title>
</head>

<body class="epub">
<div class="coverpage"><img alt="Cover" class="coverimage" src="../Images/front.jpg" /></div>
</body>
</html>

---
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>

<link href="../Styles/main.css" rel="Stylesheet" type="text/css" />

<title>Title</title>
</head>

<body class="epub">
<div class="titlepage">
<h2 class="title1" id="heading_id_2">The Book Title</h2><br />

<h3 id="heading_id_3">The Author</h3>
</div>
</body>
</html>

---
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>

<link href="../Styles/main.css" rel="Stylesheet" type="text/css" />

<title>Annotation</title>
</head>

**********************************

Book title and author changed to protect the innocent.

Thanks for the reply. I await enlightenment.
neil_matthews is offline   Reply With Quote