I went a bit further, trying:
import module namespace kwic=
"http://exist-db.org/xquery/kwic" at
"xmldb:exist:kwic.xqy";
and it appears there was an attempt to look for the file in the db, but
it wasn't found (not sure what path was tried, the error just said "not
found in database").
if you send me a pointer I wouldn't mind having a go at the source,
although I'd be thrilled if you would take care of it :)
-Mike
Dannes Wessels wrote:
On 25 Jun 2009, at 20:27 , Mike Sokolov wrote:
But whether
that's true or not, is there any way to specify the include
without using an absolute path in the database (I want to be able to
have my code relocated to a new collection)?
There is already a bug report for this, I tried to solve it but
was not successful that time. Relative resolving of imports of xq
modules...... would make apps better "portable" ....
Maybe I should try again....
------------------------------------------------------------------------------
_______________________________________________
Exist-open mailing list
Exist-open@...
https://lists.sourceforge.net/lists/listinfo/exist-open