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 05: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: Sat Aug 23 07:29:43 EDT 2014

Powered by FUDForum. Page generated in 0.02232 seconds