Xml.XMLIntf.IXMLNode.Normalize

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Normalize;

C++

virtual void __fastcall Normalize() = 0 ;

Properties

Type Visibility Source Unit Parent
procedure
function
public
Xml.XMLIntf.pas
Xml.XMLIntf.hpp
Xml.XMLIntf IXMLNode

Description

Converts the subtree beneath this node to the structure it would have if it were just loaded from a document.

Use the IXMLNode interface to call the protected Normalize method. Normalize consolidates adjacent text nodes and remove any empty text nodes in the subtree beneath this node. This method ensures that for all child nodes of this node and of its attributes, only structure nodes (element nodes, comments, processing instructions, CDATA sections, and entity references) separate text nodes and that there are no empty text nodes.

See Also