Process many XML files

Here should go questions about transforming XML with XSLT and FOP.
gerritjankoekkoek
Posts: 1
Joined: Mon Apr 05, 2010 11:29 pm

Process many XML files

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

Re: Process many XML files

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