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
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,
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
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
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
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:
> ```
>
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(*)
8 matches
Mail list logo