Net Question Answer site, specially started to allow visitors of this site ask their doubts and queries. Just click the Ask Now button and ask your question now.
The Validation Error method is called if the document being read is found to be invalid or an error occurs (for example, the document cannot be found).
I need to validate my XML file against my XSD to check if the column is mandatory.
As per my understadning i know that there is attribute called min and max occurence, so i need to perform the validation based on this attribute.
It can validate an XML document as it reads and parses the document.
In this example, we demonstrate how to activate such validation.