Running BaseX commands from xquery esp REPO LIST
ABAndy Bunce10 Jan 2012 14:11 # 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>
RSRositsa Shadura19 Jan 2012 15:48 # 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
Quoted text · Andy Bunce · 18 lines
On Tue, 10 Jan 2012 14:11:14 +0100, Andy Bunce <bunce.andy at 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
⚡Generated with XQuery