'Generates the :class:`NodeLocation` class.'

def _to_location(self, vdc, dc, driver):

    identifier = vdc.findtext('id')
    name = vdc.findtext('name')
    country = dc.findtext('name')
    return NodeLocation(identifier, name, country, driver)
