Re: [basex-talk] Single quotes with json::parse

2017-08-10 Thread Thomas Daly
. On 10.08.2017 14:41, Thomas Daly wrote: > Regarding the JSON module json::parse function, how do you cope with > single quotes within the JSON data? > > > > I have tried escaping them with a backslash, but to no avail. In this > example I think it's the single quote i

[basex-talk] Single quotes with json::parse

2017-08-10 Thread Thomas Daly
Regarding the JSON module json::parse function, how do you cope with single quotes within the JSON data? I have tried escaping them with a backslash, but to no avail. In this example I think it's the single quote in "St. John's College" that is causing the problem: XQUERY let $database :=

[basex-talk] Web application port

2017-08-06 Thread Thomas Daly
Regarding http://docs.basex.org/wiki/Options#HTTP_Services , I see there's an option STOPPORT to change the server stop port. I think it should be possible to configure the server listen port (default 8984) there as well. I realise it's possible to do this through command line options, but

Re: [basex-talk] GUI

2017-08-06 Thread Thomas Daly
Many thanks, this makes sense. Thomas -Original Message- From: Liam R. E. Quin [mailto:l...@w3.org] Sent: 05 August 2017 21:06 To: Thomas Daly; basex-talk@mailman.uni-konstanz.de Subject: Re: [basex-talk] GUI On Sat, 2017-08-05 at 16:52 +0100, Thomas Daly wrote

[basex-talk] BaseX stop scripts

2017-05-08 Thread Thomas Daly
Hello, a) I don't see the point of the 'basexserverstop' and 'basexhttpstop' scripts. If I run the server as a foreground process, the only way of stopping it (that I'm aware of) is to press CTRL-C, in which case there is no opportunity to run 'basexserverstop'. If I run the server as

[basex-talk] Making connections to a database

2016-10-15 Thread Thomas Daly
Hello, I'm developing an application server with node.js. When the server starts, it creates a single connection to a BaseX database, to allow subsequent user queries to the database. I notice that when I connect separately to the BaseX database with the BaseXClient command line tool, the

Re: [basex-talk] Documentation

2013-08-25 Thread Thomas Daly
replying, please edit your Subject line so it is more specific than Re: Contents of BaseX-Talk digest... Today's Topics: 1. Documentation (Thomas Daly) 2. Re: Documentation (Dimitar Popov) -- Message: 1 Date: Sat, 24 Aug

[basex-talk] Documentation

2013-08-24 Thread Thomas Daly
Hello, Thank you for this system, which looks promising. I would like to request better documentation to show how to do the most basic things. I am trying to create a new database and add a single new record to it. I don't want to start with a pre-written XML document. So using the command