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 TReportListView Methods ReadFromXMLString | |||||||||
See also: ReadFromXMLStream, LoadFromXMLFile, WriteToXMLStream, OnPercentDone, SaveAsXMLFile, WriteToOpenXMLFile, DataID, LoadLinesFromFile (ReportListView), CheckIfValidReplist, LoadLinesFromFile (RLData), OnPercentDone (DataTable) | |||||||||
ReadFromXMLString |
|||||||||
The function ReadFromXMLString reads the data from the string InString (always starting with the first character of the string). If the parameter DataID is empty, the first <replist> tag is evaluated and read into the report listview. If DataID is not empty, the entire rest of the string 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 ReadFromXMLString returns TRUE if both a valid starting tag <replist> and a valid end tag </replist> has been found and the report listview has been updated. In this case the OnChange event is triggered.
|