Home GuiPack RepList Class TReportListView Methods WriteToXMLStream |
|
| See also: CheckIfValidReplist, DataID, LoadFromXMLFile, LoadLinesFromFile (ReportListView), LoadLinesFromFile (RLData), OnPercentDone, ReadFromOpenXMLFile, ReadFromXMLStream, ReadFromXMLString (ReportListView), ReadFromXMLString (RLData), SaveAsXMLFile, WriteToOpenXMLFile, TRepListXmlTag, OnPercentDone (DataTable) |
|
WriteToXMLStream |
 |
| Unit: | SDL_replist |
| Class: |
TReportListView |
| Declaration: |
procedure WriteToXMLStream (OutStream: TStream; CreateHeader: boolean; DataID: string); |
The method WriteToXMLStream writes the data of the report listview to the stream OutStream using XML syntax. If the parameter CreateHeader is TRUE a minimum XML header is generated. CreateHeader should be set to FALSE if the data is to be appended to an existing XML file. The parameter DataID holds a unique user defined 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.
| Hint 1: |
For a sample XML file, see the description of the method SaveAsXMLFile. |
| Hint 2: |
In order to store additional user defined information about the
data you may use the property Comment whose content is stored along
with the report listview contents. |
|