Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » XML Schema Definition (XSD) » EStructuralFeature for the XSDSchema
EStructuralFeature for the XSDSchema [message #594825] Thu, 21 April 2005 12:48
Stanislav Spiridonov is currently offline Stanislav Spiridonov
Messages: 1
Registered: July 2009
Junior Member
Can anybody say me the EStructuralFeature for the XSDSchema? I need to add
XSD type defenitions to WSDL, like this:

<xsd:schema targetNamespace=""
<xsd:element name="GetEndorsingBoarder">
<xsd:element name="manufacturer" type="string"/>
<xsd:element name="model" type="string"/>

So, I do

TTypes types = WsdlFactory.eINSTANCE.createTTypes();
XSDSchema xsdSchema = XSDFactory.eINSTANCE.createXSDSchema();
//Some code here
EStructuralFeature feature = ...;
types.getAny().add(feature, schema)

What I may use instead "..."?

Previous Topic:How to check if a simple type is a restriction of a base type ?
Next Topic:Problem when casting a XSDTerm to a XSDElementDeclaration !!
Goto Forum:

Current Time: Thu Aug 21 14:05:55 EDT 2014

Powered by FUDForum. Page generated in 0.01437 seconds