System.Xml.Schema.XmlSchemaValidator.XmlResolver Property

Sets the System.Xml.XmlResolver object used to resolve xs:import and xs:include elements as well as xsi:schemaLocation and xsi:noNamespaceSchemaLocation attributes.

Syntax

public System.Xml.XmlResolver XmlResolver { set; }

Value

Documentation for this section has not yet been entered.

Remarks

Note:

The XmlSchemaValidationFlags.ProcessInlineSchema and XmlSchemaValidationFlags.ProcessSchemaLocation validation flags of an System.Xml.Schema.XmlSchemaValidator object are not set be default. Additionally, the XmlSchemaValidator.XmlResolver property of an System.Xml.Schema.XmlSchemaValidator object is null by default. As a result, external schemas referenced in include, imports, or redefine elements are not resolved by default.

Requirements

Namespace: System.Xml.Schema
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0