The XSComplexTypeDecl.getAttributeUses also returns attributes belonging to AttributeGroups. I use the XSAttributeDecl.getParent() method to distinguish between the 2 scenarios.
XSAttributeDecl.getParent() method : 1)returns null when the attribute is member of a AttributeGroup 2)returns XSComplexTypeDecl when the attribute is local attribute of a complexType. In Scenario 1 is there a way to find out the parent AttributeGroup. --------------------------------------------------------------------- To unsubscribe, e-mail: j-users-unsubscr...@xerces.apache.org For additional commands, e-mail: j-users-h...@xerces.apache.org