def extractFieldsFromResult(data):
    '''
        Method that parses Infobel textual information to return a series of attributes.
        
        :return:    a list of i3visio-like objects.
    ''' 
    
    entities = []
    
    # Defining the objects to extract
    fieldsRegExp = {}
    fieldsRegExp["i3visio.fullname"] = "<span class=\"fn\">([^<]*)</span>"
    fieldsRegExp["i3visio.name"] = "    por <strong>[^ ]* ([^<]*)</strong>"        
    fieldsRegExp["i3visio.surname"] = "    por <strong>([^ ]*) "     
    fieldsRegExp["i3visio.location.address"] = "itemprop=\"streetAddress\">([^<]*)</span>"
    fieldsRegExp["i3visio.location.city"] = "addressLocality\">([^<]*)</span>"
    fieldsRegExp["i3visio.location.postalcode"] = "postalCode\">([^<]*)</span>"    
    fieldsRegExp["i3visio.phone"] = "document.write\('([0-9]+)'"        

    for field in fieldsRegExp.keys():
        listRecovered = re.findall(fieldsRegExp[field], data)
        if len(listRecovered) >0:
            aux = {}
            aux["type"]= field
            aux["value"] = listRecovered[0].replace('\xa0', ' ')
            aux["attributes"] = []
            entities.append(aux)
            
    return entities