From: Wolfgang M. <wol...@ex...> - 2012-01-31 17:50:16
|
Hi José, > I can take a look in that in my spare time, but I need some initial > clues about what to look and change as I don't know the packages subsystem. If you look at org.exist.xquery.modules.expathrepo.InstallFunction (in EXIST_HOME/extensions/modules/src), you should get the connection to most of the used classes. Within a query, the eXist repository is available through XQueryContext.getRepository(). Right now a FileSystemStorage is used and I guess we would need to replace that with our own implementation. FileSystemStorage is implemented within the expath-pkg code: http://expath-pkg.googlecode.com/svn/trunk I hope this helps. Wolfgang |