The prefix for those methods are bound to different namespaces. The namespace indicates the category, purpose, and “owner”.
fn
are the standard XQuery, XPath, and XSLT functions (in this namespace: http://www.w3.org/2005/xpath-functions). You can expect them to be available in any standard XQuery, XPath, and XSLT engine.cts
functions are the MarkLogic Core Text Search built-in functions (in this namespace: http://marklogic.com/cts). They are a set of MarkLogic specific functions that are used for search and query operations.xdmp
functions are the MarkLogic XML Database Management Platform built-in functions (in this namespace: http://marklogic.com/xdmp). They are a set of MarkLogic custom functions that provide extra utility functions and MarkLogic database specific actions.
The full set of functions available in MarkLogic, broken out by category and namespace
- XQuery: https://docs.marklogic.com/all
- JavaScript: https://docs.marklogic.com/js/all
CLICK HERE to find out more related problems solutions.