def _setContent(self):
kw = KW.copy()<EOL>definition = []<EOL>if self._is_array:<EOL><INDENT>if _is_xsd_or_soap_ns(self.sKlassNS) is False and self.sKlass == '<STR_LIT>':<EOL><INDENT>raise ContainerError('<STR_LIT>'%(self.sKlass, self.sKlassNS))<EOL><DEDENT>definition += ['<STR_LIT>' % (ID1, self.getClassName()),<EOL>'<STR_LIT>' %(ID2),<EOL>'<STR_LIT>' % (ID2, self.schemaTag()),<EOL>'<STR_LIT>' % (ID2, self.typeTag()),<EOL>'<STR_LIT>' % (ID2, self.pnameConstructor()),<EOL>]<EOL>append = definition.append<EOL>if  self._kw_array.get('<STR_LIT>') is None:<EOL><INDENT>append('<STR_LIT>' %(ID3, self.sKlass))<EOL><DEDENT>else:<EOL><INDENT>append('<STR_LIT>' %self._kw_array)<EOL>append('<STR_LIT>' %self._kw_array)<EOL>append('<STR_LIT>' %(ID3, self.sKlass))<EOL><DEDENT>self.writeArray(definition)<EOL>return<EOL><DEDENT>definition += ['<STR_LIT>' % (ID1, self.getClassName()),<EOL>'<STR_LIT>' % (ID2, self.schemaTag()),<EOL>'<STR_LIT>' % (ID2, self.typeTag()),<EOL>'<STR_LIT>' % (ID2, self.pnameConstructor()),<EOL>'<STR_LIT>' % (ID3, self.nsuriLogic()),<EOL>'<STR_LIT>' % (ID3, self.getTypecodeList()),<EOL>]<EOL>definition.append(<EOL>'<STR_LIT>' %{<EOL>'<STR_LIT>':ID3, '<STR_LIT>':self.attribute_typecode}<EOL>)<EOL>isAnyType = (self.sKlassNS, self.sKlass) == (SCHEMA.XSD3, '<STR_LIT>')<EOL>if isAnyType:<EOL><INDENT>del definition[<NUM_LIT:0>]<EOL>definition.insert(<NUM_LIT:0>,<EOL>'<STR_LIT>' % (<EOL>ID1, self.getClassName())<EOL>)<EOL>definition.insert(<NUM_LIT:1>, <EOL>'<STR_LIT>' %(<EOL>ID2)<EOL>)<EOL><DEDENT>definition.append('<STR_LIT>'%(ID3))<EOL>definition.append('<STR_LIT>' %(ID3))<EOL>if len(self.attrComponents) > <NUM_LIT:0>:<EOL><INDENT>definition.append('<STR_LIT>' %(ID3))<EOL>for l in self.attrComponents: <EOL><INDENT>definition.append('<STR_LIT>'%(ID4, l))<EOL><DEDENT><DEDENT>if isAnyType:<EOL><INDENT>definition.append('<STR_LIT>' %(<EOL>ID3),<EOL>)<EOL>definition += self.getPyClassDefinition()<EOL>kw['<STR_LIT>'] = self.getPyClass()<EOL>definition.append('<STR_LIT>' %kw)  <EOL>self.writeArray(definition)<EOL>return<EOL><DEDENT>definition.append('<STR_LIT:%s>'   % self.getBasesLogic(ID3))<EOL>prefix = NAD.getAlias(self.sKlassNS)<EOL>typeClassName = type_class_name(self.sKlass)<EOL>if self.restriction:<EOL><INDENT>definition.append('<STR_LIT>' %(<EOL>ID3, prefix, typeClassName),<EOL>)<EOL>definition.insert(<NUM_LIT:1>, '<STR_LIT>' %ID2)<EOL>self.writeArray(definition)<EOL>return<EOL><DEDENT>if self.extension:<EOL><INDENT>definition.append('<STR_LIT>'%(<EOL>ID3, prefix, typeClassName),<EOL>)<EOL>definition.insert(<NUM_LIT:1>, '<STR_LIT>' %(ID2))<EOL>self.writeArray(definition)<EOL>return<EOL><DEDENT>raise Wsdl2PythonError('<STR_LIT>')<EOL>
JRB What is the difference between instance data
        ns, name, -- type definition?
        sKlass, sKlassNS? -- element declaration?