How to serialze intrinsic ids as attributes? [message #1488065] |
Wed, 26 November 2014 04:33  |
Eclipse User |
|
|
|
Hello,
I am trying to convert a legacy xml format into an EMF model.
The one problem I face is serializing local references. I have conditions which can reference other conditions.
EMF would serialize this as:
<condition varName="cond1"/>
<condition varName="cond2">
<condition>cond1</condition>
</condition>
But I need to parse something like that:
<condition varName="cond1"/>
<condition varName="cond2">
<condition vaName="cond1"/>
</condition>
Is there a way to tell EMF to store a reference not as content of an element but as an attribute of that element?
Thanks
Jan R.
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04632 seconds