select EmplTable; xml = '<records>' + join(map(new CursorEnumerator(EmplTable), 'x.xml()')) + '</records>';