added support for xml data type, ref #81