Added string encoding in XML format