|The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....|
|Home BasePack DStruct Class TStringArray Methods SaveAsXMLFile|
|See also: LoadFromXMLFile, WriteToOpenXMLFile, ReadFromOpenXMLFile|
The method SaveAsXMLFile stores the contents of the string array as an XML file on the disk. The parameter FName specifies the name of the file to be generated, the parameter DataID holds a unique identifier which is stored as the attribute "id " of the <strarray> tag. For a detailed description of the generated tags please see the method WriteToOpenXMLFile.
Please note that the data of the string array is stored using the current sort order. Thus it is recommended to perform an UnSort before saving the data.