Schedule XSLT transformation

Oxygen general issues.
edwin ariens
Posts: 4
Joined: Thu Apr 07, 2016 10:01 am

Schedule XSLT transformation

Post 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?
Radu
Posts: 9436
Joined: Fri Jul 09, 2004 5:18 pm

Re: Schedule XSLT transformation

Post 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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply