import module namespace
math="http://www.zorba-xquery.com/modules/math";

math:small((1, 4, 8, 3, 7, 12, 54, 8, 23), 2)


(:

Expected output:

<?xml version="1.0" encoding="UTF-8"?>
3

                
:)