简体   繁体   English

如何在XMLSpy中使用EXSLT模块?

[英]How does one use EXSLT modules in XMLSpy?

I'm trying to use the EXSLT modules (specifically, math), in an XQuery document. 我正在尝试在XQuery文档中使用EXSLT模块(特别是数学)。 How do I enable support for this in XMLSpy? 如何在XMLSpy中启用对此的支持? Where would I place the downloaded EXSLT libraries to make XMLSpy aware of them? 我应该将下载的EXSLT库放在哪里,以使XMLSpy了解它们?

I'm not sure that the XMLSpy processor supports the EXSLT extensions. 我不确定XMLSpy处理器是否支持EXSLT扩展。 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. 有一个间谍工具可以选择您自己的处理器,我建议您使用Saxon,然后阅读有关如何使用EXSLT的Saxon文档

That, however, won't fix that you are trying to use XSLT defined extentions in xquery. 但是,这不能解决您试图在xquery中使用XSLT定义的扩展的问题。 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. 也许您可以以某种方式让xquery处理器引用它们,但是您几乎可以肯定要使用Xslt而不是xquery。

The only reason I would advise anybody to use xquery is if you are working against a native xml database. 我建议任何人使用xquery的唯一原因是,如果您正在处理本机xml数据库。

Is there any other reason you're using xquery over xslt? 您在xslt上使用xquery还有其他原因吗?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM