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