On Mon, 7 Feb 2000, Stefanus Du Toit wrote:

> Hi,
> 
> I have been using dia for a while now to create UML diagrams for various
> C++ projects of mine - I must say, it's very nice and has matured very
> well. Thanks!
> 
> I'm wondering whether there is any interest in writing some kind of UML ->
> source code converter (I would be very interested in getting something
> like that going for C++/Python, even Perl) that supports the XML output
> generated by Dia.
> 
> It shouldn't be all that hard, thanks to the output being in XML. If there
> is such an effort already started, I would appreciate any pointers to
> it. Otherwise I'll probably start a dia->c++ conversion tool of my own.
> 

There is a standard XML DTD for UML. It is called XMI, and it is
  intended to enable the separation of the code generator from the
  diagraming utility. (e.g., use dia to draw the UML diagram, dump
  it in XMI format, grab a separate XMI to C++ converter, and use that to 
  generate C++.) 

However, I do not know if dia's XML form of UML is actually XMI.

Reply via email to