def text_getter(obj):
    """
    Return the text of an individual DOM node.
    Parameters
    ----------
    obj : node-like
        A DOM node.
    Returns
    -------
    text : str or unicode
        The text from an individual DOM node.
    """
    return str(obj.text)