HTMLPreElement.IsEqualNode

Syntax:

IsEqualNode(<Node>)

Parameters:

<Node> (required)

Type: HTMLPreElement.
The compared HTMLDOM node.

Returned value:

Type: Boolean.

Description:

Checks whether two nodes are equal (different from identity).
Two HTML 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:

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

    

1C:Enterprise Developer's Community