[oXygen-user] transforming LOTS of files with saxon

Lou Burnard lou.burnard at retired.ox.ac.uk
Mon Mar 12 09:20:14 CDT 2018


Now that *is* really cool. Many thanks (again) Peter.

On 12/03/18 13:54, Peter Stadler wrote:
> I think what’s expensive here is that you spin up a JVM for every file.
> You can prevent this by passing a directory to the Saxon CLI as input parameter which should be way faster. (You’d need to concat the results in a second step, then)
>
> Best
> Peter
>
>> Am 12.03.2018 um 13:54 schrieb Lou Burnard <lou.burnard at retired.ox.ac.uk>:
>>
>> 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 at oxygenxml.com
>> https://www.oxygenxml.com/mailman/listinfo/oxygen-user
> --
> Peter Stadler
> Carl-Maria-von-Weber-Gesamtausgabe
> Arbeitsstelle Detmold
> Hornsche Str. 39
> D-32756 Detmold
> Tel. +49 5231 975-676
> Fax: +49 5231 975-668
> stadler at weber-gesamtausgabe.de
> www.weber-gesamtausgabe.de
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20180312/630c3c73/attachment.html>


More information about the oXygen-user mailing list