good handling of xml derived saving