Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » XML Schema Definition (XSD) » finding the root
finding the root [message #3141] Wed, 09 October 2002 21:13 Go to next message
Eclipse UserFriend
Originally posted by: tedx.vincera.com

I've loaded a xsd and want to generate a xml file that corresponds to the
structure it defines. What is the best way to determine the root type for
the xml doc?
Re: finding the root [message #3175 is a reply to message #3141] Fri, 11 October 2002 15:14 Go to previous message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Ted,

Any global element declaration of a schema can be a root element for a
document; xsdSchema.getElementDeclarations() returns them all.

Ted wrote:

> I've loaded a xsd and want to generate a xml file that corresponds to the
> structure it defines. What is the best way to determine the root type for
> the xml doc?

--
Ed Merks
Re: finding the root [message #562867 is a reply to message #3141] Fri, 11 October 2002 15:14 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33218
Registered: July 2009
Senior Member
Ted,

Any global element declaration of a schema can be a root element for a
document; xsdSchema.getElementDeclarations() returns them all.

Ted wrote:

> I've loaded a xsd and want to generate a xml file that corresponds to the
> structure it defines. What is the best way to determine the root type for
> the xml doc?

--
Ed Merks


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:finding the root
Next Topic:Fwd: Javadoc comment; finding non-schema attributes
Goto Forum:
  


Current Time: Wed Sep 25 16:54:00 GMT 2024

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

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

Back to the top