Transformation with external FOP: Actualization of file name
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 4
- Joined: Tue Mar 11, 2003 12:56 pm
- Location: Switzerland
Transformation with external FOP: Actualization of file name
Transformation with external FOP: Actualization of file names in macros
I'm using an external FO processor (Apache FOP 0.20.4) to produce PDF output from XML files (see also Forum 'Common Problems', Topic ' Configuration of external FO processor'), with following command line template:
org.apache.fop.apps.Fop -xml ${cf} –xsl U:\arbeit\zbuch6\quelle\kodiert_b\fop\buch.xsl -pdf ${tsf}
(just part concerning fop).
In <oXygen/> XML Editor Version 2.0. I noticed a strange behavior. When I configure the transformation (including 'Output Tab') and want to transform an XML file I get following error:
org.apache.fop.apps.Fop -xml U:\arbeit\zbuch6\quelle\kodiert_b\s330_331.xml -xsl U:\arbeit\zbuch6\quelle\kodiert_b\fop\buch.xsl -pdf
[ERROR] you must specify the pdf output file.
Oxygen seems to ignore the macro ${tsf} and the filename given in the 'Configure Transformation Dialog'.
After closing the XML file and reopening it again, the transformation works perfect! The content of the 'Output Tab' is included now with the macro ${tsf} in the command line and the PDF file is produced:
org.apache.fop.apps.Fop -xml U:\arbeit\zbuch6\quelle\kodiert_b\s330_331.xml -xsl U:\arbeit\zbuch6\quelle\kodiert_b\fop\buch.xsl -pdf U:\arbeit\zbuch6\quelle\kodiert_b\fop\s330_331.pdf
There seems to be a problem with the actualization of macro contents. It is a bit annoying when you must reopen every file before transforming it!
Thanks much.
I'm using an external FO processor (Apache FOP 0.20.4) to produce PDF output from XML files (see also Forum 'Common Problems', Topic ' Configuration of external FO processor'), with following command line template:
org.apache.fop.apps.Fop -xml ${cf} –xsl U:\arbeit\zbuch6\quelle\kodiert_b\fop\buch.xsl -pdf ${tsf}
(just part concerning fop).
In <oXygen/> XML Editor Version 2.0. I noticed a strange behavior. When I configure the transformation (including 'Output Tab') and want to transform an XML file I get following error:
org.apache.fop.apps.Fop -xml U:\arbeit\zbuch6\quelle\kodiert_b\s330_331.xml -xsl U:\arbeit\zbuch6\quelle\kodiert_b\fop\buch.xsl -pdf
[ERROR] you must specify the pdf output file.
Oxygen seems to ignore the macro ${tsf} and the filename given in the 'Configure Transformation Dialog'.
After closing the XML file and reopening it again, the transformation works perfect! The content of the 'Output Tab' is included now with the macro ${tsf} in the command line and the PDF file is produced:
org.apache.fop.apps.Fop -xml U:\arbeit\zbuch6\quelle\kodiert_b\s330_331.xml -xsl U:\arbeit\zbuch6\quelle\kodiert_b\fop\buch.xsl -pdf U:\arbeit\zbuch6\quelle\kodiert_b\fop\s330_331.pdf
There seems to be a problem with the actualization of macro contents. It is a bit annoying when you must reopen every file before transforming it!
Thanks much.
-
- Site Admin
- Posts: 2095
- Joined: Thu Jan 09, 2003 2:58 pm
Hi,
You are right there is a synchronization problem for the ${tsf} macro. This will be fixed in the next release. Please see my notes to your other post about external FOP configuration - you can use ${out} instead of ${tsf}.
http://www.oxygenxml.com/forum/viewtopic.php?t=56
All the best,
George
You are right there is a synchronization problem for the ${tsf} macro. This will be fixed in the next release. Please see my notes to your other post about external FOP configuration - you can use ${out} instead of ${tsf}.
http://www.oxygenxml.com/forum/viewtopic.php?t=56
All the best,
George
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ 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