Hi,
The documentation for the utility module [1] says certain functions will be removed in version 11 because they will be in XPath 4.0.
However, util:if has been removed from the documentation and I think there is no equivalent function in this case.
util:if is an alternative syntax for the BaseX Ternary operator [2].
( I have used it because it was easier than trying to get my XQuery parser EBNF to accept $ok ?? 1 !! 0 etc)
Is util:if to be removed?
/Andy