[Overview][Classes][Procedures and functions][Index] |
Retrieves the DOM node with the specified path.
Source position: laz2_xmlcfg.pas line 139
public function TXMLConfig.FindNode( |
const APath: string; |
PathHasValue: Boolean |
):TDOMNode; |
APath |
|
Path to the DOM node retrieve in the method. |
PathHasValue |
|
Indicates if the path is checked for a value. |
DOM node stored at the specified path.
FindNode is a TDOMNode function used to retrieve the DOM node stored at the path specified in APath in the Document instance. FindNode calls InternalFindNode to locate the DOM node used as the return value for the method.
APath contains the path specifier used to locate the DOM node. It contains the hierarchy of elements and attributes needed to access the DOM node, as described in TXMLConfig Path Syntax.
PathHasValue indicates if APath includes a specifier for the attribute where the value is stored. When PathHasValue is True, the trailing path identifier (for the attribute name) is removed from APath. Otherwise, the value in APath is used in its unmodified state.
FindNode is used in the implementation of the DeleteValue, GetChildCount, HasPath, and HasChildPaths methods.
|
Deletes the value stored in the DOM node at the specified path. |
|
|
Gets the number of child nodes used in the DOM node at the specified path. |
|
|
Indicates if a DOM node exists for the specified path. |
|
|
Indicates if the DOM node at the specified path has child nodes. |
Version 4.0 | Generated 2025-05-03 | Home |