I am confused a bit. Basically you call readXML, the function that writes the XML !