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