Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » XML Schema Definition (XSD) » How to get the type o element reference ?
How to get the type o element reference ? [message #595707] Mon, 20 June 2005 09:34
Eclipse User
Originally posted by: ediouf.genigraph.fr

Hi,
i'm trying to get the type of an element reference .
This element reference is defined in another schema.
But every time the value of the type is null.
Suppose the element reference is myElement, here is what i do:
XSDElementDeclaration myElementRef =
myElement.getResolvedElementDeclaration();
XSDTypedefinition elementRefType = myElementRef.getType();

i have tested too with :
XSDTypedefinition elementRefType = myElementRef.getTypeDefinition();

But at every time the value of elementRefType is null.

What is wrong?

Thanks for your reply!!
Previous Topic:XSD schema tree
Next Topic:How to get the type o element reference ?
Goto Forum:
  


Current Time: Tue Oct 21 09:05:27 GMT 2014

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

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