On Sat, Jan 18, 2014 at 1:57 PM, Adam Retter <[email protected]> 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. http://exist.2174344.n4.nabble.com/Why-does-it-think-the-variable-is-not-set-tc4663027.html#none I knew that parenthesising the return expression would fix the problem but I didn't know why. Wolfgang's answer told me. _______________________________________________ [email protected] http://x-query.com/mailman/listinfo/talk
