Click here to Skip to main content
12,762,900 members (37,172 online)
Click here to Skip to main content
Articles » Languages » XML » General » Alternatives
Alternatives (1)
Add your own
alternative version

Tagged as


2 bookmarked
Posted 22 Aug 2011

Delete an XML node using the node name

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


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);


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


About the Author

India India
No Biography provided

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