Re: [basex-talk] xquery:eval Issue with bindings

2017-10-21 Thread Kirsten, Dirk
Hello Shaun, seems like a simple mistake with your parathesis. It should be: declare variable $diagramSelection := xquery:eval(file:read-text("D:\\XQuery\\VPExchange Queires\\diagramSelectionCoR.xq"), $bindings); Instead, you applied $bindings to the file:read-text() function, which expects

[basex-talk] xquery:eval Issue with bindings

2017-10-21 Thread Shaun Flynn
Hello there, I am trying to use xquery:eval method supplying bindings as map, and following the example on the website where the bindings are supplied as a map. However, when I run the following query, I get the error "Items of type map(*) cannot be atomized". What am I doing wrong? (:Filter out