I recently wanted to evolve one of my EMF models. I started writting Java code for translating the EMF model and tweeted about this.
Seems like their are several very good options available for translating EMF models:
Even though ALT and COPE looked very interesting I always wanted to learn how to create my own XSLT style sheets (after all I’m a big Docbook user and David Carver was kind enough to took my XSLT Ant task as a starting point for the Ant task in the Eclipse XSL project).
In addition I believe XSLT can also be handy for me for other transformations in the future
Using XSLT was surprisingly easy. I believe one of the reason are the excellent Eclipse XSL Tools.
I only needed to add a few more hierarchies and to change a tag in my EMF model. In case you are interested I have describe the usage of XSLT for such simple cases here: XSLT with Eclipse XSL Tools – Tutorial.
Thanks to André Dietisheim (@adietisheim), Ian Bull (@irbull),David Carver (@kingargyle), BernhardMerkle (@BernhardMerkle) Michael Kay (@michaelhkay) and Jens von Pilgrim (@jensvp) for their help and advice via twitter.