hi Tim - hope you are well.
In the past (i.e. I don't remember exactly if this was perfectly parallel,
it was just "parallel enough"), I have used something like the following
for web requests:
xquery:fork-join(
for $xml in
('calq.xqm','factbook.xml','filesystem.xml','locations.xml','wiki1.zip'
Hi Buddy -
The toggle for indenting xml results is here in the GUI (see attached;
second-to-last button on the right, in case the image doesn't make it
through). From the command line, `-W` should work for the standalone
executable.
Hope that's helpful.
Best,
Bridger
On Fri, Jun 28, 2024 at 7:
Hi Grayson
I'm not in front of a RHEL box, but have you tried the OpenJDK with a head?
Ie not the headless version.
Best,
Bridger
On Tue, Apr 30, 2024, 5:36 PM Graydon Saunders wrote:
> Hello --
>
> After upgrading to Fedora 40, I find that I can not run the BaseX GUI.
> This is against BaseX1
Hi Greg,
Have you tried experimenting with the ADDCACHE[1] option when building your
database? While it's been a bit, I recall having good results with,
especially in a RAM-constrained environment.
Hope that's helpful!
Best,
Bridger
[1] https://docs.basex.org/wiki/Options#ADDCACHE
On Thu, Mar 14
.
Best,
Bridger
On Thu, Oct 19, 2023, 8:00 PM Bridger Dyson-Smith
wrote:
> Hi Eliot - hope you're well!
>
> Quickly off the cuff, the `ps` command on MacOS is a BSD-flavo(u)r, if I'm
> remembering correctly (it's been a while...).
>
> I don't have a Mac handy r
Hi Eliot - hope you're well!
Quickly off the cuff, the `ps` command on MacOS is a BSD-flavo(u)r, if I'm
remembering correctly (it's been a while...).
I don't have a Mac handy right now, but check this `ps` man page -
https://ss64.com/osx/ps.html - your args may need to be adjusted.
Hope that's h
Hi Eliot,
Apologies for the mobile guesswork, but what about serializing a temporary
document to look up line number? I'm probably missing something obvious
and/or misunderstanding your challenge, but if I'm not it seems like a
temporary document (in memory? On the filesystem?) might let you get at
Hi -
I've had nice luck running either the basexserver + basexclient, or the
basexhttp server (confession, it's almost something I start by default).
Maybe that would be an option to help avoid JVM startup times?
HTH!
Best,
Bridger
On Thu, Dec 1, 2022, 5:08 AM wrote:
> Hello Everyone,
> Didn'
Hey Graydon -
I'm on mobile and can't verify, but what about
proc:execute($path-to-java, ('-cp', 'home/graydon/bin/coffeepot-
package/coffeepot-1.99.8/coffeepot-1.99.8.jar', '
org.nineml.coffeepot.Main'))
Multiple args need to be in a sequence, as I recall but I haven't had a
chance to try this
Hi Eliot -
If I'm following correctly, could you use `index:facets()`? E.g.
index:facets($db)//attribute[@name='bundles']//entry/text() =>
distinct-values()
Can the bundles attribute have multiple tokens?
Best,
Bridger
On Sat, Aug 6, 2022 at 12:01 PM Eliot Kimber
wrote:
> Using the attribut
the array you want, then put it in the map
>
> let $a:=(1 to 5)!array{.}=>array:join()
> return map:entry("key",$a)
>
> /Andy
>
> On Wed, 3 Aug 2022 at 09:37, Martin Honnen wrote:
>
>>
>> Am 03.08.2022 um 04:27 schrieb Bridger Dyson-Smith:
&g
Hi all -
I would appreciate some help understanding how I might go about having a
multi-valued array as the value of a map key, or if this is even possible;
e.g.
map{ "key": [1,2,3,4,5] }
I've tried various combinations of array:flatten and array:join, but things
always wind up in a sequence. (A
Christian and company -
As always, thanks for your efforts and work on our behalf!
Congratulations on this significant milestone!
Best,
Bridger
On Mon, Aug 1, 2022 at 9:28 AM Christian Grün
wrote:
> Dear all,
>
> It’s been around 15 years ago when the first Open-Source version of
> BaseX was r
Hi Eliot -
Others are much more proficient and knowledgeable, but I try the following:
1. ABI := Always Be Indexing :)
2. I think that Christian has expressed that, with indexes in play, many
queries can experience significant optimizations by reversing the query
pattern; eg starting with the att
ges in neat,
> convenient XML files, though, so you might have to export an archive and do
> some file processing processing every time you want to perform a query.
>
> -Tamara
>
Thanks for the email!
Best,
Bridger
>
>
> On Tue, Jul 5, 2022 at 7:25 PM Bridger Dyson-Smith
Hi Ben -
On Tue, Jul 5, 2022 at 7:36 PM Ben Pracht wrote:
> Hi,
> This may seem a bit unusual, but I like the parsing capabilities of XQuery
> and I'd like to use it for my email. I'd like to have BaseX log into my
> IMAP server, fetch emails and put each email as a separate XML document.
> I'm
Christian and team -
On Thu, Jun 30, 2022 at 10:04 AM Christian Grün
wrote:
> Hi all,
>
> A new BaseX maintenance release is available. This is what you get:
>
> • DBA: Improved support for database backups
> • Performance tweaks and bug fixes
>
> …and some more BaseX 10 previews:
>
> • Store Mo
On Thu, Jun 30, 2022 at 10:04 AM Christian Grün
wrote:
> Hi all,
>
> A new BaseX maintenance release is available. This is what you get:
>
> • DBA: Improved support for database backups
> • Performance tweaks and bug fixes
>
> …and some more BaseX 10 previews:
>
> • Store Module (before: Caching
Hi Eliot -
I've wondered (but never tested/explored) about leveraging some semblance
of json-ld (or serialized ttl, or something similar) and passing those
values to Apache Jena (or another SPARQL processor) to use that as an
inference engine. I'm deep in Speculation Territory here - I don't know
Marco -
I'm sorry but I can only corroborate your findings, and that trying to
force UTF-8 by adding the encoding parameter to the functions doesn't seem
to help; e.g.
) ./bin/basex
BaseX 9.7.1 [Standalone]
Try 'help' to get more information.
> xquery file:current-dir()
/usr/home/bridger/bin/basex
Charles -
On Thu, May 19, 2022 at 12:46 PM Charles Bearden wrote:
> Thanks to Graydon, Tamara, and Christian for responding!
>
> I figured out a pretty fast way to exploit the infrastructure I had built
> (the files allocated out into many databases and a single index database
> generated from t
Best,
Bridger
> --
> Tim A. Thompson (he, him)
> Librarian for Applied Metadata Research
> Yale University Library
>
>
>
> On Wed, Apr 13, 2022 at 12:13 PM Bridger Dyson-Smith <
> bdysonsm...@gmail.com> wrote:
>
>> Hi Tim -
>>
>> On
Hi Tim -
On Wed, Apr 13, 2022 at 11:40 AM Tim Thompson wrote:
> I'm currently involved in a project that's using MarkLogic, and I noticed
> that its implementation of English-language stemming differs from that of
> BaseX: e.g., "mouse" and "mice" both stem to "mouse."
>
> In BaseX, those words
Markus -
Another confession: I've never been very good at puzzles and riddles :(
so...
On Wed, Apr 6, 2022 at 10:34 AM Markus Elfring
wrote:
> > > Test result:
> > > T3|T4
> > > "line 1
> > > line 2?"|line 3\nline 4?
> > >
> > >
> > > Will any more clarification help here?
> >
> > …, but if you
Hi Markus -
On Wed, Apr 6, 2022 at 9:25 AM Markus Elfring wrote:
> > No quotes will be added, as your delimiter does not occur in the text
> value.
>
> How does this feedback fit to previously provided information?
>
> A)
> https://docs.basex.org/wiki/CSV_Module#Options
> “…
> Serialization: If
usau wrote:
> Bridger,
>
> You're right!
>
> I has copy setup on highlighting and that doesn't seem to work, but your
> suggestion does.
>
> Thanks!
>
> Patrick
>
> On 4/1/22 11:22, Bridger Dyson-Smith wrote:
> > Hi Patrick -
> >
> >
Hi Patrick -
I was able to copy (ctrl-c) out of the Result window and paste into Emacs
with ctrl-y.
Is that not working for you?
Best,
Bridger
On Fri, Apr 1, 2022 at 10:34 AM Patrick Durusau wrote:
> Hello,
>
> I tried to copy a string out of results with the copy command on the
> drop down bu
Dear Christian, and the rest of the BaseX team -
many thanks for your thoughtful message. I'll echo Marco's comments, and
say I'm excited to see where we go in the upcoming decades!
Best wishes,
Bridger
On Wed, Mar 23, 2022 at 8:16 AM Christian Grün
wrote:
> Dear all,
>
> Just next to us, mill
Hi Jonathan -
I am by no means any kind of power user when it comes to JDKs, but if
you'll entertain an anecdote:
I have read in many places that unless your Java is written specifically to
take advantage of Oracle's JVM, then you're
fine to use OpenJDK (or Azul, or Amazon's offering, or ___).
Bu
Hi Patrick -
You'll want to navigate to the Database menu > Properties > and you should
find an Add Files dialog there.
Hope that's helpful.
Best,
Bridger
On Mon, Mar 14, 2022 at 1:45 PM Patrick Durusau wrote:
> Greetings!
>
> I'm using db:add to add files to a BaseX database, but am I just mi
;;
import module namespace utils = "http://canofbees.org/ns/xquery/utilities";;
declare variable $input :=
one
;
utils:build-path($input)
```
I have this particular module installed in my $BASEX/repo directory - more
on that in the packaging link from earlier.
Hope that's more
Hi Ben,
On Fri, Feb 25, 2022 at 8:25 AM Ben Engbers
wrote:
> Hi,
>
> I know that it is possible to create a module with functions (I have
> even done that once), but I can't find the documentation anymore on how
> to do that.
> Could please someone provide the URL to this information?
>
> Here
Hi Ben,
On Thu, Feb 24, 2022 at 10:44 AM Ben Engbers
wrote:
> Hi,
>
> My xml has the structure
>
>
>
>bla
>
>
>
>
>bla
>
>
>bla
>
>
>
>
> The element contains 1 to many elements.
>
> let $tekst := fn:string-join(fn:d
Hi Eric,
On Mon, Feb 21, 2022, 11:44 PM Eric Levy wrote:
> On Mon, 2022-02-21 at 23:33 -0500, Liam R. E. Quin wrote:
> > On Mon, 2022-02-21 at 20:00 -0500, Eric Levy wrote:
> > > My use would need a function as such that may be used as such:
> > >
> > > db:open_from_path("/home/user/path/to/data
Hi Jonathan
On Wed, Feb 16, 2022, 7:04 PM Jonathan Robie
wrote:
> Do long-running queries run faster from the command line, the GUI, or
> about the same from either?
>
Without a recent example to pull from, I want to say about the same amount
of time (but, obviously, with the preceding caveat).
Gerrit!
You wound me - I'm cut to the very core :)
For the life of me, I couldn't remember if the `fn` prefix was correct or
not.
@Ben - Gerrit's absolutely right - wildcards are desperate measures (or for
quick, one-off scripts). Using the namespace is much preferable.
Best,
Bridger
On Thu, F
Include the namespace, or put in a wildcard; eg
let $debate-nr := $debate-id//*:match/*:group[@nr="1"]/text()
let $item-nr := $debate-id//*:match/*:group[@nr="2"]/text()
I'm mobile at the moment, but think that's right (: untested and off the
cuff, in other words :).
Best,
Bridger
On Thu,
Hi Eliot -
On Mon, Feb 7, 2022 at 3:17 PM Eliot Kimber
wrote:
> I like the multiple instance case—I hadn’t consider that, but if I
> undertand how BaseX works with indexes, it should be as easy as making a
> backup from instance A and restoring it to instance B?
>
>
>
> Or maybe just have a shar
Apologies - I hit send before including the link
On Thu, Jan 13, 2022 at 4:29 PM Bridger Dyson-Smith
wrote:
> Hi Eliot,
>
> On Thu, Jan 13, 2022 at 3:54 PM Eliot Kimber
> wrote:
>
>> I’m using the BaseX GUI in a very informal way where I create new
>> databases as
Hi Eliot,
On Thu, Jan 13, 2022 at 3:54 PM Eliot Kimber
wrote:
> I’m using the BaseX GUI in a very informal way where I create new
> databases as needed to do ad-hoc queries over content that comes from
> various git repos.
>
>
>
> I’m trying to setup my local configuration settings to be what I
Hi Christian,
As always, thanks for your time and help.
On Wed, Nov 24, 2021 at 12:18 PM Christian Grün
wrote:
> Hi Bridger,
>
> > I'm pulling data back from an OAI-PMH endpoint that is slow; i.e.
> response times are ~1/minute.
>
> I’ve tried the example you have attached (thanks). It’s seems
Hi all -
I have the sneaking suspicion that the answer to this plea for help will be
something like, "Use RESTXQ!!" or something similar, but let me describe
the problem: I'm pulling data back from an OAI-PMH endpoint that is slow;
i.e. response times are ~1/minute. Embarrassingly, I think I've spe
Graydon,
There's almost certainly a much nicer way to do this - eg the examples
you've provided - but could another option be to build out a
`proc:execute()` call? It wouldn't be nearly as elegant, and may cause
additional processing in the output, but that way you would have full
access to command
x27;s helpful.
Best,
Bridger
On Fri, Oct 22, 2021 at 4:00 PM Bridger Dyson-Smith
wrote:
> Hi Jonathan -
>
> I needed to launch the command line basex; e.g.
> bridger@ditrestle|~/src/basex-src on master!
> ± basex
> BaseX 9.6.2 [Standalone]
> Try 'help' to get more
Hi Jonathan -
I needed to launch the command line basex; e.g.
bridger@ditrestle|~/src/basex-src on master!
± basex
BaseX 9.6.2 [Standalone]
Try 'help' to get more information.
> TEST basex-core/src/test/resources/test.xqm
Empty sequence.
> Christian
>
> [1] https://github.com/BaseXdb/basex/issues/2044
>
>
> On Thu, Oct 21, 2021 at 4:49 PM Bridger Dyson-Smith
> wrote:
>
>> Hi Maud -
>> with apologies, I thought I had added a namespace value to my example (I
>> clearly did not).
>>
>
Hi Maud -
with apologies, I thought I had added a namespace value to my example (I
clearly did not).
Hi Christian - I'm a bit confused and I wonder if this is just the typical
user/operator error on my part, or if this is a bug? The BaseX
documentation for the JSON module[1] states that "... names
Hi Maud -
Adding `json:serialize($docs, map { "format": "jsonml", "indent": false()
})` seems to drop all of the whitespace and namespaces, too. I'm using
v9.6.2 if that helps. It looks like `"indent": true()` is a default for
serialization.
```
declare variable $input :=
Bre 3
files/" || $TSV-NAME)
I've attached my two sample TSV files if that helps.
On Tue, Oct 12, 2021 at 11:45 AM Jonathan Robie
wrote:
> Thanks! I was getting hung up trying to do this in a command.
>
> Jonathan
>
> On Tue, Oct 12, 2021 at 11:44 AM Jonathan Robie
> wrote
Hi Jonathan,
for $T in file:list($path-to-your-files)
let $TSV := csv:parse($T, map { 'separator': 'tab', 'header': true(),
'format': 'direct' })
return db:add($your-db, $TSV)
maybe? I'm probably getting something wrong, semantics-wise, w/ `db:add()`,
but maybe it's close to get started?
Best,
Br
ing https fixed the problem - thanks!
>
> Jonathan
>
> On Fri, Sep 3, 2021 at 1:58 PM Bridger Dyson-Smith
> wrote:
>
>> Hi Jonathan -
>>
>> I'm curious: which distribution of BaseX are you using? The main
>> BaseX.zip has the functx library already in
Hi Jonathan -
I'm curious: which distribution of BaseX are you using? The main BaseX.zip
has the functx library already in ${basex}/repo.
I did though do a quick test (below) and keeping https in the URL made a
difference. I'm not quite sure why.
Hope that's helpful.
Best,
Bridger
```
> REPO INST
Dear Christian and everyone else on the BaseX team:
As always, thank you all so much for your time and effort!
Looking forward to 9.6!
Best,
Bridger
On Thu, Aug 19, 2021 at 8:22 AM Christian Grün
wrote:
> Dear all,
>
> We provide you with a new and fresh version of BaseX, our open source
> XML f
Hi all -
I'm trying to keep track of some HTTP POST results in a file, something
akin to the following:
file:write-text(
"/tmp/bridger-test.csv",
"book" || "," || "title" || "," || "sip" || out:nl()
),
for $i in 1 to 20
(: some http:send-request stuff :)
return(
prof:sleep(250),
if ($requ
Hi Tim -
What about modifying the BaseX web.xml in $basex/webapp/WEB-INF? That was
you'd be disabling in Jetty instead of Apache. To be honest I have no idea
if this will work, but:
default
org.eclipse.jetty.servlet.DefaultServlet
dirAllowed
false
or some variation thereof? I
Christian -
As always, thank you so much!
On Wed, Mar 31, 2021 at 10:35 AM Christian Grün
wrote:
> Dear Bridger,
>
> > I was wondering if anyone would have an insight for me as to why the
> following expression is wrong:
> >
> > for $s in ("/a/b/c", "/1/2/3")
> > let $t := $s => tokenize("/")[l
Hi all -
I was wondering if anyone would have an insight for me as to why the
following expression is wrong:
```
for $s in ("/a/b/c", "/1/2/3")
let $t := $s => tokenize("/")[last()]
return $t
```
This is because of the predicate filter, but I'm not clear on *why* it's
because of that :)
Thanks f
Hi all -
Per the recent thread about installing, I was hoping to convince some of
you to share your experiences installing and running BaseX. Whether you use
Mac OS, Windows, a Linux, or something else: how are you installing and
running BaseX?
I'm asking as there could be some possible improveme
to be picky and mostly atypical as an
> IT profile. The future will probably bring hard choices and hard work
> for me because of it.
>
> That resonates! Good luck (and welcome to BaseX)
>
> Br,
>
> Joris
>
>
Bridger
> On Wed, 2021-03-17 at 13:47 -0400, Bridger Dyson-Sm
list!
> I did use the most recent .jar to test and it works well but the what
> about the server part etc.
>
> If you grab the ZIP archive, everything you'd want is included (http
server, GUI, client/server).
> Br
>
> Joris
>
> Best,
Bridger
>
>
>
>
&g
Hi Joris,
On Wed, Mar 17, 2021 at 5:39 AM commandline-be
wrote:
> ok, thanks.
>
>
> If i can i will try and figure out an upgrade approach or see if i can run
> a backport which does have the more recent version available.
>
> I've found that something like this following works very well for me
Hi all -
I imagine that Dr. Kay has posted about this in multiple places, but I
don't know if he's posting on the BaseX list much. He shared the following
links with his thoughts on XPath, XSLT, XQuery, and F&O version 4.0 [1] - I
don't know how many implementers we have on this list, outside of C
Hi Marco,
I'm sure others will have better thoughts on this, so please take this with
a grain of salt. Jetbrains IntelliJ (and other IDEs) provide Remote
Deployment options, and I would think Eclipse would offer something
similar. I.e. write locally, and then push changes to the remote server
with
t;> Hi Bridger,
>>
>> How about..
>>
>> declare function local:pathbuild($result as xs:string,$this as node()){
>> concat(
>> $result, "/" , name($this),
>> $this/@*! concat("[@" , name(.) , "='" , da
Hi all -
I hope you don't mind a question about serializing distinct XPaths. I'm
trying to generate some reports for documentation and the available
built-in and library functions[1] aren't quite what I need.
The output I'm after is:
test/aaa/bbb[@type="foo"]
test/aaa/bbb[@type="foo"][@enc="bar"]
d.
Kind regards,
> Hugo
>
> Best,
Bridger
> Le jeu. 15 oct. 2020 à 19:32, Bridger Dyson-Smith
> a écrit :
>
>> Hi Silamphre,
>>
>> I'm not sure if this will help or not, but editing the `basexgui` script
>> to include `-Dsun.java2d.uiScale=1.25` migh
Hi Silamphre,
I'm not sure if this will help or not, but editing the `basexgui` script to
include `-Dsun.java2d.uiScale=1.25` might help[1]? I confess that I don't
have UI scaling enabled on my unix-like system, or maybe you've already
tried that approach.
Hope that helps!
Best,
Bridger
[1]
https
Christian,
As always, thank you for your help! I had tried the following
```xquery
declare function local:grab2(
$url as xs:string,
$path as xs:string,
$fname as xs:string
) as document-node() {
let $req := http:send-request(, $url)
return
if (head($req)/@status = "200")
then fi
And naturally I forgot to mention...
On Sun, Oct 11, 2020 at 3:49 PM Bridger Dyson-Smith
wrote:
> Hi all -
>
> I'm accustomed to writing something like the following:
>
> ```xquery
>
> declare function local:grab(
> $url as xs:string,
> $path as xs:string
Hi all -
I'm accustomed to writing something like the following:
```xquery
declare function local:grab(
$url as xs:string,
$path as xs:string,
$fname as xs:string
) as document-node() {
let $req := http:send-request(, $url)
return
if (head($req)/@status = "200")
then file:write
Hi Bill,
I won't claim to be any kind of query expert, but there are some things you
can try to experiment with query speeds:
On Fri, Aug 21, 2020 at 3:52 PM Bill Osmond wrote:
> Hi all,
> I'm attempting to query a fairly large database, with 136,938 resources
> and a size of 12,257,686,099. Th
Christian and the rest of the BaseX team -
As always, thanks for all of your efforts - this release looks very
exciting!
Best,
Bridger
On Tue, Jul 14, 2020 at 7:40 AM Christian Grün
wrote:
> We are glad to give you Version 9.4 of BaseX, our XML framework,
> database system and XQuery 3.1 proces
Fabrice - my apologies. I see now that my suggestion was very naive. I hope
I didn't waste your time.
Sorry for the noise.
Best,
Bridger
On Fri, Jun 5, 2020 at 10:23 AM Bridger Dyson-Smith
wrote:
> Hi Fabrice -
>
> Maybe something like
> ft:search("the-database",
Hi Fabrice -
Maybe something like
ft:search("the-database", "YET_ANOTHER_SILLY_KEYWORD", map { "mode":
"phrase", "ordered": true() })?
I confess that I don't know the full text module behavior at all, but I
coincidentally had it open... Anyway, I hope that's helpful.
Best,
Bridger
On Fri, Jun 5,
nable=true?dsLocation=/path/to/my/
image.tif',
file:read-binary('/path/to/my/image.tif')
)
is working great.
Have a lovely day and/or night.
Best,
Bridger
On Wed, May 20, 2020 at 5:40 PM Bridger Dyson-Smith
wrote:
> Hi all -
>
> I'm trying to use BaseX to POST an image
Hi all -
I'm trying to use BaseX to POST an image to a digital asset management
system (i.e. I'm not using RESTXQ, etc, just using BaseX to compose and
send the request).
The request:
http:send-request(
,
'
http://localhost:8080/fedora/objects/tdh:2/datastreams/OBJ?versionable=true?
Christian, et al,
As always thank you, and everyone on the BaseX team, for all of your
efforts and hard work!
Best,
Bridger
On Fri, May 15, 2020 at 5:35 AM Christian Grün
wrote:
> Dear users and supporters of BaseX,
>
> We have just released a new maintenance version of our XML framework,
> dat
Hi Andrew and list,
I ran into a similar error with 9.3.3-beta this last week but haven't had a
chance to work up a SSCCE. Your report makes me think I need to do so!
Best,
Bridger
On Sat, Apr 25, 2020, 11:19 AM Andrew Sales wrote:
> Hello,
>
> I'd like to run a transform on multiple document
Hi Ben -
I'm on mobile, please excuse any typos.
Maybe
`return array { $idf }`
is closer?
Untested, apologies!
Best,
Bridger
On Mon, Mar 30, 2020, 5:16 PM Ben Engbers wrote:
> Hi,
>
> In textmining, the 'idf' or inverse document frequency is defined as
> idf(term)=ln(ndocuments / ndocuments c
Christian -
echoing Marco, indeed what happy news! Thank you and the rest of the BaseX
team for all of your efforts!
Best,
Bridger
On Tue, Mar 10, 2020 at 9:19 AM Christian Grün
wrote:
> Dear all,
>
> We are glad to provide you with a new BaseX 9.3.2 maintenance release:
>
>http://basex.or
Hi Thufir -
Maybe something like this will help?
```
xquery version "3.1";
let $y := 99
for $x in (1 to 9)
count $iterator
let $decrease := $y - $iterator
return(
comment { "iterator = " || $iterator },
comment { "decrease = " || $decrease },
)
```
I'm basically ripping Walmsley's book
Hi Thufir,
You might find Priscilla Walmsley's Functx library[1] section on namespaces
helpful (or something else interesting in the functions listed there).
Michael - that's a very nice FLOWR! Thank you for sharing.
Best,
Bridger
[1] http://www.xqueryfunctions.com/xq/c0021.html
On Fri, Feb 14
Hi Graydon,
I'm mobile at the moment, so please excuse the abbreviated reply. Would
functx:is-a-number() [#1] work in your where clause?
I'm completely unable to test... apologies.
Best,
Bridger
#1 http://www.xqueryfunctions.com/xq/functx_is-a-number.html
On Sun, Feb 2, 2020, 7:22 PM Graydon Sa
Hi all,
While I don't have any answer to this question, I can corroborate Johannes'
finding.
Also, Johannes, did you find a magic string? I tried some longer keys and
they seem to work :)
Best,
Bridger
On Thu, Jan 9, 2020 at 11:51 AM Johannes Echterhoff <
echterh...@interactive-instruments.de> w
Christian, and the BaseX Team -
Congratulations on the new release!
Thank you for all of your time and efforts.
Best,
Bridger
On Fri, Nov 29, 2019 at 11:14 AM Christian Grün wrote:
> Hello to our loyal readers of our list,
>
> We are glad to announce version 9.3 of BaseX, our XML framework,
>
Hi Christian,
as usual, you're very helpful!
One more example of how it can really help to pay attention to those
function signatures -- I wasn't thinking about the http:response as a
sequence, so thank you very much for that insight!
Best,
Bridger
On Mon, Oct 28, 2019 at 10:13 PM Christian Grün
tabases for the different entities as mentioned
> above. So far, I did not have bigger problems with the namespaces,
> maybe because I am not doing anything specific with them and mostly
> keep them they way they are.
>
> Best wishes,
> Julia
>
>
Kind regards,
Bridger
> On
Hi all -
On Tue, Oct 22, 2019 at 11:13 PM Bridger Dyson-Smith
wrote:
> Hi Liam!
>
> On Tue, Oct 22, 2019 at 7:38 PM Liam R. E. Quin
> wrote:
>
>> On Tue, 2019-10-22 at 19:32 -0400, Bridger Dyson-Smith wrote:
>> >
>> > http://export.arxiv.o
nto BaseX, even stripping
namespaces, etc, things seem to run out of memory or stall.
Would you be willing to share some details about your data?
Thanks very much.
Best,
Bridger
On Fri, Oct 25, 2019 at 3:41 PM Bridger Dyson-Smith
wrote:
> Hi Julia -
>
> Preface: let me be clear when I say
Hi Julia -
Preface: let me be clear when I say that I've wondered about some of this
myself, so I don't think I have an answer for you. That being said, I
wonder if this is a grouping/data modeling problem: i.e. you have 5,000
aggregations refer to 1 of 3 web resources vs ~7,000 aggregations each
Hi Liam!
On Tue, Oct 22, 2019 at 7:38 PM Liam R. E. Quin
wrote:
> On Tue, 2019-10-22 at 19:32 -0400, Bridger Dyson-Smith wrote:
> >
> > http://export.arxiv.org/oai2?verb=Identify'/>)//@status/data()
> >
> > returns '200', but trying
> >
>
Hi all -
I was hoping that someone on the list could help with my thinking about
parsing the http:response values from a request; I've tried the following,
but I'm not thinking about this correctly.
declare namespace oai = "http://www.openarchives.org/OAI/2.0/";;
declare namespace h = "http://exp
Hi thufir,
The specification might be helpful here [1,2], but essentially it is the
thing being processed, given as a sort of global scope.
HTH!
Best,
Bridger
[1] https://www.w3.org/TR/xquery-31/#id-context-item-expression
[2] https://www.w3.org/TR/xquery-31/#dt-context-item
On Sat, Oct 12, 201
Hi Ben -
Does something like:
```
declare variable $name external; for $i as xs:integer in 1 to 5 return
element { $name } { $i }
```
work any differently?
Best,
Bridger
On Thu, Sep 12, 2019 at 10:49 AM ben.engb...@be-logical.nl <
ben.engb...@be-logical.nl> wrote:
> xs:string is neither accepte
Ha ha, awesome Liam! Thank you for clarifying!
Best,
Bridger
On Mon, Sep 9, 2019 at 9:37 PM Liam R. E. Quin
wrote:
> On Tue, 2019-09-10 at 02:59 +0200, Andreas Mixich wrote:
> > I wonder why the serialization behaves that way. It does not make
> > sense to
> > me. If a user has the need to esc
entities,
>> > how do I pass through those entities unchanged?
>>
>> One way is to use a character map, as Bridger Dyson-Smith described.
>>
>> Sometimes another way can be to have a version of the DTD in which the
>> replacement text of the entity marks th
Hi Andreas -
Have you tried using different serialization options? I.e.,
serialize.xq:
```
declare option output:method "xml";
declare option output:parameter-document "map.xml";
declare variable $input := "Lorem ipsum, ' dolor sit amet.";
serialize($input)
```
map.xml:
```
http://www.w3.org/2010
Hi Tim -
A quick test and this is working correctly(?) for me;
1. I cloned Alain's repo to `.../webapp/static/`
2. I copy-pasta'd your example into `.../webapp/test.xqm`
3. After starting the BaseX HTTP server, I hit `localhost:8984` and
`localhost:8984/test` and had good responses from both; i.e.
Hi Jordan,
Maybe the fn:head(), fn:tail(), and other functions for sequence operations
would help[1]?
HTH!
Best,
Bridger
[1] https://www.w3.org/TR/xpath-functions-31/#sequence-functions
On Tue, Jul 2, 2019, 6:27 PM Jordan Castillo
wrote:
> BaseX team,
>
> Sorry for the long question but I jus
Hi all -
An interesting XQuery question came up on reddit[1] over the weekend, and
I'm curious about a couple of aspects of the problem.
To recreate, the sample data is at timecenters[2] in the
employeeTemporalDataset.zip download (specifically, the `departments.xml`
and the three compressed dire
1 - 100 of 171 matches
Mail list logo