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: [email protected]
E-mail: [email protected]

RJ <[email protected]> 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: [email protected]
> For additional commands, e-mail: [email protected]

Reply via email to