'Return the contents of the HTML body.'

def get_body(self, lang=None):

    if (lang is None):
        lang = self.get_lang()
    bodies = self.xml.findall(('{%s}body' % XHTML_NS))
    if (lang == '*'):
        result = OrderedDict()
        for body in bodies:
            body_lang = body.attrib.get(('{%s}lang' % self.xml_ns), '')
            body_result = []
            body_result.append((body.text if body.text else ''))
            for child in body:
                body_result.append(tostring(child, xmlns=XHTML_NS))
            body_result.append((body.tail if body.tail else ''))
            result[body_lang] = ''.join(body_result)
        return result
    else:
        for body in bodies:
            if (body.attrib.get(('{%s}lang' % self.xml_ns), self.get_lang()) == lang):
                result = []
                result.append((body.text if body.text else ''))
                for child in body:
                    result.append(tostring(child, xmlns=XHTML_NS))
                result.append((body.tail if body.tail else ''))
                return ''.join(result)
    return ''
