Would you like to have XPath navigation or are navigational primitives as for instance
(: values of record field can be accessed using the deref operator '=>' :)
{ a : "hello" , b : "world" }=>b (: yields the string "world" :)
(: the deref operator can be used to navigate into deeply nested record structures :)
let $n := "yval" let $r := {e : {m:"mvalue", n:$n}} return $r=>e=>n
enough to begin with? I guess we should support JSONiq to use Brackit, the XQuery processor also for JSON data.
Kind regards
Johannes