Hi Christian,
Thanks for the explanation.
I am glad to learn that - at least for this moment - I don't have to change my code :-)
Ben
Hi Ben,
If you...
and bind $p to root Bind(query_obj, "$p", "root")
…you’ll need to add another external variable declaration in your query:
"declare variable $p external;" ...
Please note, in addition, that your query won’t be executable as you are trying to assign a dynamic path expression (e.g., 'root') to your query. If you need to build dynamic query strings, you’ll have to modify your original query string and send the result to the server.
Hope this helps, Christian