[xquery-talk] Are you getting much spam on this list, too?

2018-05-01 Thread Andreas Mixich
Bye, Minden jót, Mit freundlichen Grüßen, Andreas Mixich ___ talk@x-query.com http://x-query.com/mailman/listinfo/talk

Re: [xquery-talk] Doing 'base-uri "{$base-uri}";' fails

2018-05-01 Thread Andreas Mixich
, BaseX does not use catalogs at this point either, only on document imports into the database. I may end up by adding a build script/installer, that does a string search & replace with a user-supplied value for the base-uri. -- Goody Bye, Minden jót, Mit freundlichen Grüßen, Andreas Mi

[xquery-talk] Doing 'base-uri "{$base-uri}";' fails

2018-05-01 Thread Andreas Mixich
here a reason against hoisting variables in XQuery, that get 'declared'? Would it make sense to file an enhancement request on 'www.w3.org/Bugs' ? -- Goody Bye, Minden jót, Mit freundlichen Grüßen, Andreas Mixich ___ talk@x-query.com http://x-query.com/mailman/listinfo/talk

[xquery-talk] When to us xs:string or xs:anyURI ?

2019-04-16 Thread Andreas Mixich
eundlichen Grüßen, Andreas Mixich ___ talk@x-query.com http://x-query.com/mailman/listinfo/talk

Re: [xquery-talk] When to us xs:string or xs:anyURI ?

2019-04-17 Thread Andreas Mixich
On Wed, Apr 17, 2019 at 11:37 AM Michael Kay wrote: > In the standard function library we adopted the approach that for input > parameters, relevant functions should accept xs:string; for function > results, they should return an xs:anyURI. That recognizes the one-way > casting effect. > Okay,

Re: [xquery-talk] Building a tree from sequence of maps

2019-12-21 Thread Andreas Mixich
. :-) Thanks to Mr. Hager, was well. -- Minden jót, all the best, Alles Gute, Andreas Mixich ___ talk@x-query.com http://x-query.com/mailman/listinfo/talk

[xquery-talk] Building a tree from sequence of maps

2019-12-21 Thread Andreas Mixich
o do it. Any help would be greatly appreciated! -- Minden jót, all the best, Alles Gute, Andreas Mixich ___ talk@x-query.com http://x-query.com/mailman/listinfo/talk

Re: [xquery-talk] Building a tree from sequence of maps

2019-12-30 Thread Andreas Mixich
/item) for $item in $root return local:process-item($item) which produces: and that seems to match the case. Thank you. -- Minden jót, all the best, Alles Gute, Andreas Mixich ___ talk@x

Re: [xquery-talk] Wrap element constructor and output disappears

2020-08-15 Thread Andreas Mixich
So what is wrong and how do I wrap the output in a parameters element? > Not sure, whether such a late reply is of any use to you, sorry, I just discovered it now. I want to confirm, that it works with BaseX 9.4. The output I get is:                     -- Goody Bye, Minden jót, Mi

Re: [xquery-talk] Purely recursive deduplication of sequence?

2020-08-01 Thread Andreas Mixich
$items)) then () else ( > head($items), > local:distinct-items(tail($items)[not(deep-equal(., head($items)))]) > ) > }; -- Goody Bye, Minden jót, Mit freundlichen Grüßen, Andreas Mixich ___ talk@x-query.com http://x-query.com/mailman/listinfo/talk

[xquery-talk] Purely recursive deduplication of sequence?

2020-08-01 Thread Andreas Mixich
n sequence, like `fn:distinct-values#1`, however, for any kind of item, not just atomic ones:   `local:distinct-items($items as item()*) as item()*` It should no use state in any form (typically creating and revolving a second list or sending a flag throughout recursion). Also, I do not wa