def _getText(nodelist):
    """ returns collected and stripped text of textnodes among nodes in nodelist """
    rc = ""
    for node in nodelist:
        if node.nodeType == node.TEXT_NODE:
            rc = rc + node.data
    return rc.strip()
 returns collected and stripped text of textnodes among nodes in nodelist 
recipes/Python/355487_Pickle_PythObjects_DOM_tree_vice/recipe-355487.py