XPathSettings.NewlineNormalization PropertyXPathSettings.NewlineNormalization PropertyXPathSettings::NewlineNormalization Property

Gets or sets a value indicating whether the processor will behave as if it normalized all line breaks on input, before parsing.

Syntax

Public Property NewlineNormalization As Boolean
        Get
        Set(ByVal value As Boolean)
public bool NewlineNormalization { get; set; }
public:
property bool NewlineNormalization {
    bool get();
    void set(bool value);
}
 

Property Value

Type: System.BooleanSystem.BooleanSystem::Boolean

trueTruetrue if the processor will behave as if it normalized all line breaks on input; otherwise falseFalsefalse

Remarks

The default value is trueTruetrue.

When parsing XPath expressions embedded in XML, this value should be set to falseFalsefalse since line ending normalization will already have been performed by the XML parser.