xml support added