1
Automation Interface, Add-Ins and Tools / Re: Generating Custom XML
« on: May 25, 2010, 09:51:05 pm »
Hi,
I think it is not possible in EA to customize the generation of XMI directly. For my XMI format, I had first realized an XSLT transformation to from EA XMI 2.1 to my XMI format, but mine was extremely different. So I needed too many templates and after every change in the EA XMI format, I needed to change my transformation.
So I have written an own export in my addin. Using the EA API I extract the information from the Repository and write it to an DOM tree.
This isn't the best way, but it works.
I think it is not possible in EA to customize the generation of XMI directly. For my XMI format, I had first realized an XSLT transformation to from EA XMI 2.1 to my XMI format, but mine was extremely different. So I needed too many templates and after every change in the EA XMI format, I needed to change my transformation.
So I have written an own export in my addin. Using the EA API I extract the information from the Repository and write it to an DOM tree.
This isn't the best way, but it works.