I have xml sent to a web page and I would like to validate against several xsd's, until the file validates. When it validates I would then de able to determine the type of xml file based on what schema managed to validate it.\[code\] List<string> xsdList = new List<string>(); xsdList.Add(_path + @"Handlers\DeviceSpecificHandlers\Schemas\Enquiry.xsd"); xsdList.Add(_path + @"Handlers\DeviceSpecificHandlers\Schemas\FingerDeleted.xsd"); xsdList.Add(_path + @"Handlers\DeviceSpecificHandlers\Schemas\Heartbeat.xsd"); xsdList.Add(_path + @"Handlers\DeviceSpecificHandlers\Schemas\Validation.xsd"); XmlSchemaSet schemas = new XmlSchemaSet(); foreach (string schema in xsdList) { var reader = new StringReader(File.ReadAllText(schema)); schemas.Add("", XmlReader.Create(reader)); } request.Validate(schemas, (o, e) => { match = false; });\[/code\]Can anyone help, the above is what ive cobbled together so far, it currently throws an error 'System.Xml.Schema.XmlSchemaValidationException: The global element 'interface' has already been declared'is there a way to get a return of which schema valiation was a success?