Re: [basex-talk] XQuery update: updating inside a closure how to modify a node and insert it in a DB

2013-01-10 Thread Andy Bunce
I was thinking of http://www.w3.org/TR/xquery-update-30/#id-dynamic-function-invocation and http://www.w3.org/TR/xquery-update-30/#id-inline-function Allowing something like: declare updating function local:check($fn){ if(1=random:integer(2)) then db:output($fn()) else db:output(no action) };

Re: [basex-talk] Query slow via PHP

2013-01-10 Thread Mayer, Jonathan
Hi all, Sorry to dig up this old topic but despite the speed gain from not running PHP extensions, I'm continuing to have problems with the speed of opening my XML files. I have a document which has around 30,000 rows (and slowly growing) Running: XQUERY db:open('project', 'Links.xml') From

Re: [basex-talk] XQuery update: updating inside a closure how to modify a node and insert it in a DB

2013-01-10 Thread Christian Grün
…thanks, I’ll have a look into that soon. ___ On Thu, Jan 10, 2013 at 12:56 PM, Andy Bunce bunce.a...@gmail.com wrote: I was thinking of http://www.w3.org/TR/xquery-update-30/#id-dynamic-function-invocation and http://www.w3.org/TR/xquery-update-30/#id-inline-function

Re: [basex-talk] Concurrent Query Execution

2013-01-10 Thread happy somani
Hey Christian, I tried out the latest build of BaseX and tried both the values for the DBLOCKING configuration parameter, but I did not see any change in the behavior of the program that I had attached earlier. Can you point me to a sample example that demonstrates the usage of the DBLOCKING

Re: [basex-talk] Concurrent Query Execution

2013-01-10 Thread Jens Erat
Hi Happy, Database locking is in active development, but expect some pre-release information on how to use it and current limits this weekend. We're still cleaning up some stuff and have to do some documentation. Regards, Jens -- Jens Erat [phone]: tel:+49-151-56961126 [mail]:

Re: [basex-talk] Query slow via PHP

2013-01-10 Thread Liam R E Quin
On Thu, 2013-01-10 at 16:13 +, Mayer, Jonathan wrote: Running: XQUERY db:open('project', 'Links.xml') From the command line displays the file in 4.5 seconds Is this on a 1MHz 286? :D How many megabytes is the file? The usual trick is to put the document in the database so you don't

[basex-talk] data visualisation from BaseX

2013-01-10 Thread pw
Hello List http://www.semantechs.co.uk/ has so much data in a BaseX database (of course). How best to visualise? Any ideas of which libraries would be the best fit to develop a restxq front end to this dataset? [the server isn't very performant, so apologies if its slow/stopped. I'd appreciate