Skip to content

Batch processing - is it possible? #24

Answered by pdonohoe
poetsmeniet asked this question in Q&A
Discussion options

You must be logged in to vote

That's an interesting question, @poetsmeniet. I develop the XSLT by running the XSLT conversion in Saxon 10HE from the unix command line, and it only allows conversion of one XML file at a time: https://www.saxonica.com/html/documentation10/using-xsl/commandline/index.html. I imagine it would be possible to do multiple conversions by using the JAR file from within a Java or C++ program.
I have used a method to use the same Saxon 10HE to run XQuery scripts on more than one XML file at a time, but this requires reading the XML files from within the XQuery script. It is possible to do something similar with XSLT, using the fn:doc() function to read XML files, and the xsl:result-document inst…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@poetsmeniet
Comment options

@pdonohoe
Comment options

Answer selected by poetsmeniet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants