Apr 24, 2012 08:40 PM|manfingram|LINK
I have a web service that receives XML as its input. When this XML is received, I want to compare it to 2 XSD files to see which one it matches, if at all. These 2 XSD files are almost identical except for the targetnamespace.
What is the best way for me to check which XSD file the XML matches? XDocument.Validate() doesn't seem to do the job? Can anyone please offer any suggestions?