can you add the following two lines at the end of your bitbtn1click procedure and send the resulting pkglisting.xml file to: jesusrmx a yahoo.com.mx , I can't test your program directly because I don't have upkg-list in my system.
Stringgrid1.SaveOptions := [soContent];
Stringgrid1.SaveToFile('pkglisting.xml');