I would like to set a default collation for a database, a collation that
will be used for all queries unless the user asks for a different
collation. My use case: a database in Greek will never be sensibly sorted
using an English collation, and I don't want users to need to specify
I am now happily using BaseX from Jupyter Notebooks for Greek data - see
But I need to know how to handle exceptions,
Thanks! The try/except part is the part I understand. The part I don't
understand is how to find the exception thrown by BaseX, I want to show
syntax errors in a user friendly way like what you see in the GUI so people
don't always have to go back to the GUI to figure out what's wrong with
I have written a Python package for querying Greek syntax from Jupyter
Notebook. It relies on BaseX and one or more open data resources found in
GitHub repositories. I want to make it available to the public in a way
that is easy to install.
One possibility is to write a Python script that uses
I would like to add a JSON file to a collection that is otherwise composed
of XML files. I'm hitting two issues:
1. Is there any way to import both JSON and XML files at the same time when
creating a database?
2. I would like to import the JSON as an XQuery/XPath map, without mapping
it to XML.
If I have a set of related documents (a text, a lexicon, frequency counts,
a discourse analysis, etc), how should I decide when to put more than one
document in a single database at different paths, as opposed to putting one
document in each database?
When I create a database from the GUI, it
> basex-talk-boun...@mailman.uni-konstanz.de] *De la part de* Jonathan Robie
> *Envoyé :* mardi 6 février 2018 23:31
> *À :* BaseX
> *Objet :* [basex-talk] One document per database or multiple?
> If I have a set of related documents (a te
quot;7 + 3 = 10'.
Posting here in case someone else finds it helpful.
On Tue, Dec 19, 2017 at 11:41 AM, Jonathan Robie <jonathan.ro...@gmail.com>
> Thanks! The try/except part is the part I understand. The part I don't
> understand is how to find the except
As an author of both JSONiq and XQuery 3.1, I generally think of XQuery 3.1
as the standard that implemented what JSONiq did. Some authors of JSONiq
see this very differently, preferring the JSONiq way of doing things.
Is there anything JSONiq can do that XQuery 3.1 can't?
On Wed, Jan
To make it tail-recursive, make the recursive call the last operation in
The else() clause is what keeps it from being tail recursive. Something
like this should work:
*declare variable* *$bookstore* :=
I have recommended BaseX to some people who are writing an application.
The developers, who are more comfortable with SQL, have asked for a list of
websites that use BaseX. I imagine they would be happy with other happy
customers too, they want to have basic confidence in the tool.
Mail list logo