I'm trying to persist my MPS model in my solution to XML. Also I'd like to serialize/deserialize it, which means reading and writing.
I don't really want to iterate over my structure with many foreach loops.
So I was wondering if it's possible to map the XML structure to my MPS model, like in Java..(see below)http://stackoverflow.com/questions/15881876/mapping-xml-entities-to-java-objects
Recently I've seen the XmlConverter, which is located in the SampleXmlPersistence project. So I thought a more generic approach is possible with this class. Am I right?
Thanks in advance!