Page 1 of 1

XML-XSLT-FO-PDF

Posted: Sat Jun 16, 2012 1:45 pm
by nena
Hello,

Apologies if this topic has been covered already.

I created an xslt which transforms XML into FO xml via XSLT. Using Oxygen, I set up a transformation scenario which creates a .pdf file from this FO. What I am now trying to do is set up a batch which I can run from command line. This batch should :
1. Pick up all XML files it finds in a given folder.
2. Using my XSLT file, it should transform them into FOs
3. Using something (and this is what I don't know how to do), it should transform all of those FOs into PDFs.

I am very new to all this, so any ideas/pointers are highly appreciated.

Thank you
Best wishes,
Nena

Re: XML-XSLT-FO-PDF

Posted: Tue Jun 19, 2012 10:34 am
by sorin_ristache
Hello,

I think you should create an ANT script file taht runs your batch of transformations. You can use the xslt task for the XSLT transformation. Also you should install Apache FOP as an ANT task in the ANT installation where you run your batch transformation.

You can call the ANT script from Oxygen as an external tool.


Regards,
Sorin