Populate xsd generated classes

  • Thread starter Thread starter Oscar Thornell
  • Start date Start date
O

Oscar Thornell

Hi,

I have a rather large structure of XML that I need to work with...
I have constructed a schema, which I then used from xsd.exe to generate C#
classes...ok! no problem!

But what is the best way to populate those classes with my XML?
Does .NET framework have any helper classes for this..or what is the
recommendation?
(I cannot use a Dataset and ReadXml...)

Regards
/Oscar
 
You might be able to use the XMLSerializer, it uses reflection serialize
data in and out of a custom object model.

Chris
 
Back
Top