Hi Peter,
in additon to Marco’s remark, you could also provide your own functionality via
[RESTXQ].
cheers
Arve
[RESTXQ] http://docs.basex.org/wiki/RESTXQ#HTTP_Methods
On 13 Nov 2014, at 10:06, Marco Lettere marco.lett...@dedalus.eu wrote:
Hi Peter,
you could check out the documentation
Hi,
How about adding a %updating to the function’s annotation:
declare %updating function cmd:adToDb(...) {...}
Hope this helps,
Arve
On 25 Jun 2014, at 20:30, Daum, Simon simon.d...@tum.de wrote:
Hi there,
I have a question about the db:add() function if it is included in a xquery
If you are using the zip distribution you can e.g. manually edit the start
scripts located in etc folder.
These files are as [BaseX Startscript]. Adjusting the $CP variable should do it.
Hope this helps,
Arve
[BaseX Startscript]
https://github.com/BaseXdb/basex/blob/master/basex-core/etc/basex
Hi,
Indeed it is easy. Just added a pull request to homebrew:
https://github.com/Homebrew/homebrew/pull/28686
The new version should be available soon via brew.
cheers
Arve
On 24 Apr 2014, at 17:35, Dirk Kirsten d...@basex.org wrote:
Hello Johan,
sure, I think so. Jens normally does this,
Hi Marco,
you could generate this list using the functions
fn:in-scope-prefixes#1 and fn:namespace-uri-for-prefix#2
As far as I know there is no such function. But maybe I am wrong – as there is
plenty of undiscovered features in BaseX :)
hope this helps
Arve
On 21 Mar 2014, at 09:58, Marco
Hi Constantine,
the query
/article[@id = '123']/base-uri()
should return for each matching article the name of document in the database or
name of file on disk.
cheers
Arve
On 28 Feb 2014, at 11:35, Hondros, Constantine (ELS-AMS)
c.hond...@elsevier.com wrote:
Hello all,
So, I am using
Hi Neven,
have a look at the [XQuery Module] especially at xquery:eval() or
xquery:evaluate() to evaluate a given string. For security reasons you should
perhaps bind your database as context, e.g. xquery:eval($query, map{ '' :=
db:open('crobib') })
If you’d just want to allow XPathes, you
Hi easy,
try this:
let $path:=substring('5102108843434',1,3)||'/'||'test'
let $test := 'ehr/v1/1382968159350/12001.xml'
for $x in doc($test)//header[id=12001]
return (
db:output('ok,path='||$path),
insert node ( 'text', etest/e ) into $x
)
This puts the insert statement into
I had a typo in my example. The return did not call the map2 version. With
it, the results were (now on 7.7 and Windows 7)
And I posted the wrong version. Usage of ! within map:new() is not as
fast as a flowr expression (in general).
BUT neither of the “fastest two” functions yields valid
Hej Arto,
just being interested:
How does it compare to a FLOWR expression?
declare function local:difference-flowr($a, $b) {
for $x in $a
where not($x = $b)
group by $x
return $x[1]
};
cheers
Arve
Am 25.09.13 07:22 schrieb Arto Viitanen:
Question was about set operations in BaseX. I
[Simple map operator] http://www.w3.org/TR/xquery-30/#id-map-operator
Am 25.09.13 10:41 schrieb Arto Viitanen:
-Original Message-
From: Arve Gengelbach [mailto:a...@basex.org]
Sent: 25. syyskuuta 2013 9:08
To: Arto Viitanen
Cc: basex-talk@mailman.uni-konstanz.de
Subject: Re: [basex
list
BaseX-Talk@mailman.uni-konstanz.de
https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
--
Arve Gengelbach, BaseX GmbH, http://basex.org
|-- Firmensitz: Blarerstrasse 56, 78462 Konstanz
|-- Registergericht Freiburg, HRB: 708285, Geschäftsführer:
| Dr. Christian Grün, Dr. Alexander
-konstanz.de/mailman/listinfo/basex-talk
--
Arve Gengelbach, BaseX GmbH, http://basex.org
|-- Firmensitz: Blarerstrasse 56, 78462 Konstanz
|-- Registergericht Freiburg, HRB: 708285, Geschäftsführer:
| Dr. Christian Grün, Dr. Alexander Holupirek, Michael Seiferle
`-- Phone: 0049 7531 28 28 676, Fax
or her directly.
___
BaseX-Talk mailing list
BaseX-Talk@mailman.uni-konstanz.de
https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
--
Arve Gengelbach, BaseX GmbH, http://basex.org
|-- Firmensitz: Blarerstrasse 56, 78462 Konstanz
-and-other-zipped-xml-documents-in-marklogic/
What's the easiest way to do this sort of thing in basex?
thanks .. Jason
___
BaseX-Talk mailing list
BaseX-Talk@mailman.uni-konstanz.de
https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
--
Arve
___
BaseX-Talk mailing list
BaseX-Talk@mailman.uni-konstanz.de
https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
--
Arve Gengelbach, BaseX GmbH, http://basex.org
|-- Firmensitz: Blarerstrasse 56, 78462 Konstanz
|-- Registergericht Freiburg, HRB: 708285
16 matches
Mail list logo