def METHOD_NAME(xml_document):
    """Parse locate xml document from requesting GeoServer.
    :param xml_document: XML document from GeoServer returns.
    :type xml_document: basestring
    :returns: A list of farm ID.
    :rtype: list
    """
    xmldoc = minidom.parseString(xml_document)
    farm_ids = []
    try:
        wfs_xml_features = xmldoc.getElementsByTagName('wfs:member')
        for wfs_xml_feature in wfs_xml_features:
            id_tag = settings.FARM_WORKSPACE + ':' + settings.FARM_ID_COLUMN
            farm_id_xml = wfs_xml_feature.getElementsByTagName(id_tag)[0]
            farm_id = farm_id_xml.childNodes[0].nodeValue
            farm_ids.append(farm_id)
        return farm_ids
    except IndexError:
        return farm_ids