Try:
XmlDocument doc = new XmlDocument();
doc.Load(url);
doc.Save(filename);
It really is that easy (with some error handling obviously). The .Net framework should do everything for you. I jumped through hoops a month or so ago trying to do the same thing and kicked myself when I read the help file on XmlDocument ;)
Russell Troywest
2009-07-03 15:04:26