[Overview][Classes][Procedures and functions][Index] |
Searches for the DOM node with the specified path, and updates the node cache.
Source position: laz2_xmlcfg.pas line 93
protected function TXMLConfig.InternalFindNode( |
const APath: string; |
PathLen: Integer; |
CreateNodes: Boolean = False |
):TDOMNode; |
APath |
|
Path specifier for the DOM node. |
PathLen |
|
Length of the path specifier. |
CreateNodes |
|
Indicates if missing DOM nodes in Document are created. |
DOM node located for the specified path.
InternalFindNode is a TDOMNode function used to locate the node stored at the path specified in Document. InternalFindNode ensures that the node cache for the class is updated to include the TDOMNode at APath when it is accessed in the method. It also ensures that all element nodes for the specifier in APath are included in the cache as well. The FindChildNode method is used to locate TDOMNodes in the hierarchy. When CreateNodes is True, any missing DOM nodes in the hierarchy are created.
InternalFindNode is used in the implementation of the GetValue, SetValue, GetListItemCount, DeletePath, and FindNode methods.
|
Ensures a DOM node is present in the internal cache for the class instance. |
|
|
Gets a cached DOM node starting at the specified position in the cache. |
|
|
Finds (and optionally caches) a child node starting at the specified index position using the specified XPath node name and position. |
Version 4.0 | Generated 2025-05-03 | Home |