Hi Andy,
in the latest snapshot you can find three functions for managing EXPath packages: pkg:install(), pkg:delete() and pkg:list(). You can read the corresponding documentation here: http://docs.basex.org/wiki/Packaging_Module.
Regards, Rositsa
On Tue, 10 Jan 2012 14:11:14 +0100, Andy Bunce bunce.andy@gmail.com wrote:
Hi, I using the EXPath repository and it is going well. It would be useful to me to manage the repository from Xquery, at least to get the REPO LIST result.
I see Exist DB has http://demo.exist-db.org/repo/repo.xml#d5510e705 Are there any plans to add something similar to BaseX
One quick, if a bit hacky, way to enable this to be built would be a new util:command("command string") e.g. util:command("get timeout")
<result>TIMEOUT: 0</result>
/Andy