Bye, Minden jót, Mit freundlichen Grüßen,
Andreas Mixich
___
talk@x-query.com
http://x-query.com/mailman/listinfo/talk
, 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
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
eundlichen Grüßen,
Andreas Mixich
___
talk@x-query.com
http://x-query.com/mailman/listinfo/talk
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,
. :-)
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
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
/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
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
$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
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
11 matches
Mail list logo