TDOMNode_WithChildren.FindNode function
Finds a DOM node with the specified value in its NodeName property.
Declaration
function FindNode(const ANodeName: DOMString): TDOMNode; overrideArguments
ANodeName | Name for the DOM node to locate in the method. |
Function result
DOM node with a name matching the requested value, or Nil.
Description
FindNode is a method used to search the child nodes in class
instance for the node with the name specified in
ANodeName. The
search is started using the node in
FirstChild, and calls the
CompareName method to compare the value in ANodeNode to the
NodeName property for each child node.
The return value contains the first TDOMNode with a node name that
matches the requested value. The return value is Nil if a node is not
found that matches the requested value, or when the class instance does not
have any child nodes.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
