Can anyone show me a code for writing information to an XML?