Sign in Join
FPDoc Onlineexperiment

TXMLConfig.InternalCleanNode procedure

Member of TXMLConfigprotectedIn unit Laz2_XMLCfg

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

Declaration

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

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

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