def METHOD_NAME(self, xml: Element) -> None:
    """Load searches from an LXML element."""
    elements = list(xml.iter(self.XML_TAG))
    # Do parent searches first
    for element in elements:
        search_id = element.get('id')
        name = element.get('name')
        query = element.get('query')
        search = SavedSearch(id=search_id, name=name, query=query)
        self.add(search)
        log.debug('Added %s', search)
    for element in elements:
        parent_name = element.get('parent')
        if parent_name and parent_name != 'search':
            tid = element.get('id')
            parent = self.find(parent_name)
            if parent:
                self.parent(tid, parent.id)
                log.debug('Added %s as child of %s', element, parent)