c# - XMLSerialization and XML Schema validation -


Is it possible to use XML schema recognition and XMLSerializer simultaneously?

My project currently uses XMLSerializer to validate the schema, we are probing the pricing values ​​such as:

  if (String.IsNullOrEmptE (Person.Name)) throwing new exceptions ();   

Thanks!

I would suggest using XmlValidatingReader to validate schema, please see for an example. .

Comments

Popular posts from this blog

android - How can I execute default sms app? -

jquery .css('text-decoration') doesn't work from parents -

python - sqlite3.OperationalError: near "REFERENCES": syntax error - foreign key creating -