> An example application was published already with the XQuery 3.1 specification
> for the combination of information from three documents.
> https://www.w3.org/TR/2017/REC-xquery-31-20170321/#id-joins
I have seen this link. I was asking for your personal uses case or
examples, and I think this
> I was asking for your personal uses case or examples,
My use cases can be similar to the example application from the XQuery
specification.
> and I think this is what others have been asking you for as well.
I am trying to point further development possibilities out according to
varying and
> Have you read the XQuery specifications?
Yes.
> This section on joins, written by one of the inventors of SQL, may be a
> helpful starting point:
>
> https://www.w3.org/TR/xquery-31/#id-joins
It seems that I stumble on communication difficulties for this application area.
Regards,
Markus
> > I propose once more to take another look at specification efforts for
> > join conditions (or constraints).
>
> What specific problem is it that you're trying to solve? What thing do
> you want to do that you do not believe you can do in XQuery?
I imagine that join parameters can be passed
Hi Markus,
Could you please get specific and provide real use cases and examples?
Thanks,
Christian
On Tue, Apr 19, 2022 at 10:46 AM Markus Elfring wrote:
>
> > > I propose once more to take another look at specification efforts for
> > > join conditions (or constraints).
> >
> > What
Hi Markus,
Have you read the XQuery specifications? This section on joins, written by
one of the inventors of SQL, may be a helpful starting point:
https://www.w3.org/TR/xquery-31/#id-joins
The use case documents may also be helpful:
https://www.w3.org/TR/xquery-use-cases/
> To join something, you minimally need at least two expressions which find
> the things to be joined,
I am still trying to clarify corresponding development possibilities according
to
bigger numbers of entities together with for clauses.
(I hope that other meanings can be better distinguished
> Could you please get specific and provide real use cases and examples?
An example application was published already with the XQuery 3.1 specification
for the combination of information from three documents.
https://www.w3.org/TR/2017/REC-xquery-31-20170321/#id-joins
Would you occasionally like
Hello,
I constructed the following XML file for another test of the software “BaseX
9.7”.
12
Demo1
Demo2
23
Demo1
Demo2
34
Test1
Test2
Test3
45
Test1
Test2
Test3
56
Test1
Test2
Test3
67
Probe1
I tried the following XQuery script out accordingly.
declare option
Here's one thing you may be asking - do you want to know how to specify a
join for n sources? If so, maybe this example will help:
declare variable $eng := (one, two, three, four);
declare variable $deu := (eins, zwei, drei, vier);
declare variable $ukr := (один, два, три, чотири);
declare
How about some custom logging?
for $i in (1 to 10)
return
if ($i = 4) then error()
else file:append-text-lines('C:\tmp\file',string($i))
There might be more sophisticated ways.
Daniel
-Ursprüngliche Nachricht-
Von: BaseX-Talk Im Auftrag von
Patrick Durusau
Gesendet: Dienstag,
Greetings!
Is it possible to capture partial results from an interrupted query?
When I realize a query is taking too long for the data involved, it
might be helpful in correcting the mistake.
Thanks!
Patrick
--
Patrick Durusau
patr...@durusau.net
Technical Advisory Board, OASIS (TAB)
If the following result is the one you would expect …
topic_combination|incidence
Test1*Test2*Test3|3
Demo1*Demo2|2
Probe1|1
… it is sufficient to replace …
> let $incidence := count($topics)
… by …
let $incidence := count($x)
The string join yields a single item, which is assigned to
On Tue, 2022-04-19 at 12:42 -0400, Jonathan Robie wrote:
> Here's one thing you may be asking - do you want to know how to
> specify a
> join for n sources?
I think the question was, what if n is large or dynamic.
But then we fall back to needing a use case because the best strategy
depends on
On Tue, Apr 19, 2022 at 07:51:34PM +0200, Markus Elfring scripsit:
> > Here's one thing you may be asking - do you want to know how to
> > specify a join for n sources?
>
> Yes. ‒ Your enquiry points into a direction for which I am looking
> also for further solution ideas.
If you look at
> Here's one thing you may be asking - do you want to know how to specify a
> join for n sources?
Yes. ‒ Your enquiry points into a direction for which I am looking also for
further solution ideas.
> for $e in $eng
> for $d in $deu
> for $u in $ukr
> for $h in $heb
> where $e/@n = $d/@n
>
Thanks!
That should do it!
Patrick
On 4/19/22 11:40, Zimmel, Daniel wrote:
How about some custom logging?
for $i in (1 to 10)
return
if ($i = 4) then error()
else file:append-text-lines('C:\tmp\file',string($i))
There might be more sophisticated ways.
Daniel
-Ursprüngliche
17 matches
Mail list logo