TXMLConfig.InternalFindNode function
Searches for the DOM node with the specified path, and updates the node cache.
Declaration
function InternalFindNode(const APath: string; PathLen: Integer;
CreateNodes: Boolean=False): TDOMNodeArguments
APath | Path specifier for the DOM node. |
PathLen | Length of the path specifier. |
CreateNodes | Indicates if missing DOM nodes in Document are created. |
Function result
DOM node located for the specified path.
Description
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.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
