NativeXml Help
TNativeXml.WriteOnDefault
property WriteOnDefault: boolean;
Description
Set WriteOnDefault to False if you do not want to write default values to the XML document. This option can avoid creating huge documents with redundant info, and will speed up writing.