def child2dict(el):
    """Turns an ElementTree.Element's children into a dict using the node names as dict keys and
    and the node text as dict values

    :Parameters:
        el : ElementTree.Element

    :return: a dictionary of element key(tag name)/value(node text) pairs
    :rtype: dict
    """
    return {c.tag: c.text for c in el}