XmlNode root = doc.DocumentElement;XmlNode nodetype = root.SelectSingleNode("TYPE");//找到节点XmlElement childnode = doc.CreateElement("CONTENT");//创建新的节点nodetype.AppendChild(childnode);//添加