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 #61709] Mon, 20 June 2005 05:34 Go to next message
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!!
Re: How to get the type o element reference ? [message #61732 is a reply to message #61709] Mon, 20 June 2005 10:32 Go to previous message
Eclipse User
Originally posted by: ediouf.genigraph.fr

i have found the response in the post of Srdjian.
Sorry !
Re: How to get the type o element reference ? [message #595716 is a reply to message #61709] Mon, 20 June 2005 10:32 Go to previous message
Eclipse User
Originally posted by: ediouf.genigraph.fr

i have found the response in the post of Srdjian.
Sorry !
Previous Topic:How to get the type o element reference ?
Next Topic:my element is declared in schema A and its type in schema B, how to get its type
Goto Forum:
  


Current Time: Fri Aug 01 18:37:32 EDT 2014

Powered by FUDForum. Page generated in 0.03811 seconds