A lot dtd-xml Files in a folder to convert in one epub

sofarocker
Posts: 5

A lot dtd-xml Files in a folder to convert in one epub

Wed Aug 05, 2015 12:21 pm

Hello,

i have a folder with a lot of xml-dtd files. I would like convert this files a one epub-file with a toc, chapters and articels. Is this possible with oxygen17? i was appreciated when somebody gives me a step by step introduction.
sofarocker
Posts: 5

Re: A lot of dtd-xml Files in a folder to convert in one epub

Wed Aug 05, 2015 12:30 pm

sofarocker wrote:Hello,

i have a folder with a lot of xml-dtd files. I would like convert this files a one epub-file with a toc, chapters and articels. Is this possible with oxygen17? i was appreciated when somebody gives me a step by step introduction.
adrian
Posts: 2326

Re: A lot dtd-xml Files in a folder to convert in one epub

Wed Aug 05, 2015 2:58 pm

Hi,

If your XML source files are in DocBook format you can run the DocBook EPUB transformation scenario.
There's a video demonstration on our web site showing how to do this:
http://www.oxygenxml.com/demo/Epub.html
Select Publish to EPUB from the left side TOC to skip directly to that part of the video.

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
sofarocker
Posts: 5

Re: A lot dtd-xml Files in a folder to convert in one epub

Wed Aug 05, 2015 3:58 pm

Thank you Adrain for your fast answer. The video demonstration is clear, but i have a lot of xml files (perhaps over 70). I would like merge this xml files in a one epub-file. When i follow the video tutorial the i have many books for one issue. Do you know a workaround, how can i solve may problem?

Regards
adrian
Posts: 2326

Re: A lot dtd-xml Files in a folder to convert in one epub

Wed Aug 05, 2015 4:32 pm

Hi,

There's no way to automatically merge them. If you got them from someone else, check if you already have a master XML file that links them all together. If you don't, you'll have to create this file.
One way to link them together is to use external entities as seen in this demo:
http://www.oxygenxml.com/demo/Working_W ... dules.html

Another way is to use XInclude:
http://www.sagehill.net/docbookxsl/Modu ... ngXinclude
Have a look at the samples that Oxygen provides for DocBook, samples\docbook\v5\sampleXInclude.xml.

After you have created (or identified) this master file, you can transform it to EPUB.

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
sofarocker
Posts: 5

Re: A lot dtd-xml Files in a folder to convert in one epub

Thu Aug 06, 2015 10:02 am

Thank you for your help. Now its clear....

Return to “DocBook”

Who is online

Users browsing this forum: No registered users and 0 guests