<Cluster_list> <Cluster>A</Cluster> <Cluster>B</Cluster> <Cluster>C</Cluster> </Cluster_list>
XmlDocument doc = new XmlDocument(); doc.Load(cluster_path);//Path is given globly XmlNode node = doc.SelectSingleNode("/Cluster_list [Cluster='"+cluster_name+"']"); node.ParentNode.RemoveChild(node); doc.Save(cluster_path);
cluster_name=C
doc.Save(cluster_path);
RemoveChild
XmlNode.RemoveChild(XmlNode);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)