On Fri, 2018-02-02 at 16:06 +0100, France Baril wrote:
> I'm trying to do something similar to this because I'll have to deal
> with xpaths provided by end users as parameters to a rest query:

I hope you have taken security issues into account, e.g. the ability to
access (and even write to) potentially any local file.

Having said that, eval() might do what you need,
http://docs.basex.org/wiki/XQuery_Module

Liam

-- 
Liam Quin, W3C, http://www.w3.org/People/Quin/
Staff contact for Verifiable Claims WG, SVG WG, XQuery WG

Web slave for http://www.fromoldbooks.org/

Reply via email to