Quantcast
Channel: .NET Mixer
Viewing all articles
Browse latest Browse all 25

Validate XML aganist an XSD in Asp.Net C#

$
0
0
Most of the times when we are working with XML we need to validate the XML file from an XSD file. Here i am showing an code example how one can validate XML file using an XSD in Asp.Net C#. To do that add an aspx page in your project. Now under Page_Load event write the below code: using System; using System.Xml; using System.Text; using System.Xml.Schema; public partial class

Viewing all articles
Browse latest Browse all 25

Trending Articles