草庐IT

c# - 针对多个模式验证未知 xml,直到找到匹配项

我已将xml发送到网页,我想针对多个xsd进行验证,直到文件通过验证。当它验证时,我将无法根据设法验证它的模式来确定xml文件的类型。ListxsdList=newList();xsdList.Add(_path+@"Handlers\DeviceSpecificHandlers\Schemas\Enquiry.xsd");xsdList.Add(_path+@"Handlers\DeviceSpecificHandlers\Schemas\FingerDeleted.xsd");xsdList.Add(_path+@"Handlers\DeviceSpecificHandlers\S