NativeXml Help
TXmlNode.AttributeValueByName
property AttributeValueByName [const AName: Utf8String]: Utf8String;
Description
Get the value of an attribute with name AName. If no attribute is present, an empty string is returned. When setting this value, an attribute is created if it does not yet exist.