xdmp:unqote and cts:query($qNode/*) from the generated node
Posted: Wed Apr 26, 2017 1:11 pm
let $query:=<cts:path-range-query xmlns:cts="http://marklogic.com/cts" operator="≤"><cts:path-expression>processInstance/tasks/task/auditTask/createdOn </cts:path-expression> <cts:value xsi:type="xs:dateTime" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instan ... /cts:value> </cts:path-range-query>
This xml got generated when I serialized my xquery. I am having problem with the operator="≤". when I do xdmp:unquote, and then do a let $colQuery as cts:query :=cts:query($qNode/*)
it gives error about invalid operation. since the expected string is "<=" and not ascii version of it.
how does one deal with doing xdmp:unquote of a string that has less than or greater than chars and the use the resulting node to create a cts:query?
Please any help would be greatly appreciated.
This xml got generated when I serialized my xquery. I am having problem with the operator="≤". when I do xdmp:unquote, and then do a let $colQuery as cts:query :=cts:query($qNode/*)
it gives error about invalid operation. since the expected string is "<=" and not ascii version of it.
how does one deal with doing xdmp:unquote of a string that has less than or greater than chars and the use the resulting node to create a cts:query?
Please any help would be greatly appreciated.