Is there an easy way to construct class from a XML. The constructed class will be used to serialize and deserialize XML.
I have an XML with lots of properties and elements defined. Do I need to manually create my class based on that XML? Or Is there a utility tool available to generate class from XML
Thanks,
Esen
@Willem van Rumpt: solution helped me to generate class. But in some case when I try to instantiate the dataset, I end up receiving this exception “Same Table cannot be the child table in two nested relations…”
I have tried different solution using xmldocument object to navigate each nodes and generate my class that can be used to serialize and deserialize xml file. Thought to post it here so that it would be helpful to someone who is looking for similar solution. Please post your optimized solution if you have one.
thanks,
Esen