Hello, I've come with this ePub file from the InDesign where I have a single xhtml with the following structure
Code:
<?xml version="1.0" encoding="utf-8"?>
<!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>
<title>My_Title_Here</title>
<link href="template.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="x-02-my-title-here">
<div class="story">
Then the book (wich I want to split up in different xhtml files) and then the ending code
Code:
</div>
</div>
</body>
</html>
So, how do I have to split the chapters (XSLT, XPATH, Oxygen, you name it...) I know that the chapters start with this
Code:
<p class="bot-pagina"></p>
And I guess that later I'll have to edit OPF, and maybe some several things too. One thing that worries me is what will happen if div id="x-02-my-title-here" is the same with all the files (do i need to change it for calling it in the OPF?).
So, how can I easilly split that file into several chapter files?