21. The computer readable medium of claim 20 , wherein said rendering option further specifies a target namespace for said additional attribute and wherein said computer-executable instructions further cause said computing device to, if said target namespace for said additional attribute is null or the same as a target namespace of said derived type, add to said derived type a local attribute having said specified attribute name and said specified attribute value.
20. The computer readable medium of claim 19 , wherein (b) comprises, if it is determined in (a) that said target namespace of said referenced global element declaration is null or the same as the target namespace of an XML schema containing said element reference: generating in place of said element reference a new local element declaration with a derived type based on a determined type of said referenced global element declaration.