How do I specify the output PDF file name?

Here should go questions about transforming XML with XSLT and FOP.
chymical
Posts: 16
Joined: Wed Nov 24, 2010 12:37 pm

How do I specify the output PDF file name?

Post by chymical »

Hi,

Is there any way to specify the name of the output PDF file using the OxygenXML author interface?

I have a DITAMAP that generates several different outputs, depending on the conditions I apply in a transformation scenario. However, the resulting PDF file always has the same name as the DITAMAP. How can I specify a different file name for each conditional output?
Radu
Posts: 9055
Joined: Fri Jul 09, 2004 5:18 pm

Re: How do I specify the output PDF file name?

Post by Radu »

Hi,

The name of the PDF file seems quite hard coded in the DITA Open Toolkit to the of the Dita Map file.
You can open for example the OXYGEN_INSTALL_DIR/frameworks/dita/DITA-OT/demo/fo/build.xml build file in Oxygen and search for:

Code: Select all

param name="outputFile"
It is hard coded in two places to the file name of the DITA Map.
Maybe you can customize it to your needs by modifying the build file.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply