Skip to main content



      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 11:43 Go to next message
Eclipse UserFriend
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 11:44] by Moderator

Re: How to configure the format of the XML files? [message #894613 is a reply to message #894568] Mon, 09 July 2012 15:51 Go to previous messageGo to next message
Eclipse UserFriend
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 03:52 Go to previous message
Eclipse UserFriend
Ok, thanks Ed.
Previous Topic:Constraint with EMF Framework validation
Next Topic:problem with Map and EType Parameter
Goto Forum:
  


Current Time: Sun Aug 31 19:55:50 EDT 2025

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

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

Back to the top