Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已经尝试过的:-
我无法在其中任何一个中使用 XQuery 3.1。有什么线索吗?
您需要详细说明您做了什么以及它是如何失败的,然后我们才能告诉您您做错了什么。在 Saxon 9.8 中,默认支持 XQuery 3.1:-qs:"map{1:2}(1)"从命令行尝试。XQJ 本身不支持新的 XQuery 3.1 数据类型,在 Saxon 中我建议优先使用 s9api API:但 XQJ 将使用 3.1 语法运行查询,前提是您不需要在查询的输入中使用新的数据类型或输出。
-qs:"map{1:2}(1)"
您已使用 xquery-update 标记了该问题,但您的问题没有给出原因的任何线索。