Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » 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 09:34 Go to next message
Eclipse UserFriend
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 14:32 Go to previous message
Eclipse UserFriend
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 14:32 Go to previous message
Eclipse UserFriend
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: Tue Apr 16 08:53:14 GMT 2024

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

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

Back to the top