xmi

Extracting data from Enterprise Architect model

I'm trying to programmatically extract information from an Enterprise Architect model (saved in an XMI file) - I need it to generate some reports, but I don't want to go so far as to create an EA add-in. Is there a C# XMI parser library anywhere? I could of course generate XMI parsing code from its XML schema, but that would be my secon...

How to convert from UML 1.3 - XMI 1.1 to UML 2.1 XMI

I am trying to convert UML 1.3 - XMI 1.1 file exported from PowerDesigner to UML 2.1 XMI Interchange Model from Rational Software Architect. ...

Eclipse Modelling Framework (EMF): How to get the DomainModel from a Magicdraw UML2 Export

Hi, I want to use the EMF for Code Generation, so I wrote some methods to load my UML2 File which I generated myself. This works fine with the following code: protected void registerResources() { resourceSet.getPackageRegistry().put(UMLPackage.eNS_URI, UMLPackage.eINSTANCE); resourceSet.getResourceFactoryRegistry().getExtensio...

xmi metadata interchange/uml

One of the purposes for XMI (XML Metadata Interchange) is to allow and easy interchange of metadata between UML modeling tools and MOF- based metadata repositories in distributed heterogeneous environments. Although XMI standard has been designed for the above mentioned purpose, it has been largely ineffective in the interchange of UML 2...

XML to XML translation in Java

I need to translate from XMI to OWL (XML/RDF serialized) in Java, so essentially this is XML to XML translation and most probably I could just play with regex and use replaceAll to what I need, but that seems very messy way to do it. What would you suggest so that it will be easily customizable later (my OWL model might change slightly i...

How to read XMI?

I need to read UML diagrams that are serialized into XMI. Is there any library that would allow me to conveniently read UML XMI - by conveniently I mean having some methods to iterate over classes/packages/methods/attributest etc. in model. I tried EMF, but I am unable to find any tutorial that would show how to import XMI containing UM...

Difference between XML and XMI?

Can some one shed some light on the difference between XML and XMI? Can XMI be used in place of XML? ...

Generating XMI or graphic UML diagrams (not code documentation) in C#.NET

Is there any solution available for generating UML diagrams (or at least XMI files) in C#.NET? Bear in mind that I don't want to reverse engineer my code but automate UML diagrams generation (different kind of them, mostly component diagrams). ...

Does any MOF implementation exist in C++?

Is there any alternative to JMI for C++? Thanks for the links or suggestions. ...

Need to read XMI file through java code without using any tool (like argouml)

Hi All, Is there any way i can read an XMI file by writing java code rather that using nay tool(like EMF, MDI etc)? I want to write a java program which can read all the classes and attributes in an xmi file and then load then in the memory. Please help. ...