8. The computer readable medium of claim 6 , wherein generating said XML schema fragment comprises: identifying a first set of local element declarations or element references contained within said complex type definition to which said rendering option is applicable; identifying a second set of local element declarations or element references contained within one or more groups referenced by group references in said complex type definition to which said rendering option is applicable; and for each local element declaration or element reference in said first set and said second set, determining a target namespace of a current local element declaration or of a global element declaration referenced by a current element reference and generating an attribute declaration based on said determining.
6. The computer readable medium of claim 1 , wherein said XML entity is a local element declaration of simple type or an element reference referencing a referenced global element declaration of simple type, and wherein said wire format specific rendering option specifies that said XML entity is to be rendered as an attribute of an XML element of complex type having a complex type definition which contains said XML entity.