TXMLConfig.DeletePath procedure
Deletes the DOM node at the specified path in the Document.
Declaration
procedure DeletePath(const APath: string)Arguments
APath | Path specifier for the DOM node to locate in the Document. |
Description
DeletePath is a procedure used to delete the DOM node at the
specified path in the
Document.
APath contains the path
specifier that describes the hierarchy of elements and attributes needed to
access the DOM node. See
TXMLConfig Path
Syntax for details about path specifiers.
DeletePath calls
InternalFindNode to get the node
removed in the method. The node is removed from its parent DOM node, and the
value in
Modified is set to
True. The
InvalidatePathCache method is called to reflect the change in the
Document.
InternalCleanNode is called to ensure that the node is
removed from the parent DOM node in
Document.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
