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....


Declaration:procedure WriteToXMLStream (const OutStream: TStream; CreateHeader: boolean; DataID: string);

The method WriteToXMLStream writes the data of the associative array 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 stream. The parameter DataID holds a unique user defined identifier which is stored as the attribute "id " of the <assocarray> tag. If the parameter DataID is empty, the value of the property DataID is used instead of an empty string.

Last Update: 2012-Oct-20