Saving epub files to current directory
Saving epub files to current directory
I'm using Docbook 5 customized stylesheets to transform to EPUB 3. I'm not using oXygen's DocBook ANT transformation - in fact I have the 1.77.1 stylesheets in another directory and am importing them into my customization layer. I don't have anything in my customization that specifies the location of the output folders (OEBPS, META-INF and mimetype) - it uses the standard settings for base.dir and all other epub output files. I have the customized transformation under Global options in the Transformation scenarios window and don't have any parameters set. Yet when I transform, all the files are created in the oXygen root directory (C:\Program Files\Oxygen XML Editor 14-1). I would expect that the files should be created in the current working directory (by default), where all my xml files are. Would you please suggest what I need to change or look for to get output files created in the working directory?
Re: Saving epub files to current directory
Hi,
The problem is that you don't have any parameters set. This is a frequent problem with the EPUB stylesheets from DocBook XSL.Specifically you need to set the outputFile parameter.
e.g.
It's a lot easier to just duplicate the default DocBook to EPUB transformation scenario from Oxygen and edit it to point to the build file from your DocBook XSL (docbook/xsl/epub/bin/build.xml). Then, if necessary, you can adjust some of the parameters.
Regards,
Adrian
The problem is that you don't have any parameters set. This is a frequent problem with the EPUB stylesheets from DocBook XSL.Specifically you need to set the outputFile parameter.
e.g.
Code: Select all
${cfd}/out/epub/${cfn}.epub
Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Re: Saving epub files to current directory
Hi again,
One of my colleagues, Radu, pointed out to me that for EPUB3 there is no ANT build file. So you'll have to stick with your own XSLT transformation.
In that case, for docbook/xsl/epub3/docbook.xsl you have to set the parameter base.dir:
You'll also have to manually pack into an epub file the content of the output folder ("out/${cfn}", where ${cfn} will be replaced with the filename of the input XML file). e.g. out/book for book.xml
Regards,
Adrian
One of my colleagues, Radu, pointed out to me that for EPUB3 there is no ANT build file. So you'll have to stick with your own XSLT transformation.
In that case, for docbook/xsl/epub3/docbook.xsl you have to set the parameter base.dir:
Code: Select all
${cfd}/out/${cfn}/OEBPS/
Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service