Set value for DoutputFile.base dynamically
Here should go questions about transforming XML with XSLT and FOP.
-
- Posts: 6
- Joined: Mon Mar 06, 2017 5:20 pm
Set value for DoutputFile.base dynamically
Hi,
we are using DITA-OT 2.5.4 to create PDF files using a customised version of the PDF2 transformation, which works well.
We are using version control and have automated the transformation for all our documentation so that they are built whenever a file has been updated in the repository.
Our DITA command in the batch file that is used to do the transformations contains the parameter DoutputFile.base to set the file name of the output file, similar to this:
Is there a way to set the value for DoutputFile.base dynamically using a variable?
Thanks for your help!
Angela
we are using DITA-OT 2.5.4 to create PDF files using a customised version of the PDF2 transformation, which works well.
We are using version control and have automated the transformation for all our documentation so that they are built whenever a file has been updated in the repository.
Our DITA command in the batch file that is used to do the transformations contains the parameter DoutputFile.base to set the file name of the output file, similar to this:
Code: Select all
dita -i inputfile.ditamap -o c:\out -f custom-pdf -DoutputFile.base=outputfilename
Thanks for your help!
Angela
-
- Posts: 9431
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Set value for DoutputFile.base dynamically
Hi Angela,
You can pass parameters to a Windows ".bat" file and then use them in the command line:
https://stackoverflow.com/questions/265 ... batch-file
Regards,
Radu
You can pass parameters to a Windows ".bat" file and then use them in the command line:
https://stackoverflow.com/questions/265 ... batch-file
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
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