Home
Download
Wiki
Demo
Open Source Native XML Database
About Us
Who we are
Acknowledgements
Documentation
Quick Start
Function Library
Extension Modules
Main Documentation
Feature Sheet
XQuery Wikibook
Examples
XQuery Sandbox
XML Acronyms
Bibliographic
All Examples
Community
Mailing List/IRC
Development
Javadocs
ChangeLog
Bug Tracker
Subversion
Submit Patches
Administration
Admin
Server Status
Webstart Client
A RESTful browser for eXist Java-Based Function Modules
Modules
>
util
>
index-key-occurrences
util
http://exist-db.org/xquery/util
A module for various utility extension functions.
index-key-occurrences
util:index-key-occurrences($nodes as node()*, $value as xdt:anyAtomicType) xs:integer?
Return the number of occurrences for an indexed value.
$nodes
The nodes whose content is indexed
$value
The indexed value to search for
Returns the number of occurrences for the indexed value
index-key-occurrences
util:index-key-occurrences($nodes as node()*, $value as xdt:anyAtomicType, $index as xs:string) xs:integer?
Return the number of occurrences for an indexed value.
$nodes
The nodes whose content is indexed
$value
The indexed value to search for
$index
The index in which the search is made
Returns the number of occurrences for the indexed value
Return to list of all modules