References to attributes in a complex type definition are always to global attribute declarations. You can determine whether an attribute declaration is global by calling XSAttributeDeclaration.getScope().
Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: mrgla...@ca.ibm.com E-mail: mrgla...@apache.org RJ <rjotw...@dag.com> wrote on 03/28/2011 06:20:24 PM: > I want to differentiate between Attributes and AttributeRefs in a > complex type. > The XSComplexTypeDecl.getAttributeUses method returns a list of bothattributes > and attributeRefs. Is there a way to differenciate between them? > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: j-users-unsubscr...@xerces.apache.org > For additional commands, e-mail: j-users-h...@xerces.apache.org