Tag: marklogic eval xquery higherorder context xpath sequenc

Fun with xdmp:value()

0 Comment

Lately I’ve been playing with some more advanced XQuery. One thing nearly every XQuery engine supports is some kind of eval() function. MarkLogic has several, but my favorite is xdmp:eval. It’s lightweight because it reuses the entire calling context, so for instance you can write let $v := 5 return xdmp:value(“$v”). Not too useful, but…

© All Right Reserved
Proudly powered by WordPress | Theme: Shree Clean by Canyon Themes.