Sign in Join
FPDoc Onlineexperiment

TXMLObjectWriter.Create constructor

Member of TXMLObjectWriterpublicIn unit Laz_XMLStreaming

Constructor for the class instance.

Declaration

pascal
constructor Create(ADoc: TDOMDocument; const APath: string; 
 Append: Boolean)

Arguments

ADoc

TDomDocument instance where the XML content is stored.

APath

Path expression to the node where the XML content is stored.

Append

True to append the content to the root node in the document, False to replace it.

Description

Create is the constructor for the class instance. It provides arguments which identify the XML document where the XML content is stored, an optional path to a node in the document where the content is stored, and a flag to indicate the content is appended to or replaces the content for the root node in the document.

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