Saves the current dataset data to a stream in the XML format compatible with ADO format.
procedure SaveToXML(Destination: TStream); overload;
Call the SaveToXML method to save the current dataset data to a file or a stream in the XML format compatible with ADO format.
If the destination file already exists, it is overwritten. It remains open from the first call to SaveToXML until the dataset is closed. This file can be read by other applications while it is opened, but they cannot write to the file.
When saving data to a stream, a TStream object must be created and its position must be set in a preferable value.