【发布时间】:2014-04-23 23:46:37
【问题描述】:
我正在尝试从我的 javacode 中进行 XSLT 转换。我想动态地制作样式表路径。但我不能让它与参数 $path 一起工作。我该如何解决它? 提前致谢!
java.code
transformation.setParameter("path", "C:\Users\src");
transformation.xsl
<xsl:param path="path"/>
<xsl:include href="$path/config.xsl"/>
【问题讨论】:
-
“C”后缺少冒号?