clang:language-config-delete() as empty-sequence()
This function removes all custom language configuration from the cluster configuration files. Calling this function restarts MarkLogic Server.
custom-language-admin-write
role or the following privileges:
http://marklogic.com/xdmp/privileges/custom-language-write
http://marklogic.com/xdmp/privileges/xdmp-write-cluster-config-file/languages.xml
xquery version "1.0-ml"; import module namespace clang = "http://marklogic.com/xdmp/custom-language" at "/MarkLogic/custom-language.xqy"; (: NOTE: This call causes a restart. :) clang:language-config-delete()