
Hi Radu Well not quite, since the >> appends each output file to the same location, but that doesn't speed anything up. Thanks for the tip about using the collection function though! Will give it a try. After lunch. Lou On 12/03/18 13:47, Oxygen XML Editor Support (Radu Coravu) wrote:
Hi Lou,
Each XSLT transformation scenario will output to its own file location. So you would still need to merge all those output files.
How about if your XSLT uses the "collection" function to load all XML documents in a certain folder and then use those nodes to produce the output? Something like James Cummings does here:
https://blogs.it.ox.ac.uk/jamesc/2009/02/10/xslt2-collection-with-dynamic-co...
Regards, Radu
Radu Coravu <oXygen/> XML Editor http://www.oxygenxml.com
On 3/12/2018 2:54 PM, Lou Burnard 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
oXygen-user mailing list oXygen-user@oxygenxml.com https://www.oxygenxml.com/mailman/listinfo/oxygen-user