|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 WriteToOpenXMLFile|
|See also: SaveAsXMLFile, ReadFromOpenXMLFile, LoadFromXMLFile|
The method WriteToOpenXMLFile writes the contents of the string array to an 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 string array data is to be appended to an existing XML file. The parameter DataID holds a unique identifier which is stored as the attribute "id " of the <strarray> tag.
Please note that the data of the string array is stored using the current sort order (which may differ from the original one). Thus it is recommended to perform an UnSort before saving the data.
WriteToOpenXMLFile generates the following tags: