Sign in Join
FPDoc Onlineexperiment

TDOMNode.Normalize procedure

Member of TDOMNodepublicIn unit Laz2_DOM

Normalizes text nodes and attributes in the Node sub-tree.

Declaration

pascal
procedure Normalize; virtual

Description

Normalize is a method used to convert child text nodes in the sub-tree to their normal form where only structure nodes separate the text nodes. Adjacent text nodes are combined into a single text node. Adjacent text nodes which contain only ignorable whitespace are consolidated into a single whitespace value.

Normalize implements the method defined for the DOM Node interface in the DOM Level 2 Specification.

See also

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.