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

TDOMElement.Normalize

Performs normalization for Text nodes and Attributes in the DOM Element.

Declaration

Source position: laz2_dom.pas line 634

public procedure TDOMElement.Normalize; override;

Description

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

TDOMNode.Normalize

  

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


Version 3.2 Generated 2024-02-25 Home