Hello, I am trying to use Xerces-J's XML schema API to parse and analyze a schema. As I am iterating through the XSModel, I get the XSParticle from an XSComplexTypeDefinition and iterate over its terms. I find that I am getting the XSElementDeclaration objects for all elements defined in both in the current complex type definition and the ones in its base types.
How can I distinguish which elements are from the current complex type and which ones are from the base types? Thanks. -- Regards, Nagaraj
