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 16:48
Stanislav Spiridonov is currently offline Stanislav SpiridonovFriend
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: Fri Oct 21 09:31:39 GMT 2016

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

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