| Unit: | SDL_datatable |
| Class: |
TDataTable |
| Declaration: |
procedure WriteToOpenXMLFile (const OutFile: TextFile; CreateHeader: boolean; Precision: integer; DataID: string); |
The method WriteToOpenXMLFile writes the contents of the data table to the open text file OutFile using XML syntax. If the parameter CreateHeader is TRUE a minimum XML header is generated. CreateHeader should be set to a FALSE value if the data is to be appended to an existing XML file. The parameter Precision controls the number of decimal places used to store numeric data. The parameter DataID holds a unique identifier which is stored as the attribute "id " of the <datatable> tag.
| Hint: |
For a sample XML file, see the description of the method SaveAsXMLFile. |
|