Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » XML Schema Definition (XSD) » Newbie question
Newbie question [message #30138] Thu, 25 September 2003 09:38 Go to next message
Eclipse UserFriend
Originally posted by: rob.tice.k-int.com

Is there a simple way to programatically obtain info from the XSDSchema
about what is the 'top level' element reference within the schema. i.e. the
element that would be the root of the xml document.

Regards

Rob Tice
rob.tice@k-int.com
Re: Newbie question [message #30171 is a reply to message #30138] Thu, 25 September 2003 09:45 Go to previous message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Rob,

Any element returned by XSDSchemaDeclaration.getElementDeclarations is a global
element declaration that may be the root of a document (except for those for
which XSDElementDeclaration.isAbstract is true).


Robert Tice wrote:

> Is there a simple way to programatically obtain info from the XSDSchema
> about what is the 'top level' element reference within the schema. i.e. the
> element that would be the root of the xml document.
>
> Regards
>
> Rob Tice
> rob.tice@k-int.com
Re: Newbie question [message #578391 is a reply to message #30138] Thu, 25 September 2003 09:45 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 31366
Registered: July 2009
Senior Member
Rob,

Any element returned by XSDSchemaDeclaration.getElementDeclarations is a global
element declaration that may be the root of a document (except for those for
which XSDElementDeclaration.isAbstract is true).


Robert Tice wrote:

> Is there a simple way to programatically obtain info from the XSDSchema
> about what is the 'top level' element reference within the schema. i.e. the
> element that would be the root of the xml document.
>
> Regards
>
> Rob Tice
> rob.tice@k-int.com


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Newbie question
Next Topic:xsd errors
Goto Forum:
  


Current Time: Wed Aug 12 21:49:24 GMT 2020

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

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

Back to the top