Write in xml format

Temperature is now write into xml format