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

TDOMNode.Normalize

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

Declaration

Source position: laz2_dom.pas line 290

public procedure TDOMNode.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

TDOMNode.FirstChild

  

Gets the first child node for the current node.

TDOMNode.NextSibling

  

Next DOM Node at the same level in the DOM tree.

TDOMNode.Flags

  

Provides access to the Node Flags for the DOM Node.

TDOMCharacterData.Data

  

Provides access to the character data in the NodeValue property.


Version 3.2 Generated 2024-02-25 Home