|
Re: Converting output XMI file to XML [message #513326 is a reply to message #513309] |
Tue, 09 February 2010 18:40 |
Ed Merks Messages: 33140 Registered: July 2009 |
Senior Member |
|
|
Herb,
Comments below.
Herb Miller wrote:
> This may be a dumb question, but I am asking it because my boss wants
> the output of our model to be in XML instead of XMI. I do not know
> why? I thought that XMI already was an XML type file.
What does your boss think is the difference between an XMI file verses
an XML file? It presence of xmi:version="2.0" and
xmlns:xmi="http://www.omg.org/XMI" in the root element is the only
difference.
>
> I have taken a UML diagram from model to RCP stand-alone app using
> Eclipse. Of course the changes in the model are stored as XMI files
> when we run the app. Is there any way I can change this output to XML?
Well it definitely is XML already as you've observed.
> I know I could write a program to convert if necessary, but is there
> something along the path inside Eclipse from EMF model to RCP
> stand-alone where XML can be selected as the desired output format?
I think your boss might be confused. You should ask him some skill
testing questions about the different between XML and XMI. See if he
gives the same answer as above.
>
> It seems like I saw something once that said "Ecore to XML". Is that
> what Ecore to XML does?
>
It helps with migration when the serialization changes significantly
between versions of the same model.
>
> Thanks,
>
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.02861 seconds