Issue #35 : add support for xml function