MarkLogic Server 11.0 Product Documentation
clang:language-config-read

clang:language-config-read() as element(lang:user-languages)

Summary

This function reads the custom language configuration specification from the cluster configuration files.

Required Privileges

This operation requires the custom-language-admin-read role or the following privileges:

http://marklogic.com/xdmp/privileges/custom-language-read

http://marklogic.com/xdmp/privileges/xdmp-read-cluster-config-file/languages.xml

See Also

Example

xquery version "1.0-ml";
import module namespace clang = "http://marklogic.com/xdmp/custom-language" 
  at "/MarkLogic/custom-language.xqy";

clang:language-config-read()//lang:user-language[*:name="ca"]
    
Powered by MarkLogic Server | Terms of Use | Privacy Policy