${fo} has _xml suffix

Here should go questions about transforming XML with XSLT and FOP.
mark2457
Posts: 4
Joined: Thu Aug 09, 2018 8:43 pm

${fo} has _xml suffix

Post by mark2457 » Thu Aug 09, 2018 9:27 pm

Been using oxygen for years with PrinceXML. to transform XML to HTML and then pass to princeXML (as external FO processor)

Suddenly the input FO file has an _xslt suffix so the command fails

my fo processor is configured as:

"C:\Program Files (x86)\Prince\Engine\bin\prince.exe" ${fo} ${out} --insecure

This is the command that gets generated
Started: "C:\Program Files (x86)\Prince\Engine\bin\prince.exe" C:\_Data Other\XSL Stuff\JT_Full.xsl_xslt "C:\_Data Other\XSL Stuff\JT_Full_20180809131639601.pdf" --insecure

How do I get rid of the _xslt suffix?

Radu
Posts: 6286
Joined: Fri Jul 09, 2004 5:18 pm

Re: ${fo} has _xml suffix

Post by Radu » Fri Aug 10, 2018 8:18 am

Hi Mark,

If you edit a transformation scenario in Oxygen, it has an XML URL and an XSL URL. Oxygen takes the XML and processes it using the XSLT, then if the "Perform FO Processing" checkbox is checked, Oxygen will save the result as a temporary file with the name suffixed with "_xslt" and then give it to the external tool for further processing. So Oxygen has always done this. And we do not have a setting for this.
Could you tell us the precise error which is reported?

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

mark2457
Posts: 4
Joined: Thu Aug 09, 2018 8:43 pm

Re: ${fo} has _xml suffix

Post by mark2457 » Tue Aug 14, 2018 5:57 am

thanks for the reply. all of a sudden it started working

Post Reply