System.Xml.Schema.XmlSchemaExternal.SchemaLocation Property

Gets or sets the Uniform Resource Identifier (URI) location for the schema, which tells the schema processor where the schema physically resides.

Syntax

[System.Xml.Serialization.XmlAttribute("schemaLocation", DataType="anyURI")]
public string SchemaLocation { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

Imported schemas that do not have this attribute allow the imported schema's namespace to be determined by the XML document that is an instance of the containing schema or the application that is processing the schema.

Included schemas use this attribute as the URI reference to the location of a schema document that should be included in the target namespace of the containing schema.

Requirements

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