Validating XML against XSD (Custom Error Messages)

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
<p align=left><font face=Arial size=2>Hi All, </font>
<p align=left> 
<p align=left>How can I generate Customized Error Messages while validating an XML file against a XSD? For example, if an element is missing in XML, XSD Validation generates an error. But what if I want to generate a Customized Message like "Product ID" is missing etc.
<p align=left> 
<p align=left>I am using C#. Can anybody has an idea?
<p align=left> 
<p align=left>Thanks...

View the full article
 
Back
Top