下载saxon :

https://sourceforge.net/projects/saxon/?source=typ_redirect

下载后拿到:

saxon9he.jar

运行CMD:

C:\xslt learning>java -jar saxon9he.jar 1.xml 1.xsl

可以得到装换的HTML

 

05-11 15:25