|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 GuiPack RepList Class TRLData Methods WriteToOpenXMLFile|
|See also: LoadFromXMLFile, SaveAsXMLFile, WriteToXMLStream|
The method WriteToOpenXMLFile writes the contents of the TRLData structure 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 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 <replist> tag. If the parameter DataID is empty, the value of the property DataID is used instead of an empty string.
Please note that the data 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: