def _getText(node):
    """
    Arguments:
        node:
            Node to extract the text from.

    Returns:
        Text from the node provided.
    """
    return " ".join(child.data.strip() for child in node.childNodes
                    if child.nodeType == child.TEXT_NODE)