Re: [basex-talk] How to get list as result instead of a String

2013-04-12 Thread Dirk Kirsten
Hello Elango, You have to use item-seperator, see http://docs.basex.org/wiki/Serialization. So for .basex include a line like this: SERIALIZER = item-seperator=\n Cheers, Dirk On Fri, Apr 12, 2013 at 6:59 AM, elangovan MuthuSwamy elangova...@gmail.com wrote: Thanks Alex, I have set

Re: [basex-talk] Unable to use Query class

2013-04-12 Thread Christian Grün
Dear Anantha, thanks for your mail. I guess we need more precise information to help you. A Google search for your error string seems to indicate you are using the PHP client? Christian ___ Fatal error: Call to undefined method Query::more() Where do I get the inner

Re: [basex-talk] Pathname of the current XQuery?

2013-04-12 Thread Christian Grün
Hi Graydon, you may as well want to use the static-base-uri() function (“static” refers to the given query file and not the database context). Christian ___ On Thu, Apr 4, 2013 at 12:07 PM, Michael Seiferle m...@basex.org wrote: Thanks Liam, you are right, the shortest

Re: [basex-talk] Multiple queries in client API

2013-04-12 Thread Christian Grün
Hi Michael, I didn’t check how the client API works in details, but is it made in such a way that only one query at a time can be sent? Should I use a new Session instance for every single query sent to the server? exactly, that’s the way our sessions work: If you want to run queries in

Re: [basex-talk] Java Exception:insertion at beginning of populated table

2013-04-12 Thread Christian Grün
Hi Nicholas, to be honest, we didn’t encounter this problem before.. Did you manage to reproduce this problem? If yes, could you provide us with the test data (which will of course be handled confidentially) or create a smaller example that ends up with the same error? Best, Christian

Re: [basex-talk] whitespace around comments

2013-04-12 Thread Cerstin Elisabeth Mahlow
Hi Christian, Am 12.04.2013 um 10:49 schrieb Christian Grün christian.gr...@gmail.com : our CHOP flag is subject to frequent discussions, which is why we will eventually change the default to FALSE. I really second that! For now, we are still a little bit resistant, as such a change will

Re: [basex-talk] File module path encodings

2013-04-12 Thread Christian Grün
Hi Andy, I agree with you. The latest snapshot now does what it is supposed to do. Thanks, Christian ___ On Wed, Apr 3, 2013 at 4:20 PM, Andy Bunce bunce.a...@gmail.com wrote: Hi, The following two expressions create a file called d d.txt (Windows, BaseX 7.6)

Re: [basex-talk] whitespace around comments

2013-04-12 Thread Christian Grün
The problem is, that you will be aware of this only AFTER you created a DB and worked with it. Unfortunately, users are not informed when creating a DB that they should think about whitespace. And there is no reason a user should assume that creating a DB would semantically change their

Re: [basex-talk] Pathname of the current XQuery?

2013-04-12 Thread Graydon Saunders
I certainly do want to use static-base-uri(); thank you! Next time, I need to read the function definitions more slowly. :) -- Graydon On Fri, Apr 12, 2013 at 4:26 AM, Christian Grün christian.gr...@gmail.comwrote: Hi Graydon, you may as well want to use the static-base-uri() function

[basex-talk] Proposition for the GUI features

2013-04-12 Thread Alexander Shpack
Hi everyone! I have a nice idea, how to stop to crack the database, when user use GUI and server simultaneously. When GUI will found launched server, every updating functions should be executed through port, not directly. User may setup different connections (require list of connections), select

Re: [basex-talk] whitespace around comments

2013-04-12 Thread Liam R E Quin
On Fri, 2013-04-05 at 11:15 +0200, Michael Piotrowski wrote: On 2013-04-05, Michael Seiferle m...@basex.org wrote: chopping certainly *does* change the semantics--that's precisely why I've argued before that it shouldn't be on by default. Agreed, but Christian has already said it will be off

[basex-talk] Tokenize..

2013-04-12 Thread John Best
Hi there, The structure of my XML DB (Docs) is - Docs Doc Info/Info Desc/Desc /Doc /Docs I want to create tokens, so I will be using ft:tokens('Docs'). This will create tokens for all the available nodes. I want to create tokens for the Info Node only... How to ,,? --