dimanche 28 juin 2015

Parse several XML-files with batch

I want to parse several/all files in a specific folder.

I usually parse my files like this:

java -jar saxon9he.jar -o:index.html -s:File.xml -xsl:Stylesheet.xslt
pause

Is there a way I can parse more than one file at once?

I tried something like this, but it won't work

java -jar saxon9he.jar -o:index.html -s:Folder/*.xml -xsl:Stylesheet.xslt
pause

Aucun commentaire:

Enregistrer un commentaire