Delete an XML node using the node name





0/5 (0 vote)
Can't you do the same thing without the need for a select statement?XElement xElement = XElement.Load(path);xElement.Elements ("Node").Remove();xElement.Save(path);
Can't you do the same thing without the need for a select statement?
XElement xElement = XElement.Load(path);
xElement.Elements ("Node").Remove();
xElement.Save(path);