Page 1 of 1

From PDF to XML to Epub

Posted: Tue Jan 12, 2016 6:11 am
by oston
I'm trying to replicate what I saw in the Epub video, but I am missing a step?
I used Acrobat CC 2015 to make an XML version of a PDF. OxygenXML read this with no problem
I then used the Tool icon to select the Doc5 Epub scenario.
The build was successful but there are many errors and ADE will not open the EPUB.

What steps are needed to convert the XML file to an epub. Does the XML file have to have a specific structure that is not there when Acrobat exported the PDF to an XML 1.0 file.

Thanks

Jim

Re: From PDF to XML to Epub

Posted: Tue Jan 12, 2016 7:09 pm
by adrian
Hi,
I used Acrobat CC 2015 to make an XML version of a PDF. OxygenXML read this with no problem
The fact that you can open it in Oxygen, doesn't mean much. Oxygen can open for editing any random XML, that doesn't mean you can immediately transform it into EPUB, PDF or other. You need specific XML stylesheets (XSLT) tailored for your XML document or even an entire toolkit (see the case of DITA) in order to perform these transformations.

Oxygen only provides transformation scenarios (to EPUB and other formats) for a few specific XML document types (DocBook, DITA).
So, the question is what type of XML document is the one that Acrobat CC exported?
My guess is it's not one of the document types that Oxygen supports out-of-the-box.

Regards,
Adrian

Re: From PDF to XML to Epub

Posted: Thu Jan 14, 2016 7:08 am
by oston
Ah, I see. thanks Adrian.
Obviously a LOT more to learn here.
I'll look for some material on XML Stylesheets. It would be cool if I could use this transition.

Jim