import module namespace math="http://www.zorba-xquery.com/modules/math"; math:avedev((4, 5, 6, 7, 5, 4, 3)) (: Expected output: <?xml version="1.0" encoding="UTF-8"?> 1.0204081632653061 :)