摘要:
已知有一个XML文件(bookstore.xml)如下:Oberon's LegacyCorets, Eva5.95 1、往节点中插入一个节点:XmlDocument xmlDoc=new XmlDocument();xmlDoc.Load("bookstore.xml");XmlNode root=xmlDoc.SelectSingleNode("bookstore");//查找XmlElement xe1=xmlDoc.CreateElement("book");//创建一个节点xe1.SetAttribute(" 阅读全文
posted @ 2014-04-07 10:10
小张的学习之旅
阅读(210)
评论(0)
推荐(0)
浙公网安备 33010602011771号