[Overview][Classes][Procedures and functions][Index] Reference for unit 'Laz2_XMLCfg' (#lazutils)

CompareDomNodeNames

Compares the names for the specified DOM nodes.

Declaration

Source position: laz2_xmlcfg.pas line 178

function CompareDomNodeNames(

  DOMNode1: Pointer;

  DOMNode2: Pointer

):Integer;

Arguments

DOMNode1

  

Pointer to a DOM node examined in the routine.

DOMNode2

  

Pointer to a DOM node examined in the routine.

Function result

Relative sort order for the specified node pointers.

Description

CompareDomNodeNames is an Integer function used to compare the pointers to DOM nodes specified in DOMNode1 and DOMNode2. CompareDomNodeNames calls CompareStr to examine the names in the pointers. The return value contains the relative sort order for the node names as determined in the CompareStr routine.

CompareDomNodeNames is the routine passed as an argument to MergeSortLen in the TNodeCache.RefreshChildren method.

See also

TXMLConfig

  

Implements a class used to access and maintain an XML configuration data file.


Version 4.0 Generated 2025-05-03 Home