def extract_text(data_val):
    if (type(data_val) is not str):
        data_val = data_val['#text']
    if (type(data_val) is str):
        data_val = data_val.strip()
    return data_val
def extract_text(data_val):
    if (type(data_val) is not str):
        data_val = data_val['#text']
    if (type(data_val) is str):
        data_val = data_val.strip()
    return data_val