怎么用java代码将xml通过xsl转化为html,其中xml和xsl都是从数据库取出来的具体内容,而非是文件的路径。
把xml的串与xsl串 获取字节数组,然后用流的方式与入
String xslStr = "<xsl></xsl>"; Source xslSource = new StreamSource( new StringReader( xslStr )); //new StreamSource(xslFileName); //