How to remove a XMLNode from XMLDocument occuring at multiple nested levels
问题 I have a XML which has a node which kind of gets repeated across multiple levels in the file using C#. Example of the XML: <books> <book> <title>The Walking Dead</title> <author>Test Name</author> <isbn>1239859895</isbn> </book> <book> <title>The Walking Dead</title> <author> <isbn>29893893893</isbn> <firstname>test1</firstname> <lastname>test</lastname> </author> </book> </books> I want to remove all isbn nodes from this XMLdocument irrespective of its location. 回答1: As you indicated that