import module namespace ft = "http://www.zorba-xquery.com/modules/full-text"; ft:stem( "flavoring", xs:language("en") ) (: Expected output: flavor :)