string xmlFile = Request.PhysicalApplicationPath   @"\1.xml";
把图片流写入xml文件            
string imageFile = Request.PhysicalApplicationPath   @"\1.jpg";
把图片流写入xml文件            
using (XmlWriter writer = XmlWriter.Create(xmlFile))
                }

相关文章: