Re: [basex-talk] basex-node binding objects

2017-11-15 Thread Andy Bunce
Hi E. Wray, 1. basex-node results are always strings but you can use JSON.parse on that string, if that is appropriate because for example of the serialization used. See [1],[2] for examples 2. Do you mean you would like query.bind [3] to automatically convert "undefined" to ()? If so, or indeed

[basex-talk] basex-node binding objects

2017-11-15 Thread E. Wray Johnson
Andy, 1. I am pelase that JSON result objects are mapped to JavaScript objects. Are undefined values handled (e.g. XQuery () vs JavaScript undefined)? 2. I am using basex-node and having trouble binding objects in a query. I would like to have the object result in an XQUERY map.