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 LoadFromXMLFile | |||||||||||
See also: CheckIfValidReplist, DataID, LoadLinesFromFile, ReadFromOpenXMLFile, SaveAsXMLFile, OnPercentDone, WriteToOpenXMLFile, OnPercentDone (Mat4D) | |||||||||||
LoadFromXMLFile |
|||||||||||
The function LoadFromXMLFile reads the data of a TRLData structure from the file FName. If the parameter DataID is empty, the first <replist> tag is evaluated and read into the data structure. If DataID is not empty, the entire file is read until a <replist> tag is found whose attribute "id " matches DataID (the recognition of the "id " attribute is not case-sensitive). The property DataID is set to the identification string of the XML data source. The function LoadFromXMLFile returns TRUE if both a valid starting tag <replist> and a valid end tag </replist> has been found.
|