Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » XML Schema Definition (XSD) » Help me plz...
Help me plz... [message #565248] Fri, 14 February 2003 05:24
Eclipse UserFriend
Originally posted by:

It's so hard to use xsd for me.
Can you help me create XSDSchema object that contains this schema?

<xsd:element name = "XIDocument">
<xsd:element name = "PrimaryTable"/>
<xsd:element ref = "Database" minOccurs = "0" maxOccurs = "unbounded"/>

I made something like this code but it didn't work.

XSDSchema schema = XSDFactory.eINSTANCE.createXSDSchema();
XSDElementDeclaration elementDeclaration =
XSDComplexTypeDefinition complexTypeDefinition =

elementDeclaration.getSchema().getContents().add(complexType Definition);
Previous Topic:Any simple way for simple schema?
Next Topic:Help me plz...
Goto Forum:

Current Time: Sat Nov 28 07:52:02 GMT 2015

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

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