Validating XML tag by tag
- by Greatful
Hi All
I'm having some issues validating some XML against a Schema, using .net and C#.
I am using XmlReaderSettings with the ValidationEventHandler.
However, this seems to stop catching errors after it has encountered the first error at a particular level within the XML file, instead of checking the next tag at the same level, so basically it does not check each and every tag within the XML file instead skipping a level when it has found an error.
I was hoping to get some advice from somebody who has successfully accomplished this type of validation.
Thanks very much