Hi,

In JavaScript, I have a module importing (trying to import) an XQuery
module:

    var d = require('lib/docs.xqy');

But that throws the error: "XDMP-MODNOTFOUND: var d =
require('lib/docs.xqy'); -- Module lib/lib/docs.xqy not found".

See the "lib/lib/docs.xqy"? (with double "lib/")

If I change it to "require('docs.xqy')", it complains (correctly) that
"Module docs.xqy not found".

Did I miss anything?

Regards,

-- 
Florent Georges
http://fgeorges.org/
http://h2oconsulting.be/
_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to