View Single Post
Old 08-05-2012, 04:24 AM   #1
MacLeod_
Junior Member
MacLeod_ began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Aug 2012
Device: Acer Lumiread 600
XML Import in to calibre (and to epub)

Hi,
i have an xml structure and calibre don't recognize the structure.

Example:
Code:
<?xml version="1.0" encoding="iso-8859-1"?>
<?xml-stylesheet href="pbdefault.xsl" type="text/xsl"?>
<!DOCTYPE prebook SYSTEM "prEntities.dtd">
<prebook version="3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="prebook.xsd">
  <bookinfo>
    <title>...</title>
    <coverpic>....</coverpic>
    <author>
      <firstname>...</firstname>
      <lastname>..</lastname>
    </author>
    <genre>Mystery</genre>
    <language>de</language>
    <publisher>...</publisher>
    <releasedate>09.11.2010</releasedate>
    <series>...</series>
    <seriesnumber>...</seriesnumber>
    <releaseinfo>v1.0</releaseinfo>
  </bookinfo>
  <chapter title="">
    <subtitle>....</subtitle>
    <para>....... <qs/>...<qe/></para>
  </chapter>
  <chapter title="">
    <para><I>.....</I></para>
    .....
  </chapter>
  <chapter title="*">
    <subtitle>....</subtitle>
    <para>...</para>
    
  </chapter>
  
  <infoblock title="...." type="preview">
    <subtitle>....</subtitle>
    <subtitle>....</subtitle>
    <para>.... &hellip;</para>
  </infoblock>
</prebook>
can anyone help please?

Regards
MacLeod_ is offline   Reply With Quote