Generated xml text bug corrected.. delete data contained in _xml obj is deleted before writing in _xml obj again.