如何在 XMLSpy 中使用 EXSLT 模块?

发布于 2024-07-28 23:00:33 字数 101 浏览 2 评论 0原文

我正在尝试在 XQuery 文档中使用 EXSLT 模块(特别是数学)。 如何在 XMLSpy 中启用对此的支持? 我应该将下载的 EXSLT 库放在哪里以使 XMLSpy 识别它们?

I'm trying to use the EXSLT modules (specifically, math), in an XQuery document. How do I enable support for this in XMLSpy? Where would I place the downloaded EXSLT libraries to make XMLSpy aware of them?

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

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

发布评论

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

评论(1

盗心人 2024-08-04 23:00:33

我不确定 XMLSpy 处理器是否支持 EXSLT 扩展。 间谍中有一个工具可以选择您自己的处理器,我建议您使用 Saxon,然后阅读 Saxon 文档介绍如何使用 EXSLT。

但是,这并不能解决您尝试在 xquery 中使用 XSLT 定义的扩展的问题。 您可能可以以某种方式让 xquery 处理器引用它们,但您几乎肯定想使用 Xslt 而不是 xquery。

我建议任何人使用 xquery 的唯一原因是如果您正在使用本机 xml 数据库。

您使用 xquery 而不是 xslt 还有其他原因吗?

I'm not sure that the XMLSpy processor supports the EXSLT extensions. There's a facility in spy to choose your own processor, and I would recommend you use Saxon, then read the Saxon docs on how to use EXSLT.

That, however, won't fix that you are trying to use XSLT defined extentions in xquery. It may be you could somehow get the xquery processor to refer to them, but you almost certainly want to use Xslt instead of xquery.

The only reason I would advise anybody to use xquery is if you are working against a native xml database.

Is there any other reason you're using xquery over xslt?

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