Print XML file and download it
- by Pankaj
I am create xml using serialization and trying to print them using this code
 string xmlDate = xml.GetXML();
 string name = string.Format("{0}_HighEST", ProjectName);
 Response.AddHeader("Content-disposition", "attachment; filename=\"" + name + "_HighEST.xml\"");
 Response.ContentType = string.Format("application/.xml", name);
how can assign my xmldata to Response so that data will write on downloaded xml?