Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » How to configure the format of the XML files?
How to configure the format of the XML files? [message #894568] Mon, 09 July 2012 15:43 Go to next message
Iban Ayestaran is currently offline Iban AyestaranFriend
Messages: 58
Registered: September 2011
Member
Hello everybody,

Is it a way to configure how the EMF saves the XML files?

The thing is that my EMF project now saves some of the classes in the XML files in this format:
...
<Source>testcase1_src/Task.h</Source>
<Source>testcase1_src/Task.c</Source>
...

But I would prefer to be saved like this:
...
<Source Name="testcase1_src/Task.h" />
<Source Name="testcase1_src/Task.c" />
...


Is there a way to do it?

Thanks in advance,

Iban

[Updated on: Mon, 09 July 2012 15:44]

Report message to a moderator

Re: How to configure the format of the XML files? [message #894613 is a reply to message #894568] Mon, 09 July 2012 19:51 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 30692
Registered: July 2009
Senior Member
Iban,

No there's no way to force that style without intermediate contained
EObjects with a Name attribute.

On 09/07/2012 5:43 PM, Iban Ayestaran wrote:
> Hello everybody,
>
> Is it a way to configure how the EMF saves the XML files?
>
> The thing is that my EMF project now saves some of the classes in the
> XML files in this format:
>
> ..
> <Source>testcase1_src/Task.h</Source>
> <Source>testcase1_src/Task.c</Source>
> ..
>
>
> But I would prefer to be saved like this:
>
> ..
> <Source Name="testcase1_src/Task.h" />
> <Source Name="testcase1_src/Task.h" />
> ..
>
>
> Is there a way to do it?
>
> Thanks in advance,
> Iban
Re: How to configure the format of the XML files? [message #894697 is a reply to message #894613] Tue, 10 July 2012 07:52 Go to previous message
Iban Ayestaran is currently offline Iban AyestaranFriend
Messages: 58
Registered: September 2011
Member
Ok, thanks Ed.
Previous Topic:Constraint with EMF Framework validation
Next Topic:problem with Map and EType Parameter
Goto Forum:
  


Current Time: Sat Dec 14 21:07:02 GMT 2019

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

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

Back to the top