def get_fw_setting(fw_conn, items_xpath):
    """Get FW Setting Info

    Args:
        fw_conn (PanDevice): A panos object for device
        items_xpath (str): The items xpath for the setting

    Returns:
        xml_data (Element): XML data from firewall
    """
    base_xpath = ("/config/devices/entry[@name='localhost.localdomain']"
                  + items_xpath)
    xml_data = fw_conn.xapi.get(xpath=base_xpath)
    return xml_data