摘要: 进行操作的xml文件:products.xmlView Code增加节点:XmlDocumentdoc=newXmlDocument();doc.Load("products.xml");XmlNodexn=doc.SelectSingleNode("products");XmlElementxe=doc.CreateElement("product");xe.SetAttribute("name","haha");xe.SetAttribute("price"," 阅读全文
posted @ 2013-07-09 23:01 泉白水 阅读(231) 评论(0) 推荐(0) 编辑