Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » 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: Thu Sep 19 22:42:07 GMT 2024

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

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

Back to the top