Sign in Join
FPDoc Onlineexperiment

TXMLConfig.WriteXMLFile procedure

Member of TXMLConfigprotectedIn unit Laz2_XMLCfg

Writes XML configuration data in Document to the specified file name.

Declaration

pascal
procedure WriteXMLFile(ADoc: TXMLDocument; const AFileName: string)
 ; virtual

Arguments

ADoc

Document with the XML content written in the method.

AFileName

File name where the XML content is stored.

Description

WriteXMLFile is a procedure used to write the XML content in the Document property to the file specified in AFilename. WriteXMLFile calls the WriteXMLFile routine in LazUtils to write the XML content using the WriteFlags defined in the class instance. The InvalidateFileStateCache routine is called to invalidate a file cache entry for the specified file name.

Use WriteToSteam to store the XML content in Document to a TStream instance.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.