skorpk
skorpk

Reputation: 432

XML Validate. Get error numbers

How can i catch error code when validate XML document with XSD schema?

Upvotes: 1

Views: 244

Answers (1)

Kirill Polishchuk
Kirill Polishchuk

Reputation: 56172

You can catch it in delegate ValidationEventHandler which you pass to Validate method.

Reference: http://msdn.microsoft.com/en-us/library/bb340331(v=vs.90).aspx

Upvotes: 2

Related Questions