XQuery、fn:id 和 BD eXist

发布于 2024-08-15 00:55:45 字数 87 浏览 2 评论 0 原文

当“fn:id”函数在带有 eXists 数据库的 FLOWER xquery 中使用时,它是否返回 IDREFS?

我找不到任何例子...:(

Does "fn:id" function return IDREFS when it is used in a FLOWER xquery with eXists database?

I can't get any example... :(

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

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

发布评论

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

评论(2

梦言归人 2024-08-22 00:55:45

关于 博客条目 #func-id" rel="nofollow">fn:id

拥抱影子 2024-08-22 00:55:45

fn:id 作为节点序列或空序列返回。来自 eXist 文档

id($idrefs as xs:string*) element()*

返回元素节点的序列
其 ID 值与
一个或多个 IDREF 的值
$idrefs 中提供的值。如果没有
匹配或 $idrefs 为空
序列,返回空序列。

fn:id returns as sequence of nodes or empty sequence. From the eXist documentation:

id($idrefs as xs:string*) element()*

Returns the sequence of element nodes
that have an ID value matching the
value of one or more of the IDREF
values supplied in $idrefs. If none is
matching or $idrefs is the empty
sequence, returns the empty sequence.

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