Page 1 of 1

Process many XML files

Posted: Mon Apr 05, 2010 11:34 pm
by gerritjankoekkoek
Hi,

Newbie question.
I have a directory full of XML files, all conform ONE xml-schema!
I've created and tested a transformation (XSL) and I want to apply it on all files,
Each file should deliver a text-file with the extension .vm

How to do in OXYGEN

Re: Process many XML files

Posted: Tue Apr 06, 2010 9:42 am
by Radu
Hi,

1) First make sure that in the defined transformation scenario, in the Output tab in the Save As field you set a value which is different for each transformed file. In this way the output from one transformation will not overwrite the output from another.
The value, using Oxygen editor variables could be like: ${cfd}\${cfn}.vm

2) In the Project view, having a project opened, right click the Project root select Link to external folders and link the directory with the XML files.

3) Right click the linked folder, select Configure transformation scenario and use the scenario you created.

Regards,
Radu