Re: [basex-talk] Database specific xquery modules

2020-02-26 Thread Christian Grün
Hi Chris, Just to be sure: Have you read my response to Luke, and have you thought about using RESTXQ and providing a single entry point (for the beginning) for queries that calls xquery:eval? > From the suggestions, it sounds like storing the queries as data within the > database is the most li

Re: [basex-talk] Deactivate JSON escape

2020-02-26 Thread Martin Honnen
Am 27.02.2020 um 08:29 schrieb Johannes Bauer: Am 27.02.2020 um 08:25 schrieb Johannes Bauer: Am 27.02.2020 um 08:15 schrieb Martin Honnen: Am 27.02.2020 um 07:49 schrieb Johannes Bauer: I'm trying to deactivate the escaping of characters for JSON serialization. It does not work with this: l

Re: [basex-talk] Deactivate JSON escape

2020-02-26 Thread Johannes Bauer
Am 27.02.2020 um 08:25 schrieb Johannes Bauer: Am 27.02.2020 um 08:15 schrieb Martin Honnen: Am 27.02.2020 um 07:49 schrieb Johannes Bauer: I'm trying to deactivate the escaping of characters for JSON serialization. It does not work with this: let $json := http://www.w3.org/2005/xpath-functio

Re: [basex-talk] Deactivate JSON escape

2020-02-26 Thread Martin Honnen
Am 27.02.2020 um 07:49 schrieb Johannes Bauer: I'm trying to deactivate the escaping of characters for JSON serialization. It does not work with this: let $json := http://www.w3.org/2005/xpath-functions";>     http://some.url/path/to/somewhere return json:serialize($json, map {'format' : 'basic

[basex-talk] Deactivate JSON escape

2020-02-26 Thread Johannes Bauer
Hi, I'm trying to deactivate the escaping of characters for JSON serialization. It does not work with this: let $json := http://www.w3.org/2005/xpath-functions";> http://some.url/path/to/somewhere return json:serialize($json, map {'format' : 'basic', 'escape': 'no'}) Output: { "url":"htt

Re: [basex-talk] Database specific xquery modules

2020-02-26 Thread DYER Chris
I will try to describe our situation a little bit more clearly. This is focused on our development environment, but similar situations occur in a production environment. We have multiple developers, each working on multiple projects. Each project will require a database. Each database will need t

Re: [basex-talk] Dynamic evaluation?

2020-02-26 Thread Christian Grün
…and to complement this: With the upcoming version 9.3.2 of BaseX, local-name() function calls in predicates will be optimized by the query compiler. Your query… *( declare function local:cloudWords( $Veld as xs:string ) as xs:string* { let $base := collection('IncidentRemarks/Incident

Re: [basex-talk] Dynamic evaluation?

2020-02-26 Thread Martin Honnen
Am 26.02.2020 um 12:42 schrieb Ben Engbers: Hi, I want to declare a function that can operate on various elements of a record. It should be possible to pass the element-name as parameter to the function. I tried this: declare function local:cloudWords( $Veld as xs:string ) as xs:string* {

[basex-talk] Dynamic evaluation?

2020-02-26 Thread Ben Engbers
Hi, I want to declare a function that can operate on various elements of a record. It should be possible to pass the element-name as parameter to the function. I tried this: declare function local:cloudWords( $Veld as xs:string ) as xs:string* { let $base := collection('IncidentRemarks/Incid

Re: [basex-talk] BaseX GUI language settings

2020-02-26 Thread Andy Bunce
Hi Ben, GUI Menu... Options>Preferences>Language As it says, a GUI restart is required. Cheers /Andy On Wed, 26 Feb 2020 at 08:46, Ben Engbers wrote: > Hi, > > My default language for basexgui is Dutch but I want to create > screenshots from a GUI that uses English. > > How can I switch the l

[basex-talk] BaseX GUI language settings

2020-02-26 Thread Ben Engbers
Hi, My default language for basexgui is Dutch but I want to create screenshots from a GUI that uses English. How can I switch the language temporarily? Cheers, Ben