NativeXml Help
TNativeXml.CreateName
constructor CreateName(const ARootName: Utf8String; AOwner: TComponent);
Description
Use CreateName to Create a new Xml document that will automatically contain a root element with name ARootName. This constructor also adds the default declaration. With default AOwner = nil, there is backward compatibility with legacy NativeXml