Acme.Northwind.Install.XmlHelper.UpdateAttribute C# (CSharp) Method

UpdateAttribute() public static method

public static UpdateAttribute ( this xmlElement, string attributeName, string newValue ) : void
xmlElement this
attributeName string
newValue string
return void
		public static void UpdateAttribute(this XmlElement xmlElement, string attributeName, string newValue)
		{
			XmlAttribute attrTemp = null;
			attrTemp = (XmlAttribute)xmlElement.Attributes.GetNamedItem(attributeName);
			attrTemp.InnerText = newValue;
		}