I am building an application using Excel VBA to validate xml files against xsd. I used below code snipped and added to my application.
https://stackoverflow.com/a/11709428/8854979
Now, the problem I am facing is, it doesn't provide full list of validation errors, instead it gives me only first error encountered.
While searching on Internet I came to know that I can use 'IXMLDOMParseError2' object with property allErrors, see below;
https://msdn.microsoft.com/en-us/library/ms759143(v=vs.85).aspx
this will give me list of all errors during xml validation.
I just wanted to know how to use this in VBA code.
Any help on this will be highly appreciated.
Thanks you in advance