Hi,

Is there any way to invoke a JavaScript script from XQuery, the same way it
is
possible to invoke an XQuery module using xdmp:invoke()?

The only way I can think of is using xdmp:javascript-eval(), constructing an
expression using 'require(' || $href || ')'.  But it would be nice not to
have
to rely on string concatenation and eval.  You know, little bobby tables...

Regards,

-- 
Florent Georges
H2O Consulting
http://h2o.consulting/
_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to