Click here to Skip to main content
Click here to Skip to main content
Articles » Languages » XML » General » Alternatives
 
Alternatives (1)

Delete an XML node using the node name

By , 23 Aug 2011

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

24 Aug 2011  
George Swan
 
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);

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

About the Author

b4usat

India India
No Biography provided

| | Privacy | Mobile
Web03 | 2.8.140415.2 | Last Updated 23 Aug 2011
Article Copyright 2011 by b4usat
Everything else Copyright © CodeProject, 1999-2014
Terms of Use
Layout: fixed | fluid