NativeXml Help
TXmlNode.AttributeAdd
procedure AttributeAdd(AAttribute: TsdAttribute); overload;
Description
Use this method to add the attribute AAttribute. AAttribute must be owned by the xml document beforehand.