NativeXml Help
TXmlNode.AttributeAdd
procedure AttributeAdd(const AName: Utf8String; const AValue: Utf8String); overload;
Description
Use this method to add an attribute with name AName and string value AValue to the node. AName and AValue must be UTF8 encoded.