Saved result to a local xml file