XmlElement.setAttribute
void setAttribute(string qname, string value, XmlLocation location = XmlLocation.init) @safeSets an attribute value, adding the attribute if it does not exist.
Parameters
qname | Attribute QName. |
value | Attribute value. |
location | Optional location in the source XML. |