def root_to_list(root):
    """takes in etree root node, parses it to a depth-first ordered list
    Arguments: root [element] : root element to be converted to list
    Returns: [list] List of element objects in depth-first order
    """

    return list(root.iter())