Discuss this help topic in SecureBlackbox Forum

TElXMLDOMNode.Normalize

TElXMLDOMNode     


Filter: C#/Java  VB.NET  Pascal  C++  PHP  


Specifies if the node supports the XML feature.

Declaration

[C#/Java]
    void Normalize();

[VB.NET]
    Sub Normalize()

[Pascal]
    procedure Normalize;

[C++]
    void Normalize();

[PHP]
    void Normalize()

Description

    Puts all Text nodes in the full depth of the sub-tree underneath this Node, including attribute nodes, into a "normal" form where only structure (e.g., elements, comments, processing instructions, CDATA sections, and entity references) separates Text nodes, i.e., there are neither adjacent Text nodes nor empty Text nodes. This can be used to ensure that the DOM view of a document is the same as if it were saved and re-loaded, and is useful when operations (such as XPointer [XPointer] lookups) that depend on a particular document tree structure are to be used.

Discuss this help topic in SecureBlackbox Forum