def getCDATA(self):
        """ Serialise node, dropping all tags and leaving CDATA intact.
            That is effectively kills all formatiing, leaving only text were contained in XML.
        """
        s = ""
        cnt = 0
        if self.kids:
            for a in self.kids:
                s=s+self.data[cnt]
                if a: s = s + a.getCDATA()
                cnt=cnt+1
        if (len(self.data)-1) >= cnt: s = s + self.data[cnt]
        return s
 Serialise node, dropping all tags and leaving CDATA intact.
            That is effectively kills all formatiing, leaving only text were contained in XML.
        
chrome-cordova/gcmServer/xmpp/simplexml.py