>Newbie question. I have the following snippet of C# code that writes the contents of "SearchResponse" to a file. How can I get the contents into a string variable instead?
>
Try something like this:
XmlSerializer xmlizer = new XmlSerializer(typeof(SearchResponse));
StringWriter sw = new StringWriter();
xmlizer.Serialize(sw, iw.SearchResponse);