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

UpdateElement() public static method

public static UpdateElement ( this xmlDocument, string xpath, string newValue ) : void
xmlDocument this
xpath string
newValue string
return void
		public static void UpdateElement(this XmlDocument xmlDocument, string xpath, string newValue)
		{
			xmlDocument.SelectSingleNode(xpath).InnerText = newValue;
		}