def textContent(node):
    """Return the text in `node`, including that in the child-nodes. This is the
    equivalence of the text_content() method for HTML nodes, but works for both
    HTML and XML nodes.
    """
    return ''.join(node.itertext())