[xquery-talk] Collections - family relationships

Ihe Onwuka ihe.onwuka at gmail.com
Sat Jan 18 08:02:48 PST 2014

On Sat, Jan 18, 2014 at 1:57 PM, Adam Retter <adam.retter at googlemail.com> wrote:
>>> You know full well that the design isn't going to be improved in a subsequent release unless there's an issue that's a real  stopper, because people expect backwards compatibility.
>> http://exist.2174344.n4.nabble.com/Signature-of-fn-filter-doesn-t-look-like-it-conforms-to-the-spec-td4662991.html
> I am not sure that this is making the point you think it is!

It does.

> snipped

> Anyway, I am sure you realise that you could write your own function
> in XSLT, let's call it 'doc-or-empty' and use it in place of doc to
> achieve exactly what you want.

Yes and I have no intention of doing so.

See the original post here.


I knew that parenthesising the return expression would fix the problem
but I didn't know why. Wolfgang's answer told me.

More information about the talk mailing list