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

TXMLConfig.InternalCleanNode

Removes the specified node and all of its children from the Document.

Declaration

Source position: laz2_xmlcfg.pas line 95

protected procedure TXMLConfig.InternalCleanNode(

  Node: TDOMNode

);

Arguments

Node

  

DOM Node to remove from the Document.

Description

InternalCleanNode ensures that the specified DOM node is removed from the Document, both as a parent or child node in the element tree. InternalCleanNode calls InvalidatePathCache to reflect the change in the Document, and sets the value in Modified to True.

Remark: No actions are performed in the method when Node is unassigned (contains Nil).

InternalCleanNode is used in the implementation of the DeletePath and DeleteValue methods.

See also

TXMLConfig.DeletePath

  

Deletes the DOM node at the specified path in the Document.

TXMLConfig.DeleteValue

  

Deletes the value stored in the DOM node at the specified path.

TXMLConfig.Document

  

XML document used for the class instance.

TXMLConfig.Modified

  

Indicates if the XML content in the class has been modified.


Version 4.0 Generated 2025-05-03 Home