Hi Mike

 

There have been a number of discussions on this before. It is not altogether obvious and a JIRA (http://issues.apache.org/jira/browse/XMLBEANS-195) has been raised to look into making it much easier but in the meantime these email threads should help:

 

http://mail-archives.apache.org/mod_mbox/xmlbeans-user/200509.mbox/[EMAIL PROTECTED]

 

http://mail-archives.apache.org/mod_mbox/xmlbeans-user/200508.mbox/[EMAIL PROTECTED]

 

http://mail-archives.apache.org/mod_mbox/xmlbeans-user/200507.mbox/[EMAIL PROTECTED]

 

Cheers,

 

Lawrence

 


From: Mike Skells [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 06, 2005 2:48 PM
To: [email protected]
Subject: [newbe] Navigation from SchemaType to the schema view of the model

 

hi,

I am working with a schema where I need to access the actual structure of the schema. I need to retrieve information from the custom annotations of, for instance the attribyute groups and the groups. 

 

So stating from a SchemaType that represents a complex type, how should I navigate to the SchemaLocalElement or SchemaGlobalElement

 

Also once at a SchemaLocalElement how can I access the content model, to retrieve an annotation on a contained group

(I cannot use the content model of the SchemaType as that has already folded the group into the parent model)

 

The same issues relate to attribute groups etc.

 

I feel like I am missing the plot somewhere

 

 

Mike

Reply via email to