2013年10月9日

一般处理程序ashx输出XML

摘要: 首先构建自己的xmldocument,方式很多例如: XmlDocument xmldoc = new XmlDocument(); XmlDeclaration xmldecl = xmldoc.CreateXmlDeclaration("1.0", "GBK", null); //root node XmlElement xmlelem = xmldoc.CreateElement("news"); xmldoc.AppendChild(xmlelem);//append the node to xml... 阅读全文

posted @ 2013-10-09 16:06 Mr Code 阅读(856) 评论(2) 推荐(0) 编辑

导航