MarkLogic 12 EA 1 Product Documentation
cts:entity-dictionary-get

cts:entity-dictionary-get(
   $uri as xs:string
) as cts:entity-dictionary

Summary

Retrieve an entity dictionary previously cached in the database.

Parameters
uri The URI of an entity dictionary previously been saved in the database.

Usage Notes

If no dictionary exists with the specified URI, this function throws XDMP-NOSUCHDICT.

See Also

Example

(: Assume you previously inserted an entity dictionary with the
 : URI "/ontology/people", using entity:dictionary-load or
 : entity:dictionary-insert.
 :)
xquery version "1.0-ml";
cts:entity-dictionary-get("/ontology/people")

(: Returns an opaque cts:entity-dictionary object suitable for use with
 : functions that accept a cts:entity-dictionary as input. :)
Powered by MarkLogic Server | Terms of Use | Privacy Policy