System.Xml.WhitespaceHandling Enumeration

Specifies how white space is handled.

Syntax

public enum WhitespaceHandling

Remarks

Significant white space is white space between markup in a mixed content model, or white space within an element that has the xml:space="preserve" attribute. Insignificant white space is any other white space between markup.

Members

Member NameDescription
All

Return Whitespace and SignificantWhitespace nodes. This is the default.

None

Return no Whitespace and no SignificantWhitespace nodes.

Significant

Return SignificantWhitespace nodes only.

Requirements

Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0