'Serialise node, dropping all tags and leaving CDATA intact.
That is effectively kills all formatiing, leaving only text were contained in XML.'

def getCDATA(self):

    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
