Re: [basex-talk] Shouldn't CHOP = false make xml:space="preserve" the default behavior?

2017-08-07 Thread Christian Grün
Dear Ottid, Thanks for providing us with the helpful example, which helped me to understand the problem. >> replace /a foo bar > "a.xml" (Line 1): Open quote is expected for attribute "xml:space" > associated with an element type "root". Just a side note: Command-line parsing is restrictive wh

Re: [basex-talk] Web application port

2017-08-07 Thread Christian Grün
Hi Thomas, I have slightly revised the documentation to indicate which options need to be assigned in the standard XML files and which are complementary [1]. Hope this helps, Christian [1] http://docs.basex.org/wiki/Options#HTTP_Services On Sun, Aug 6, 2017 at 8:41 PM, Thomas Daly wrote: > R

Re: [basex-talk] jobs:result deadlock

2017-08-07 Thread Christian Grün
Hi Kendall, > Can someone elaborate on this sentence in the documentation about > jobs:result: I hope that the updated documentation contains the missing pieces of the jigsaw [1,2]: Please note that queries of this kind can cause deadlocks. For example, if both the original query and the que

[basex-talk] How could I reuse sub queries?

2017-08-07 Thread donaldjohn
Hi, everyone: Here is my query that finds the distinct value and counts them, you can see that I used the same sub query twice, first for finding the distinct values, second for count the distinct values, is there a way that I can cache the sub query result and reuse it somewhere else? I thi

[basex-talk] How could I reuse sub queries?

2017-08-07 Thread donaldjohn
Hi, everyone: Here is my query that finds the distinct value and counts them, you can see that I used the same sub query twice, first for finding the distinct values, second for count the distinct values, is there a way that I can cache the sub query result and reuse it somewhere else? I thi

Re: [basex-talk] How could I reuse sub queries?

2017-08-07 Thread Liam R. E. Quin
On Tue, 2017-08-08 at 09:24 +0800, donaldjohn wrote: >   is there a way that I can cache the sub query result and > reuse it somewhere else? I think it will run faster in that way. You may find it runs at the same speed - BaseX may have noticed hte common query. But you can try using, let $statu

[basex-talk] ?????? How could I reuse sub queries?

2017-08-07 Thread donaldjohn
It looks much cleaner! thanks a lot! -- -- ??: "Liam R. E. Quin"; : 2017??8??8??(??) 9:58 ??: "donaldjohn"; "basex-talk"; : Re: [basex-talk] How could I reuse sub queries? On Tue, 2017-08-08 at 09:24 +0800, donaldjohn wro