c# - What would be the best way to validate XML? -


I'm looking at XML serialization for C # and it looks interesting I was reading this tutorial

And of course, you can sort it into a list of objects, so I am thinking that to sort it back in the list of objects and then go through each object and Validate it or use it schema, make it serialized and use it with Would it be better to validate by showing it?

Thanks

I think that you But what will depend on, and for what purpose if it is the interface for other systems, there is no proper thought of being valid through XSD because you have to write xsd to write your class with XSD Exe (You can also generate xml or dll from xsd, but this is not accurate). Similarly, to check against XSD if you have XmlReader (appropriately configured),

If you just want legitimate .NET objects, then let me implement an implementation In order to leave the sort form, the exam will be expanded, and some C + write the verification code - perhaps using IDataErrorInfo , or using data-annotation.


Comments

Popular posts from this blog

php - multilevel menu with multilevel array -

c# - TypeConverter in propertygrid only converts from string, not to -

jQuery UI: Datepicker month format -