I need to build a pathRangeQuery for a path with namespace. This is possible in MarkLogic 9 by using the cts.rangeQuery
and building a cts.reference
.
Ex ML9 :
var qname = fn.QName("http://mynamespace.com/example","name");
var elRef = cts.elementReference(qname, ["type=string", "collation=http://marklogic.com/collation/codepoint"]);
var q = cts.rangeQuery(elRef,'>=','myname');
Unfortunately, I can't find the equivalent in MarkLogic 8.
Do you have an idea how to do it ?