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 SaveAsXMLFile | |||||||||||
See also: CheckIfValidReplist, DataID, ExportHTMLTable (ReportListView), ExportHTMLTable (RLData), LoadFromXMLFile, LoadLinesFromFile (ReportListView), LoadLinesFromFile (RLData), OnPercentDone, ReadFromOpenXMLFile, ReadFromXMLStream, ReadFromXMLString (ReportListView), ReadFromXMLString (RLData), TRepListXmlTag, WriteToOpenXMLFile, WriteToXMLStream, OnPercentDone (DataTable) | |||||||||||
SaveAsXMLFile |
|||||||||||
The method SaveAsXMLFile stores the contents of the report listview 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 <replist> tag. If the parameter DataID is empty, the value of the property DataID is used instead of an empty string. For a detailed description of the generated tags please see the method WriteToOpenXMLFile. Please note that the data of the report listview is stored using the current sort order. Thus it is recommended to perform an UnSort before saving the data.
|