|
|
#1 |
|
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Aug 2012
Device: Acer Lumiread 600
|
XML Import in to calibre (and to epub)
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>.... …</para>
</infoblock>
</prebook>
Regards |
|
|
|
|
|
#2 |
|
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Aug 2012
Device: Acer Lumiread 600
|
Ok, i found the missing style files: pbdefault.xsl, prebook.xsd + prEntities.dtd.
But calibre don't like me ![]() Any suggestions? |
|
|
|
|
Enthusiast
|
|
|
|
#3 |
|
Creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,496
Karma: 2944574
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You cannot convert an arbitrary XML format using calibre. You first need to convert it to html and then calibre will convert that html to an ebook format.
__________________
Get calibre Notice to all: I can not provide assistance with DRM removal, for legal reasons, so please do not contact me about it. |
|
|
|
|
|
#4 | |
|
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Aug 2012
Device: Kindle Fire
|
XML to HTML conversion
Quote:
I've converted plenty of xml docs to html. I can take a look at yours if you like and let you know what I think. my email: princessndragon ~~at~~ gmail. -------------------------- P&D |
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Import XML Feature designed in Calibre? | skdutta | Conversion | 6 | 06-14-2011 08:12 AM |
| Import failed Error:404 when attempting to import from Calibre to Stanza | dvond | Apple Devices | 0 | 05-13-2011 03:00 PM |
| xml epub | yuxi_kelly | ePub | 4 | 05-13-2011 10:52 AM |
| XML files and XSD file to EPUB | janneman | Workshop | 8 | 04-08-2011 05:23 PM |
| Converting XML + XSL to Epub. Is there an easy way to do it? | Rogier | ePub | 4 | 04-22-2009 10:26 AM |