Hello --
I suspect I am being a cabbage somehow, but I'm not figuring this out.
If I have a query in the GUI (9.6.1) which declares an external variable:
declare variable $targetMap external;
and set the value via the GUI $x button to:
map {'structure' : '/some/path/name'}
It doesn't work. Typing the variable as map(*) doesn't work.
declare variable $targets external;
declare variable $targetMap as map(*) := xquery:eval($targets);
does work, but makes me think I must be doing something wrong.
How does one go about binding a literal map to an external variable? (I am
going to want to do this in a script later; the GUI version is strictly for
testing.)
Thanks!
Graydon