Retrieving Data from an Enterprise Architect Model

I'm trying to programmatically extract information from an Enterprise Architect model (stored in an XMI file ) - I need it to generate some reports, but I don't want to go that far to create an EA add-in. Is there a C # XMI parser library anywhere?

I could, of course, generate the XMI parsing code from its XML schema, but that would be my second option.

+5
source share
2 answers

Do you really need XML? EA stores its information in a database (Standard Jet DB alias MS Access format from EA 7.5, despite the extension of its eap file), it should be easily requested. Another way is to use the automation interface (in C # you will need to import Interop.EA) to gain access to all EA repositories, as well as to the created diagrams.

+2
source

Ok, so far I have found that there are different versions of XMI . To quote Wikipedia :

Several versions of XMI were created: 1.0, 1.1, 1.2, 2.0, and 2.1. 2.x version radically different from the 1.x series.

EA 1.1, 2.1, -, XML. , , MI, , XMI .

+2

All Articles