Hello, I have a simple problem and I can not seem to find an API method that will resolve my problem. Lets say we have two complexTypes A and complexType B. ComplexType B extends the A. Both of the complexTypes have a sequences with a single element. ComplexType A has an element A and ComplexType B has an element b.
Now when I encounter XSComplexTypeDefinition for B since B extends A I will have two elements A, B. When I encounter element A in ComplexType B I would like to somehow know that elementA originates from complexType A and was not defined inside the complexType B. I have not been able to figure out how to do that. When I parse the XSModelGroup if I ask for a compositor there are only two options sequence and choice. However if the model group is obtained by extension It is labeled the same as if the model group is obtained by sequence. Is there a way such that when I encounter an XSElementDeclaration I can exactly know from what complexType it came from if indeed an element is enclosed by the complexType? Thank you for your help Be there when the Web and GIS unite! Register now for GeoWeb 2007 at www.geoweb.org --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]