XmlNode -> Schema -> Object

B

Brad Quinn

I apologize, this question pertains to WebServices only indirectly.

Lets say I have an XmlNode that validates against some schema. I also have
a class that was generated by the xsd tool using said schema.

What is the best way to get from an XmlNode to an instance of the class?

I would really like to make the class be a parameter to a WebMethod, but the
schema is more rigorous than the class definition.

I'm not sure what to do here.
 
D

Dino Chiesa [MSFT]

For an answer, check the response to the cross-post in
microsoft.public.dotnet.xml
 

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

Members online

Forum statistics

Threads
473,743
Messages
2,569,478
Members
44,898
Latest member
BlairH7607

Latest Threads

Top