Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Re: DocumentRoot tag !
Re: DocumentRoot tag ! [message #422436] Fri, 05 September 2008 15:32
Ed Merks is currently offline Ed MerksFriend
Messages: 33143
Registered: July 2009
Senior Member
André,

Please use the EMF newsgroups for EMF questions. I've added it to the
"to" list of the reply.

The model itself will always have a DocumentRoot at the top, but if
you're using the right (the generated one) registered resource factory
the serialization itself won't have such an object...


André Ribeiro wrote:
> Hello,
>
> I am trying to edit an XML file directly from automatically generated
> ECore in my RCP application.
> However for every Ecore automatically generated from an XSD, EMF puts
> a tag DocumentRoot.
>
> I read this http://markmail.org/message/jk6m6rsz6shsomku from Ed, but
> i cannot find any example of an XSD for which EMF doesn't put this
> DocumentRoot tag.
> Is there such an example?
>
> To edit my XML files I am using OpenArchitectureWare's Generic Editor
> with the *.ecore file in the schema location.
>
> Thanks a lot,
> André


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Adding attributes dinamically
Next Topic:Customizing Ecore serialization
Goto Forum:
  


Current Time: Tue Apr 30 15:10:05 GMT 2024

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

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

Back to the top