Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » XML Schema Definition (XSD) » XSDParser Question :(
XSDParser Question :( [message #598387] Sat, 22 July 2006 02:40
Spirit is currently offline SpiritFriend
Messages: 15
Registered: July 2009
Junior Member
Hi every one:

I got a question concerning parsing an xsd file with the XSDParser class of
org.eclipse.xsd.

I used the parse method to parse a file and got a XSDSchema, and from the
XSDSchema I got XSDElementDeclarations and XSDTypeDefinitions.

The question is : how can I get the exact content of an
XSDElementDeclarations ? Coz I need to display the tree structor of the
element in a GEF application, so I must get this information.

I know an Element could be got by calling getElement(), but that way I have
to deal with a XML Element, which could be difficult to use since what I
need is the structor of the XSD file.

Any suggestion would be thankful :)
Previous Topic:Why cant an extended type add an attribute
Next Topic:XSDParser Question :(
Goto Forum:
  


Current Time: Fri Nov 28 12:43:04 GMT 2014

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

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