def findtext(node):
    """Return the text() node for the input `node` or None if no text() is
    found.

    Args:
        node: An lxml etree Element node.
    """
    return next(iter(node.xpath('text()')), None)
