How to get the type o element reference ? [message #61709] |
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!!
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03103 seconds