|Re: Storing xml commets in emf object [message #431653 is a reply to message #431642]
||Mon, 20 July 2009 19:06
| Ed Merks
Registered: July 2009
This has been asked before. Comments are just white space as far as EMF
is concerned while processing the XML. It can appear anywhere within
the element content... I suppose you could record in a map by
specializing the XMLHandler and save it by specializing XMLSaveImpl.
> Hi ,
> I have an xml editor , which helps the user to edit the textual
> representation of my emf model. Then I load this EMF model to use for
> some other views. But these views also can manipulate the model
> through GUI. Users can type xml comments into text editor and save
> .But after that when it's loaded thorough EMF for other views , I am
> loosing xml comments. So I need to find a way to attach this xml
> comments to the EMF objects without altering ecore to have another
> field .
> Anybody knows a solution ?
> Thanks in advance .
Professional Support: https://www.macromodeling.com/
Powered by FUDForum
. Page generated in 0.07428 seconds