docs: def _setContent(self):
          '''GED defines element name, so also define typecode aname
          '''
          kw = KW.copy()
          try:
              kw.update(dict(klass=self.getClassName(),
                         element='ElementDeclaration',
                         literal=self.literalTag(),
                         substitutionGroup=self._substitutionGroupTag(),
                         schema=self.schemaTag(), 
                         init=self.simpleConstructor(),
                         ns=self.ns, name=self.name,
                         aname=self.getAttributeName(self.name),  
                         baseslogic=self.getBasesLogic(ID3),
                         #ofwhat=self.getTypecodeList(),
                         #atypecode=self.attribute_typecode,
                         #pyclass=self.getPyClass(),
                         alias=NAD.getAlias(self.sKlassNS),
                         subclass=type_class_name(self.sKlass),
                         ))
          except Exception, ex:
              args = ['Failure processing an element w/local complexType: %s' %(
                            self._item.getItemTrace())]
              args += ex.args
              ex.args = tuple(args)
              raise
          
          if self.local:
              kw['element'] = 'LocalElementDeclaration'
          
          element = [
              '%(ID1)sclass %(klass)s(%(element)s):',
              '%(ID2)s%(literal)s',
              '%(ID2)s%(schema)s',
              '%(ID2)s%(substitutionGroup)s',
              '%(ID2)s%(init)s',
              '%(ID3)skw["pname"] = ("%(ns)s","%(name)s")',
              '%(ID3)skw["aname"] = "%(aname)s"',
              '%(baseslogic)s',
              '%(ID3)s%(alias)s.%(subclass)s.__init__(self, **kw)',
              '%(ID3)sif self.pyclass is not None: self.pyclass.__name__ = "%(klass)s_Holder"',
              ]
  
          self.writeArray(map(lambda l: l %kw, element))