Input is xml as a string and I have a XSD schema to verify against.
I wish to validate the xml against the XSD schema while loading the xml into an XDocument (requirement since I need to do parsing with Linq afterwards).
Anyone has a small code-snippet?