Way to write a xml.