import module namespace excel="http://zorba.io/modules/excel/statistical"; excel:mode((1, 3, 4, 2, 5)) (: Output: Error [XQP0021] Mode function: no duplicate elements :)