@staticmethod
def get_xml_element(element, element_name, default=None):
    """
        Method to retrieve the data from the xml tree

        :type element: String
        :param element: The xml element
        :type element_name: String
        :param element_name: The property
        :type default: String
        :param default: What to set default to

        :rtype: String
        :return: A String

        """
    child = element.find('.//{DAV:}' + element_name)
    return default if child is None else child.text
