Changes to XSL not reflected in PDF output

Here should go questions about transforming XML with XSLT and FOP.
librarion
Posts: 1
Joined: Thu Jun 23, 2011 6:25 pm

Changes to XSL not reflected in PDF output

Post by librarion »

*Hopefully this doesn't repost

As the title suggests, I have an xsl stylesheet that formats a transformation to pdf. The transformation runs correctly and creates a pdf, but I've just noticed that since the first time I transformed it, no changes I make to the xsl file are reflected in the output. Is it caching my initial transformation or something? Any ideas?

Thanks!
adrian
Posts: 2879
Joined: Tue May 17, 2005 4:01 pm

Re: Changes to XSL not reflected in PDF output

Post by adrian »

Hello,

The transformation is not cached, however the output file is never deleted, only overwritten(when successful). Make sure that the PDF isn't the result of a previous transformation and not the current one. Look at its date/time before and after the transformation. If it doesn't change to the current date and time then the FO processing is not working.

If that's the case and you want to see why is the FO processing failing, go to : Options -> Preferences -> XML -> XSLT-FO-XQuery -> FO Processors and set "Enable output to the built-in FOP". This will show you the output of the Apache FOP in the results panel when running a transformation that uses Apache FOP.

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Post Reply