XSD Tool?

E

EAI

I am new to XSD tool. I know what its used for but not sure how I can use it
to help me in the present situation.

I will receive a XML which confirms to a Complex schema. I created a class
out of schema. Now I want to use it to easily access members of that schema
so that I can verify/validate some elements. Now how do I load that XML into
Class? Or Am I wrong trying to use XSD for this situation?

Thanks!
 
D

David Browne

EAI said:
I am new to XSD tool. I know what its used for but not sure how I can use
it to help me in the present situation.

I will receive a XML which confirms to a Complex schema. I created a class
out of schema. Now I want to use it to easily access members of that
schema so that I can verify/validate some elements. Now how do I load that
XML into Class? Or Am I wrong trying to use XSD for this situation?

Use an XMLSerializer
http://msdn.microsoft.com/library/d...izationXmlSerializerClassDeserializeTopic.asp

David
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top