non-compact xml serialization [message #425233] |
Thu, 20 November 2008 07:52  |
Eclipse User |
|
|
|
Originally posted by: angelina.velinska.tuhh.de
Hi all,
I am a newbie in EMF and am trying to find a way to make a non-compact
serialization of a model, where the defaults are not omitted.
I would like to make some queries on the resulting .ecore xml file.
Thanks for your help,
Angelina
|
|
|
|
Re: non-compact xml serialization [message #425385 is a reply to message #425245] |
Sun, 23 November 2008 17:36  |
Eclipse User |
|
|
|
Originally posted by: angelina.velinska.tu-harburg.de
Hi Jason,
thank you for your answer!
Greetings
Angelina
jason henriksen schrieb:
>
> At some point when you're saving your XML you'll have an
> XMLResourceImpl. On that object you need to set an option.
>
> So for example:
>
> myXMLResourceImpl.getDefaultSaveOptions().put(
> XMLResource.OPTION_KEEP_DEFAULT_CONTENT, Boolean.TRUE);
>
>
> Hope that helps,
>
> Jason Henriksen
>
>
> angelina.velinska@tuhh.de wrote:
>> Hi all,
>>
>> I am a newbie in EMF and am trying to find a way to make a non-compact
>> serialization of a model, where the defaults are not omitted.
>> I would like to make some queries on the resulting .ecore xml file.
>>
>> Thanks for your help,
>>
>> Angelina
|
|
|
Powered by
FUDForum. Page generated in 0.06983 seconds