View Single Post
Old 02-27-2011, 01:34 PM   #10
Junior Member
bookraft began at the beginning.
Posts: 9
Karma: 10
Join Date: Feb 2011
Device: none
Adding div tags doesn't help. Epubcheck simply gives the same warning as before:

Error: test.epub/OEBPS/Test_split_125 [any number between 1 and 150].xhtml<16>: element "div" from namespace "" not allowed in this context

Here's the code from the beginning of one of the 150 files:

<?xml version="1.0"?>

<html xmlns="">
  <title>Psalms ePub Georgia</title>
  <link href="../Styles/stylesheet1.css" rel="stylesheet" type="text/css" />
<style type="text/css">
@page { margin-bottom: 5.000000pt; margin-top: 5.000000pt; }
                @font-face {
    font-family: "Georgia";
    font-style: normal;
    font-weight: normal;
    src: local(Georgia)

<body class="calibre">
  <p class="awpsalmheader" id="calibre_toc_8"><span class="awpagebreak" id="calibre_pb_8">PSA</span><span>LM SIX</span></p>

  <div class="calibre1">
    <a class="calibre2" id="psalm-six-anchor"></a>

  <p class="awnormal17ptafter"><span>A composition for chorus and strings, a psalm of David:</span></p>
As for the suggestion of using paragraph styles for the page breaks, it's not so practical. Although the document is well structured in InDesign, some page breaks must come before pargraph styles that are used elsewhere, and where a page break is not necessary.

bookraft is offline   Reply With Quote