SDMetrics home page
The Software Design Metrics tool for the UML

Parsing the XMI Extensions of Enterprise Architect

January 2, 2018, Jürgen Wüst. Category: Announcements,Tips & Tricks

SDMetrics 2.35 introduces a small extension to the XMI parser. Assume we need to access information such as the author or a documentation string from the XMI extension part of Enterprise Architect. This information is encoded as follows: <uml:Model xmi:type=”uml:Model” name=”EA_Model” visibility=”public”> <packagedElement xmi:type=”uml:Package” xmi:id=”4A3564″ name=”test” visibility=”public” /> </uml:Model> <xmi:Extension extender=”Enterprise Architect” extenderID=”6.5″> <elements> <element… [Continue reading]