asp.net页面直接输出纯xml

       XmlDocument xml = new XmlDocument();
            xml.Load(Server.MapPath("aa.xml"));//读取你的XML
            Response.ClearContent();
            Response.ClearHeaders();
            Response.ContentType = "text/xml";
            xml.Save(Response.Output);
            Response.End();
原文地址:https://www.cnblogs.com/bulege/p/2513214.html