cts.pathReference( path-expression as String, [options as String[]], [map as Object] ) as cts.reference
Creates a reference to a path value lexicon, for use as a parameter to cts:value-tuples. Since lexicons are implemented with range indexes, this function will throw an exception if the specified range index does not exist.
cts.pathReference("/section/title"); => cts.pathReference("/section/title", ["type=string","collation=http://marklogic.com/collation/"])
cts.pathReference("/a:section/b:title", ["type=string","collation=http://marklogic.com/collation/codepoint"], {a:"a-namespace", b:"b-namespace"}); => cts.pathReference("/a:section/b:title", ["type=string","collation=http://marklogic.com/collation/codepoint"], {a:"a-namespace", b:"b-namespace"})