@staticmethod
def _mart_from_xml(xml):
    """Extract mart information from XML.

        Parse the xml to extract name and display name of each mart.

        Args:
            xml: ElementTree retrieved from Biomart

        Returns:
            generator for each node in the xml
        """
    for child in xml.findall('MartURLLocation'):
        yield child.attrib['name'], child.attrib['displayName']
