https://learn.microsoft.com/ru-ru/dotnet/api/system.xml.xmlnamednodemap.removenameditem?view=netframework-4.8.1&viewFallbackFrom=net-10.0
XmlNamedNodeMap.RemoveNamedItem Method (System.Xml) | Microsoft Learn
Removes the specified node from the XmlNamedNodeMap.
methodsystemxmlmicrosoftlearn