File conversion for Dia


Converting file from ArgoUML to Dia is not very straightforward, as ArgoUML files (.zargo extension) are really packages of several files: To convert a diagram from ArgoUML to dia, one has to parse the PGML file, and get any missing bit from the XMI file. Anyway, it is possible to read several XML files from an XSL stylesheet, if the XSL engine is provided with the correct command line arguments. Therefore, my implementation consists in two files: I wrote this translation to work on simple (but not small) class diagrams, and only a very small subset of ArgoUML objects are converted: