XML mapping to MPS model

Hello forum!

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!

Regards
msch95
1 comment
I solved it using NodeSerializer/NodeDeserializer from mbeddr.
http://mbeddr.com/platform.html

Serializer (com.mbeddr.mpsutil.serializer)

The serializer used to create the XML representations above is accessible programmatically. The classes are called NodeSerializer and NodeDeserializer
0

Please sign in to leave a comment.