Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » AM3 » convert XMI to XML
convert XMI to XML [message #1037376] Tue, 09 April 2013 09:25 Go to next message
samar sousou is currently offline samar sousou
Messages: 63
Registered: March 2013
Member
Hi,
I have an XMI file and I want a solution to convert an xmi to an xml!.

thank you.
Re: convert XMI to XML [message #1037417 is a reply to message #1037376] Tue, 09 April 2013 10:29 Go to previous messageGo to next message
Guillaume Doux is currently offline Guillaume Doux
Messages: 56
Registered: July 2009
Member
Hi,

As usual there is no magic, you will need to write a transformation from your metamodel to the xml metamodel and then do the extraction to the xml file.

You can look at this example http://www.eclipse.org/atl/atlTransformations/#Ant2Maven (http://www.eclipse.org/atl/atlTransformations/Ant2Maven/Ant2Maven.zip)

Hope it helps.

PS: No need to cross-post

Guillaume
Re: convert XMI to XML [message #1037436 is a reply to message #1037417] Tue, 09 April 2013 10:57 Go to previous messageGo to next message
samar sousou is currently offline samar sousou
Messages: 63
Registered: March 2013
Member
and how can I do the extraction to the xml file!
Re: convert XMI to XML [message #1037437 is a reply to message #1037436] Tue, 09 April 2013 10:59 Go to previous message
samar sousou is currently offline samar sousou
Messages: 63
Registered: March 2013
Member
my final result should be an XML file note an xmi

[Updated on: Tue, 09 April 2013 11:00]

Report message to a moderator

Previous Topic:[AM3] AM3-Injector "xml to ecore" doesn't work!
Goto Forum:
  


Current Time: Fri Jul 25 18:22:54 EDT 2014

Powered by FUDForum. Page generated in 0.03656 seconds