Re: [basex-talk] Old dog trying to learn some new tricks.

2017-08-28 Thread Liam R. E. Quin
On Mon, 2017-08-28 at 16:02 -0500, Dave Day wrote: > [...] > What I was hoping to do was to connect to a running BaseX, and > send  > the schema definitions that would be used to validate the XML.  In  > reading doc, I see it is possible to create namespaces and use them, > but  > the format

Re: [basex-talk] Old dog trying to learn some new tricks.

2017-08-28 Thread Kendall Shaw
Can you elaborate on what you were imagining doing with namespaces? An XML namespace is referred to by it’s URI. If you created one, I don’t know what it would mean to tell the code later on which to use. Do you mean a namespace prefix? Kendall On 8/28/17, 2:02 PM,

[basex-talk] Old dog trying to learn some new tricks.

2017-08-28 Thread Dave Day
Greetings BaseX list,     I've got some very basic questions I was hoping I could get the answers to on this list.  Questions really break down into two categories.  My background is strictly on IBM mainframes, so please bear with me.     1)Some XML schema questions, and     2)Questions

[basex-talk] Test message. Just to see if it works.

2017-08-28 Thread Dave Day

Re: [basex-talk] Startup hooks or persisting jobs

2017-08-28 Thread Kendall Shaw
Thanks. I would think that being able to schedule jobs would fit nicely with having scheduled jobs persist after restart. Kendall From: "Kirsten, Dirk" Date: Monday, August 28, 2017 at 12:21 PM To: Kendall Shaw , BaseX

Re: [basex-talk] Startup hooks or persisting jobs

2017-08-28 Thread Kirsten, Dirk
Hi Kendall, there is currently no way to do this using BaseX itself. But I also don’t think that should be the job of BaseX. Instead you can write a servlet and deploy it using Tomcat which runs some Java application, e.g. which could trigger some BaseXX command. See

Re: [basex-talk] using apply-function within an updating function

2017-08-28 Thread Michael Seiferle
Hi Rob, may I ask what you intented to do? Looks like you expect $dataRec to contain exactly one value, right? At least I think so because you called `db:create#1` in `fn:apply` which implies you expect the array to contain a single value. To create a single database use: > ``` >

[basex-talk] using apply-function within an updating function

2017-08-28 Thread r . stapper
Hi, I want to use the apply function within an updating webfunction, see[1] How can this be done? TIA, Rob Stapper [1] declare %rest:path("/cFactBank/dbCreate") %rest:PUT("{$dataRec}") %input:json("format=map") %updating function _:cFactBank.dbCreate ( $dataRec as array(*)