TDOMElement.Normalize procedure
Performs normalization for Text nodes and Attributes in the DOM Element.
Declaration
procedure Normalize; overrideDescription
Normalize is an overridden method in
TDOMElement used
to perform normalization for Text and Attribute nodes in the DOM element.
Normalize 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. The same actions are performed for nodes in the Attributes property.
Normalize implements the method defined for the DOM Node interface in the DOM Level 2 Specification.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
