Response.ContentType = "text/xml"; string postdata=" <?xml version='1.0'?> <data>dddddddddd </data>"; Response.Write(postdata);