import module namespace excel="http://zorba.io/modules/excel/statistical"; excel:mode((1, 3, 4, 2, "l")) (: Output: Error [XQP0021] Provided value is not a number :)