What would be involved in extending BaseX's full text to allow a
thesaurus to be supplied as a node instead of a URI?
I want to construct one on the fly, and using file:write() seems
excessive.
Liam
--
Liam Quin, https://www.delightfulcomputing.com/
Available for XML/Document/Information
hmm to answer myself, seems I can also change the query to prepare for multiple
document-nodes input, something like this:
for $node in /*
return
for $f in $node
return insert node B as first into $f
With writeback enabled, all the files get updated from the commandline. Is this
the way to go
Hi,
is there anyone using BaseX in an Apache Ant scenario?
I have the following target for XQuery Updating some files (no database
access), but I am too dumb to make an apply task that reads every file in a
fileset.
Usually you place the where you need it to be in your external
command, but
Thank you very much Christian! (my mistake for confusing equality and
inequality in consideration of your previous response)
Kind regards
Jan
-Original Message-
From: Christian Grün
Sent: Wednesday, May 26, 2021 13:28
To: ydy...@post.cz
Cc: BaseX
Subject: Re: [basex-talk] BUG node
Hi Jan,
> However, I still don't understand, why the -w parameter should do the trick.
> I would expect the parsing is done once on the document load and $rootElement
> variable is just holding a document's node. Then string value of either
> $rootElement and parent::* should be identical for
Hi Christian,
thank you for the deep explanation. I've just got to use XQuery recently; my
knowledge is primarily based on XPath 1.0 acquired 15y ago. I understand the
underlying string value comparison of nodes/node sets. Even though performance
was not my goal, thank you for the suggestion
Hi Jan,
Thanks for your feedback to the mailing list.
Your query will return the expected paths if you call BaseX as follows:
basex.bat -w -i datafile.xml queryfile.xq
A short explanation: By default, BaseX ignores whitespaces when
parsing XML documents. By specifying -w, whitespace chopping
Am 26.05.2021 um 11:03 schrieb ydy...@post.cz:
Dear BaseX,
according to github instructions I’m sending a bug report via email:
Using BaseX 9.5.1, cmd-line “basex.bat -i datafile.xml queryfile.xq”
leads to no result at all. I’m convinced there should be result
equivalent to the one of the
Dear BaseX,
according to github instructions I’m sending a bug report via email:
Using BaseX 9.5.1, cmd-line “basex.bat -i datafile.xml queryfile.xq” leads to
no result at all. I’m convinced there should be result equivalent to the one of
the online xquery tester
9 matches
Mail list logo