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

Tagged as

Delete an XML node using the node name

, 23 Aug 2011
How to delete an XML node using its name.

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)

Share

About the Author

b4usat

India India
No Biography provided

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