Skip to main content



      Home
Home » Modeling » Model-to-Model Transformation » ATL : target model
ATL : target model [message #1759353] Mon, 10 April 2017 16:05 Go to next message
Eclipse UserFriend
Hi,
please has anyone an idea how can I get in my output file(.xmi) my 'text' like this:
<myTag> text </myTag>
and not like this <myTag value="text"/>

Can i obtain it with my ATL file, or is it through the ecore file (a particular type for example)
thank you.
Re: ATL : target model [message #1759395 is a reply to message #1759353] Tue, 11 April 2017 04:20 Go to previous messageGo to next message
Eclipse UserFriend
Hi

Resource.save takes an options map keyed by values from XMLResource and similar classes. One of the options probably does what you need. The EMF book probably explains what to do.

Since you are just changing from one valid XML to another valid XML serialization, you should question whether it is really worth the customization.

Regards

Ed Willink
Re: ATL : target model [message #1759671 is a reply to message #1759395] Fri, 14 April 2017 17:54 Go to previous message
Eclipse UserFriend
Hi,
thank you for the reply.
Yes it really worth the customization, because i need it like this format in my output file.
So, as i understand, there is no way to do it with ATL(in the .atl file specifically) ?

[Updated on: Fri, 14 April 2017 22:52] by Moderator

Previous Topic:widely used model transformation languages
Next Topic:[ATL] Ask for help problem rule atl beginnner level
Goto Forum:
  


Current Time: Fri Jul 11 11:23:13 EDT 2025

Powered by FUDForum. Page generated in 0.03720 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top