Monday, January 12, 2009

ASP.Net returning XML

Response.Clear();
Response.ContentType = "text/xml";
Response.Write(xmlDoc.InnerXml);
Response.End();

No comments:

Post a Comment