我正在尝试使用 QueWeb Framework 提供的 com.queplix.core.utils.xml.TransletWrapper 类转换 xml 文件。我在下面的代码 @line transletWrapper.transform(source, new StreamResult(out) 中得到 StackOverFlowError , transletName, transletParams);
任何帮助将不胜感激..坦克!
char[] data = XMLHelper.writeObject(report);
// Do XSLT.
StreamSource source = new StreamSource(new CharArrayReader(data));
CharArrayWriter out = new CharArrayWriter(data.length);
try {
transletWrapper.transform(source, new StreamResult(out), transletName, transletParams);
} catch (GenericSystemException ex) {
throw new GenericSystemException("Cannot transform source: \n", ex);
}