def process_xml(xml_data, path):
    """Process XML Data

    Args:
        xml_data (Element): XML data from firewall
        path (str): A string containing the path to the expected result

    Returns:
        item_list (list): List of item names
    """
    xml_list = xml_data.findall(path)
    item_list = []
    for item in xml_list:
        item_list.append(item.attrib.get('name'))
    return item_list