Mono Class Library: System.Xml.XmlTextReader Overview | Members

System.Xml.XmlTextReader.Normalization Property

Gets or sets a value indicating whether to normalize white space and attribute values. [Edit]

public bool Normalization { set; get; }

Value

A bool where true indicates to normalize; otherwise, false. The default is false. [Edit]

Exceptions

TypeReason
InvalidOperationExceptionWhen attempting to set the property, the current instance has been closed. [Edit]

Remarks

This property can be changed at any time before the current instance has been closed and takes affect on the next read operation.

If XmlTextReader.Normalization is set to false, this also disables character range checking for numeric entities. As a result, character entities, such as " &#0", are allowed.

Note:

See "Attribute-Value Normalization" in the W3C XML 1.0 recommendation, REC-xml-19980210.

[Edit]

Requirements

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