def getPayload(self):
        """ Return the payload of node i.e. list of child nodes and CDATA entries.
            F.e. for "<node>text1<nodea/><nodeb/> text2</node>" will be returned list:
            ['text1', <nodea instance>, <nodeb instance>, ' text2']. """
        ret=[]
        for i in range(max(len(self.data),len(self.kids))):
            if i < len(self.data) and self.data[i]: ret.append(self.data[i])
            if i < len(self.kids) and self.kids[i]: ret.append(self.kids[i])
        return ret
 Return the payload of node i.e. list of child nodes and CDATA entries.
            F.e. for "<node>text1<nodea/><nodeb/> text2</node>" will be returned list:
            ['text1', <nodea instance>, <nodeb instance>, ' text2']. 
chrome-cordova/gcmServer/xmpp/simplexml.py