def get_xml_node_value (root, name):
    """
    return the value from an XML node, if it exists
    """
    node = root.find(name)

    if node:
        return node.text
    else:
        return None