Hi Ben,

> Session$Execute(fn_get_words_txt) returns:

If you want to evaluate XQuery, you will either need to prefix your
query string with the XQUERY command, or, as you’ve already done…

> fn_get_words_Query <- Session$Query(fn_get_words_txt)

…create a query object, and attach the actual function call to your
query string.

If you want to make XQuery code persistent for future invocations, you
can include your function in an XQuery library module and install this
module in the repository [1].

Best,
Christian

[1] http://docs.basex.org/wiki/Repository

Reply via email to