[Overview][Types][Classes][Procedures and functions][Index] Reference for unit 'Laz_XMLStreaming' (#lazutils)

TXMLObjectWriter.Create

Constructor for the class instance.

Declaration

Source position: laz_xmlstreaming.pas line 60

public constructor TXMLObjectWriter.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.


Version 4.0 Generated 2025-05-03 Home