使用xalan代替dom4j解析xslt和xml

下载:http://apache.freelamp.com/xml/xalan-c/binaries/ 

String[] command = {"XalanTransformerCallback", tmpOutFile.getAbsolutePath(), stylesheet, Constant.mdpTempFile.getAbsolutePath()+java.io.File.separatorChar+tmpName};
   Process p = Runtime.getRuntime().exec(command);
   p.waitFor();
   p.destroy();

原文地址:https://www.cnblogs.com/yesun/p/1322405.html