def get_element_occurrences(element):
    """Gets min/max occurrences information of the element

    Args:
        element:

    Returns:

    """
    min_occurs = 1
    max_occurs = 1
    if 'minOccurs' in element.attrib:
        min_occurs = int(element.attrib['minOccurs'])
    if 'maxOccurs' in element.attrib:
        if element.attrib['maxOccurs'] == 'unbounded':
            max_occurs = -1
        else:
            max_occurs = int(element.attrib['maxOccurs'])
    return min_occurs, max_occurs
