There are a lot of tutorials that teach on how to validate XML against a schema. But now I want to validate XML syntax only, not against the schema. Meaning I just want to check whether the XML is well-form, that whether there are closing or opening tag that is not done properly.
Is there anyway I can do that in .Net?
Or if you’re on .NET 3.5, you can use
XElement.Load().