Page 1 of 1

Schedule XSLT transformation

Posted: Wed Jan 10, 2018 6:31 pm
by edwin ariens
Hi I have a simple XSLT transformation project, where a single xml is transformed with an xsl to create a dita output file. It works fine using the Oxygen transformation scenario.

The input xml is dynamic and automatically generated each night, now I would like to create a scheduled task to run the transformation automatically as well, but have no clue where to start. Is there a way to schedule tasks using Oxygen or should I build an ANT file to do the job, if so do you have a good example for me to use?

Re: Schedule XSLT transformation

Posted: Thu Jan 11, 2018 11:56 am
by Radu
Hi,

Oxygen does not have batch command-line-based transformation capabilities.
If you are doing a very simple transformation (XML + XSLT) you can download the Saxon 9.8 home edition processor and run it from the command line:

http://saxon.sourceforge.net/

If from Oxygen you are using the DITA Open Toolkit engine, you can also use it separately from a command line:

http://www.dita-ot.org/2.0/readme/DITA-javacmd.html

Regards,
Radu