def getTextFromNode(node):
    t = ""
    for n in node.childNodes:
        if n.nodeType == n.TEXT_NODE:
            t += n.nodeValue
        else:
            raise NotTextNodeError
    return t
scans through all children of node and gathers the
dataset/ETHPy150Open agiliq/merchant/billing/utils/xml_parser.py/getTextFromNode