Writing Xml is working correctly

Do not forget to replace symbols when write reading function