def extractFieldValueFromGml(gmlString, labelInit,labelFin):
    """
    Returns the value between two labels in a gml.
    Eliminates spaces at start and end of the returned value
    """
    g=gmlString
    s1=labelInit
    s2=labelFin
    i=g.find(s1)
    f=g.find(s2)
    g2= g[i:f]
    s1=g2.find('>')+1
    g3=g2[s1:]
    return g3.strip()