System.Xml.Schema.XmlSchemaSet.XmlResolver Property

Sets the System.Xml.XmlResolver used to resolve namespaces or locations referenced in include and import elements of a schema.

Syntax

public System.Xml.XmlResolver XmlResolver { set; }

Value

Documentation for this section has not yet been entered.

Remarks

The System.Xml.XmlResolver of an System.Xml.Schema.XmlSchemaSet is used to resolve namespaces or locations referenced in include and import elements of a schema, any time a schema is added using the erload:System.Xml.Schema.XmlSchemaSet.Add or XmlSchemaSet.Reprocess(XmlSchema) methods.

Note:

External namespaces or locations referenced in include, import, and redefine elements of a schema are resolved with respect to the base URI of the schema that includes or imports them. For example, if the base URI of the including or importing schema is empty or null, the external locations are resolved with respect to the current directory. The System.Xml.XmlUrlResolver class is used to resolve external schemas by default. To disable resolution of include, import, and redefine elements of a schema, set the XmlSchemaSet.XmlResolver property to null.

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