20 Nov
2023
20 Nov
'23
1:15 p.m.
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 [1] https://docs.basex.org/wiki/Utility_Module#util:if [2] https://docs.basex.org/wiki/XQuery_Extensions#Ternary_If