My C#/.NET application reads XML files that are manually edited by the users. The allowed elements and tags are described in the application\'s documentation. I\'m using LIN
You can validate xml files against XSD.
Hope this will help...
This article explains all possible ways to validate xml, using C#
How To Validate an XML Document by Using DTD, XDR, or XSD in Visual C# .NET
IMO best option is to use XSD.
Validating Input Xml Data Files