
cts.referenceNamespaces( index as cts.reference ) as Object
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. |
cts.referenceNameSpaces(cts.pathReference("/a:section/b:title", ["type=point"],
{a:"a-namespace", b:"b-namespace"}));
=>
{"a":"a-namespace", "b":"b-namespace"}
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.