Try OpenEdge Now
skip to main content
ABL Reference
Handle Attributes and Methods Reference : NORMALIZE( ) method
 

NORMALIZE( ) method

Normalizes TEXT and ATTRIBUTE nodes in the full depth of the sub-tree under this XML node.
Return type: LOGICAL
Applies to: X-noderef object handle

Syntax

NORMALIZE ( )
The NORMALIZE( ) method normalizes TEXT nodes by removing empty TEXT nodes and merging adjacent TEXT nodes. Thus, only structure node types (such as ELEMENT, CDATA-SECTION, and so on) separate TEXT nodes. The NORMALIZE( ) method also normalizes white space in ATTRIBUTE nodes according to the rules defined by the XML specification.