// Remove a specified attribute by name. public virtual void RemoveAttribute(String name) { if (attributes != null) { attributes.RemoveNamedItem(name); } }