Mega Code Archive
Removes an attribute with the specified local name and namespace URI
using System;
using System.IO;
using System.Xml;
public class Sample
{
public static void Main()
{
XmlDocument doc = new XmlDocument();
doc.LoadXml("" +
"C#" +
"");
XmlElement root = doc.DocumentElement;
root.RemoveAttribute("ISBN", "urn:samples");
Console.WriteLine(doc.InnerXml);
}
}