NativeXml Help
TXmlNode.WriteInteger
procedure WriteInteger(const AName: Utf8String; AValue: integer; ADefault: integer); virtual;
Description
Add or replace the subnode with AName and set its value to represent the integer AValue. If AValue = ADefault, and WriteOnDefault = False, no subnode will be added.