NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

XmlNode.Normalize

Puts all XmlText nodes in the full depth of the sub-tree underneath this XmlNode into a "normal" form where only markup (e.g., tags, comments, processing instructions, CDATA sections, and entity references) separates XmlText nodes, that is, there are no adjacent XmlText nodes.

[Visual Basic]
Overridable Public Sub Normalize()
[C#]
public virtual void Normalize();
[C++]
public: virtual void Normalize();
[JScript]
public function Normalize();

Remarks

This method 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 lookups) that depend on a particular document tree structure are to be used.

See Also

XmlNode Class | XmlNode Members | System.NewXml Namespace