'Returns dict, mapping hostname to recipe'

def parse_xml(self, xml):

    log.debug('Parsing    recipes')
    log.debug(('xml    type    is    %s' % type(xml)))
    doc = minidom.parseString(xml)
    recipe_nodes = doc.getElementsByTagName('recipe')
    self.handle_recipes(recipe_nodes)
    log.debug('Parsing    recipes    ok')
    return self.recipes
