XmlException if an attribute with the same expanded name {uri,local} already exists.void addAttribute(string qname, string value, XmlLocation location = XmlLocation.init) @safeAdds an attribute.
qname | Attribute QName. |
value | Attribute value. |
location | Optional location in the source XML. |
XmlException if an attribute with the same expanded name {uri,local} already exists.