DOMElement.IsEqualNode

Syntax:

IsEqualNode(<Node>)

Parameters:

<Node> (required)

Type: DOMElement.
The compared DOM node.

Returned value:

Type: Boolean.

Description:

Checks whether two nodes are equal (different from identity).
Two DOM nodes are equal if:
Normalization affects equality. To avoid comparison errors, you are recommended to normalize nodes before comparison.
Two DocumentType nodes are equal, if all of the above conditions are met and the following is true:
  • the following properties have equal values: PublicId, SystemId, InternalSubset;
  • entity definition collections are equal;
  • notation collections are equal.

Equality is not affected by:
Note. Anything that is not included in the above list does not affect equality.

Availability:

Server, thick client, external connection, Mobile application (server).

    

1C:Enterprise Developer's Community