'Get/set the value (which is the contents of this element)'

def _value__get(self):

    content = (self.text or '')
    if self.tag.startswith(('{%s}' % XHTML_NAMESPACE)):
        serialisation_method = 'xml'
    else:
        serialisation_method = 'html'
    for el in self:
        content += etree.tostring(el, method=serialisation_method, encoding='unicode')
    return content
