Alp*_*Alp 14 java xslt shell jar saxon
我想通过使用命令行执行来执行XSLT 2.0转换.我听说我可以通过shell命令使用Saxon库java -jar sax.jar -input foo.xml -xsl foo.xsl -output bar.xml.有谁知道我到底能达到那个目标?
java -jar sax.jar -input foo.xml -xsl foo.xsl -output bar.xml
顺便说一句,我不仅限于Java.任何其他shell解决方案都可以.
Mar*_*nen 11
Saxon的文档在线:http://www.saxonica.com/documentation/# ! using-xsl/ commandline.所以你需要java -jar saxon9he.jar -xsl:foo.xsl -s:foo.xml -o:bar.xml.
java -jar saxon9he.jar -xsl:foo.xsl -s:foo.xml -o:bar.xml
归档时间:
13 年,11 月 前
查看次数:
9296 次
最近记录:
7 年,6 月 前