我有两个示例XML文件如下:Marklogic:从元素字获取字数词典
abc.xml
<data>
<text>i am a test user and doing testing here more and more. What are you doing?</text>
<data>
def.xml
<data>
<text>We are a doing nothing here you can say it time pass. what are you doing?</text>
<data>
现在我为<text>
元素创建了单词词典。我感兴趣的是以下几点:
- 让所有独特的文字和其在整个DB数(有 仅上述两个文件了)。
- 让所有独特字指定的文件
这整个链接正在讨论获取元素/元素属性值和它们的计数(使用cts:频率)或获得独特的单词等,但我正在寻找获得独特的单词,并在给定的uri或该单词的出现或在整个数据库中。 – user1660340