TDOMNode.CompareName function
Compares the NodeName in the DOM Node to the specified value.
Declaration
function CompareName(const name: DOMString): Integer; virtualArguments
name | Value compared to the NodeName for the DOM node. |
Function result
Difference between the ordinal character values for the first non-matching character in the compared names.
Description
CompareName is an
Integer function used to compare the
value in
NodeName to the value specified in the
name
argument. NodeName and name are converted to DOMPChar types and passed as
arguments an implementation routine used to compare the values.
The return value contains the difference between the ordinal character values for the first non-matching characters in the compared names. When the return value is 0 (zero), the compared values have the same content.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
