Saving a Feed or Entry as XML with the .NET client library


The SaveToXml() method takes either a Stream or a XmlWriter.

FileStream file = new FileStream("C:\\testxml.txt", FileMode.Create);
feed.SaveToXml(file);
file.Close();