58. The computer-implemented method of claim 55 , wherein said generating said attribute declaration comprises, if said determining determines that, said target namespace of the current local element declaration or referenced global element declaration is different from a target namespace of said complex type definition, and said target namespace of said local element declaration or referenced global element declaration is non-null or an “AttributeFormDefault” attribute of an XML schema containing said complex type definition has a value different from “unqualified”: creating, by said processor, a new global attribute declaration having a type matching a determined type of the current local element declaration or referenced global element declaration and having a target namespace matching a target namespace of the current local element declaration or referenced global element declaration; and adding, by said processor, to said complex type definition an attribute reference referencing said new global attribute declaration.
58. The computer-implemented method of claim 55 , wherein said generating said attribute declaration comprises, if said determining determines that, said target namespace of the current local element declaration or referenced global element declaration is different from a target namespace of said complex type definition, and said target namespace of said local element declaration or referenced global element declaration is non-null or an “AttributeFormDefault” attribute of an XML schema containing said complex type definition has a value different from “unqualified”: creating, by said processor, a new global attribute declaration having a type matching a determined type of the current local element declaration or referenced global element declaration and having a target namespace matching a target namespace of the current local element declaration or referenced global element declaration; and adding, by said processor, to said complex type definition an attribute reference referencing said new global attribute declaration. 59. The computer-implemented method of claim 58 , wherein said rendering option further specifies an overriding attribute name and wherein said creating said new global attribute declaration comprises creating a new global attribute declaration with said overriding attribute name.