我是 MarkLogic 的新手。
我有 XML 文档
<?xml version="1.0" encoding="UTF-8"?>
<books xmlns="http://www.marklogic.com/ns/gs-books">
<book bookid="2">
<title>A Quick Path to an Application</title>
<author>
<last>Smith</last>
<first>James</first>
</author>
<publisher>Scribblers Press</publisher>
<isbn>1494-3930392-4</isbn>
<abstract>
This book describes in detail the power of how
to use Java to build powerful web applications
that are built on the MarkLogic Server platform.
</abstract>
</book>
</books>
我该如何使用cts:element-values
它?
这是我的尝试: cts:element-values(xs:QName("test"),"test")
它给了我这个错误:
[1.0-ml] XDMP-ELEMRIDXNOTFOUND: cts:element-values(fn:QName("","t"), "t") -- t collation=http://marklogic.com/collation 没有元素范围索引/坐标系=wgs84 [marklogic]