Xalan 和 Java JDK 1.5 的问题

发布于 2024-09-01 11:54:40 字数 471 浏览 3 评论 0原文

来自我相信和在网上读到的内容。 Sun 决定将 Xalan 包含在 JDK 1.5 中。我正在尝试利用这一点并尝试执行 XSLT 来吐出多个文件。我遇到的问题:

'无法识别的 XSLTC 扩展 'org.apache.xalan.xslt.extensions.Redirect:write''"

从我在 google 上读到的内容来看,我需要更改:

xmlns:redirect="org.apache.xalan.xslt.extensions.Redirect"

xmlns:redirect="http://xml.apache.org/xalan/redirect" 

XSL 转换中

当我将此更改应用于我的 .XSL 文件时,我似乎遇到了相同的错误,需要尽快使其正常工作,并且似乎无法在网上找到答案。

From what I believe and have read online. Sun has decided to include Xalan in JDK 1.5. I am trying to take advantage of this and try to perform an XSLT to spit out multiple files. The problem I encounter:

'Unrecognized XSLTC extension 'org.apache.xalan.xslt.extensions.Redirect:write''"

From what I have read on google that i needed to change:

xmlns:redirect="org.apache.xalan.xslt.extensions.Redirect"

to

xmlns:redirect="http://xml.apache.org/xalan/redirect" 

in XSL transforms

When I apply this change to my .XSL File, I appear to be getting the same error. Need to get this working ASAP and can't seem to find an answer online. Any help will be greatly appreciated.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

世界等同你 2024-09-08 11:54:40

只是忽略了JDK默认的Xalan。我刚刚添加了来自 Xalan 的文件。更好的是,这样我就可以使用它,而不是依赖于单个 JDK。

Just ignored the JDK's default Xalan. I just added the files from Xalan. Better, that way I can just use that rather than depending on a single JDK.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文