GmlOptionsSchemaLocation Property

Space separated list of URI pairs. First URI in every pair is a URI of the namespace, second URI is a Path to XML schema of the namespace. If set to , GmlDriver will try read schemaLocation from the root element of the document. Default is .

Namespace:  Aspose.Gis.Formats.Gml
Assembly:  Aspose.GIS (in Aspose.GIS.dll) Version: 20.3.0.0 (20.03)
Syntax
public string SchemaLocation { get; set; }

Property Value

Type: String
Remarks
Aspose.GIS uses XML schema of GML file in order to create FeatureAttributeCollection. By defualt, schema location is extracted from schemaLocation attribute. If there is no such attribute or it points to invalid location, Aspose.GIS will fail to read GML file. In this case - set this option, so Aspose.GIS can load schema.
Examples
"http://site.com/namespace http://site.com/schema.xsd"
See Also