Check this previous email.  I think that it is what you are looking for.  You can use XProc to batch process over each file in a directory.

https://www.oxygenxml.com/pipermail/oxygen-user/2009-October/002831.html

Loren Cahlander

On Mar 12, 2018, at 8:54 AM, Lou Burnard <lou.burnard@retired.ox.ac.uk> wrote:

I want to run a simple XSLT script against each of about 50,000 small RDF files, sending the output to a single file. I can do it at the command line, but I'd like it to complete within my lifetime, or preferably before lunch. Is there a better way than saying "for f in *.rdf; do saxon $f mystylesheet.xsl >> output.xml; done" ?

_______________________________________________
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user