MarkLogic Server 11.0 Product Documentation
cts.referenceNamespaces

cts.referenceNamespaces(
   index as cts.reference
) as Object

Summary

Accessor for the namespaces of a reference to a [geospatial] path lexicon.

Parameters
index The value lexicon reference, as created from cts:[geospatial-]path-reference, for example.

Example

cts.referenceNameSpaces(cts.pathReference("/a:section/b:title", ["type=point"],
                        {a:"a-namespace", b:"b-namespace"}));
=>
{"a":"a-namespace", "b":"b-namespace"}
Powered by MarkLogic Server | Terms of Use | Privacy Policy