def serialize(self, elt, sw, pyobj, name=None, orig=None, **kw):
        '''elt -- the current DOMWrapper element 
           sw -- soapWriter object
           pyobj -- python object to serialize
        '''
        if pyobj is not None and type(pyobj) not in _seqtypes:
            raise EvaluateException, 'expecting a list or None'

        objid = _get_idstr(pyobj)
        ns,n = self.get_name(name, objid)
        el = elt.createAppendElement(ns, n)
        if self.nillable is True and pyobj is None:
            self.serialize_as_nil(el)
            return None
        
        tc = self.itemTypeCode
        s = StringIO(); sep = ' '
        for item in pyobj:
            s.write(tc.get_formatted_content(item))
            s.write(sep)

        el.createAppendTextNode(s.getvalue())
def serialize ( self , elt , sw , pyobj , name = None , orig = None , ** kw ) : if pyobj is not None and type ( pyobj ) not in _seqtypes : raise EvaluateException , 'expecting a list or None' objid = _get_idstr ( pyobj ) ns , n = self . get_name ( name , objid ) el = elt . createAppendElement ( ns , n ) if self . nillable is True and pyobj is None : self . serialize_as_nil ( el ) return None tc = self . itemTypeCode s = StringIO ( ) ; sep = ' ' for item in pyobj : s . write ( tc . get_formatted_content ( item ) ) s . write ( sep ) el . createAppendTextNode ( s . getvalue ( ) )
elt -- the current DOMWrapper element 
           sw -- soapWriter object
           pyobj -- python object to serialize