I need to create an XML file and send it over to an external client. We have an agreed upon layout with about 100 fields. We have a master layout and within that there is a place to send variables. Something like:
<Request>
<name/>
<email/>
<variabledata>
<variable1> value </variable1>
..
</variabledata>
</Request>
How do I approach this? I want to create an object for the file. I mean something like:
public class Request
string name
string email
and so on and so forth. So my aim is to make sure I can convert the XML into this object and vice versa.
Thanks!