Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » XML Schema Definition (XSD) » DocumentRoot
DocumentRoot [message #598321] Thu, 06 July 2006 19:13
Eclipse UserFriend
Originally posted by: gui.le.conquerant.com

Hiya group,

I am using XSD along with EMF to generate a java-based model, latekly
used in a GEF-based tool.

Is there a way to tell, in the XML Schema, which element is the document
root? What I need, is to make an 'existing' element the document root.

"ecore:documentRoot" seems to be the solution except that it creates an
extra class in the model. I have tried to make ecore:documentRoot point
to an exising xsd element, but a new class gets generated as well.

Thanks in advance,

Gui
Previous Topic:Probblem with XSD generated model editor
Next Topic:DocumentRoot
Goto Forum:
  


Current Time: Thu Mar 28 11:46:54 GMT 2024

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

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

Back to the top