procedure TForm1.Button1Click(Sender: TObject);
var TempList:TStringList;
TempFile:String;
begin
TempFile:='C:/Temp.XML';
ADOQuery1.SaveToFile(TempFile,pfXML);
TempList:=TStringList.Create;
TempList.LoadFromFile(TempFile);
TempList.Insert(TempList.IndexOf('<rs:data>')+1,'<rs:insert>');
TempList.Insert(TempList.IndexOf('</rs:data>'),'</rs:insert>');
TempList.SaveToFile(TempFile);
ADOQuery2.LoadFromFile(TempFile);
ADOQuery2.UpdateBatch(arAll);
end;