Reputation: 2497
I want to transform an xml file in other xml. I want to use XSLT 2.0, process the file and the output should be saved in another file. I would like to trigger the transformation per command line tool. Which processor XSLT 2.0 can I install to achive that, if it is possible.
Upvotes: 0
Views: 393
Reputation: 163488
I don't like seeing unanswered questions, so to recap what's already in the comments: One option is to download Saxon (either an open-source or commercial version), ensure that Java is installed, and then run the transformation from the command line using
java -jar saxon9he.jar -s:input.xml -xsl:sheet.xsl -o:result.xml
Upvotes: 1