RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IXMLNode.Normalize Method

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

Pascal
procedure Normalize;
C++
__fastcall Normalize();

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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!